1.  修改Linux默认语言,以Fedora为例:

        vim /etc/sysconfig/i18n

        修改LANG为:

                        LANG="zh_CN.UTF-8" (中文)

                        LANG="en_US.UTF-8" (英文)


2. 配置yum源(添加上海交大的yum 源)
vim  /etc/yum.repos.d/sjtu.repo  (在yum.repos.d目录下新建sjtu.repo文件并复制下面内容,并保存退出)

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates]
 
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch