1.安装中文输入法
su - root
yum install "@Chinese Support"
exit
回到桌面,system->preferences->input method
2.安装CentOS yum源优先级插件yum-priorities
yum install yum-priorities
vi /etc/yum/pluginconf.d/priorities.conf
确认文件中有这一行
[main]
enabled=1
3.安装epel
http://dl.fedoraproject.org/pub/epel/6/x86_64/
yum install epel-release-XXX.rpm
4.安装rpmforge yum源
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/
下载rpmforge key
wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
导入rpmforge key
5.安装rpmfusion yum源
rpmfusion-free
http://download1.rpmfusion.org/free/el/updates/6/x86_64/
rpmfusinon-nonfree
http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/
yum install rpmfusion-free-release-XXX.rpm
yum install rpmfusion-nonfree-release-XXX.rpm
6.安装atomic yum源
wget http://www.atomicorp.com/installers/atomic
sh ./atomic
su - root
yum install "@Chinese Support"
exit
回到桌面,system->preferences->input method
2.安装CentOS yum源优先级插件yum-priorities
yum install yum-priorities
vi /etc/yum/pluginconf.d/priorities.conf
确认文件中有这一行
[main]
enabled=1
为了防止一些已经废弃(obsoletes)的包的出现,在这个文件[main]范围内加上
check_obsoletes=1
3.安装epel
http://dl.fedoraproject.org/pub/epel/6/x86_64/
yum install epel-release-XXX.rpm
4.安装rpmforge yum源
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/
下载rpmforge key
wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
导入rpmforge key
rpm --import RPM-GPG-KEY.dag.txt
5.安装rpmfusion yum源
rpmfusion-free
http://download1.rpmfusion.org/free/el/updates/6/x86_64/
rpmfusinon-nonfree
http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/
yum install rpmfusion-free-release-XXX.rpm
yum install rpmfusion-nonfree-release-XXX.rpm
6.安装atomic yum源
wget http://www.atomicorp.com/installers/atomic
sh ./atomic
7.更改计算机名
vi /etc/sysconfig/network
8.配置软件仓库
仓库优先级别
priority的优先级为1到99,设置为1即优先级最高,1-10为系统保留,第三方yum源的优先级从11-99
官方的源推荐配置是
[base], [addons], [updates], [extras] ... priority=1
[centosplus],[contrib] ... priority=2
vi /etc/yum.repos.d/epel.repo #修改epel yum源优先级,priority=11
vi /etc/yum.repos.d/rpmforge.repo #修改rpmforge yum源优先级,priority=12
vi /etc/yum.repos.d/rpmfusion-free-updates-testing.repo #修改rpmfusion yum源优先级,priority=13
vi /etc/yum.repos.d/atomic.repo #修改atomic yum源优先级,priority=14
9.安装GCC编译环境
yum install gcc*
升级gcc kernel
y