红联Linux门户
Linux帮助

CENTOS 6.4 安装后的配置

发布时间:2013-10-05 21:30:25来源:红联作者:RH204
这几天没事玩了几下,拿出来给大家分享下,我是做桌面系统不是做服务器,所以很简单呢!!
Centos 6.4
1. Adobe flash palyer
到官网下载或者安装RPM文件夹内的RPM包
2.NTFS支持
---------------------------------------------------------------------------------------------------------------------------------
1、 下载rpmforge的rpm文件包

32位系统

[root@linuxsight linuxsight]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm

64位系统

[root@linuxsight linuxsight]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

2、安装rpmforge的rpm文件包

[root@linuxsight linuxsight]# rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm

3、安装ntfs-3g

[root@linuxsight linuxsight]# yum install fuse-ntfs-3g
-------------------------------------------------------------------------------------------------------------------------------3.mplayer
Wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
Yum install mplayer*
Yum install smplayer
Mplayer --- vedio ---xv/x11/xv
-------------------------------------------------------------------------------------------------------------------------------4.鼠标右键添加打开终端
#yum -y install nautilus-open-terminal
重启系统
Shutdown -r now
-------------------------------------------------------------------------------------------------------------------------------
5.yum install gcc*
------------------------------------------------------------------------------------------------------------------------------
6.安装中文环境
Yum gruopinstall “ Chinese Support ”
-------------------------------------------------------------------------------------------------------------------------------
7.配置第三方源
默认centos自带的源少了很多好软件,所以需要添加第三方源
一、安装CentOS yum源优先级插件yum-priorities
yum install yum-plugin-priorities.noarch
二、设置CentOS默认yum源的优先级为最高
cd /etc/yum.repos.d/ #进入yum源目录
vi CentOS-Base.repo #在[base]、[updates]、[extras]组下面添加priority=1,在[centosplus]、[contrib]组下面添加priority=2
################################################################
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2

[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2
###############################################################
备注:priority的优先级为1到99,设置为1即优先级最高,1-10为系统保留,第三方yum源的优先级从11-99

三、安装epel yum源
rpm -ivh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
vi /etc/yum.repos.d/epel.repo #修改epel yum源优先级,priority=11

###############################################################
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=11
#################################################################

四、安装rpmforge yum源
wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm --import RPM-GPG-KEY.dag.txt
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
vi /etc/yum.repos.d/rpmforge.repo #修改rpmforge yum源优先级,priority=12

#################################################################
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=12
#################################################################


五、安装rpmfusion yum源
rpm -ivh http://download1.rpmfusion.org/free/el/updates/testing/6/i386/rpmfusion-free-release-6-0.1.noarch.rpm
vi /etc/yum.repos.d/rpmfusion-free-updates-testing.repo #修改rpmfusion yum源优先级,priority=13

#################################################################
[rpmfusion-free-updates-testing]
name=RPM Fusion for EL 6 - Free - Test Updates
#baseurl=http://download1.rpmfusion.org/free/el/updates/testing/6/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-6&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-6
priority=13
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
#################################################################
六、安装atomic yum源
wget http://www.atomicorp.com/installers/atomic #下载
sh ./atomic #安装
vi /etc/yum.repos.d/atomic.repo #修改atomic yum源优先级,priority=14
##############################################################
[atomic]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com
mirrorlist = http://www.atomicorp.com/mirrorlist/atomic/centos-6-$basearch
#mirrorlist = http://www.atomicorp.com/channels/atomic/centos/6/mirrors-atomic
enabled = 1
priority = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1
priority=14
##############################################################
七、更新yum软件包
yum check-update
-------------------------------------------------------------------------------------------------------------------------------
文章评论

共有 34 条评论

  1. yangyanlong 于 2015-04-28 09:30:24发表:

    学习了

  2. jfjlbt 于 2014-06-29 11:10:17发表:

    学习学习

  3. idfindy 于 2014-06-23 15:37:27发表:

    谢谢分享

  4. jcb1981 于 2014-06-22 17:39:12发表:

    很好,很强大

  5. davemac 于 2014-06-16 10:20:19发表:

    感谢分享,学习啦,

  6. dlchengzi 于 2014-05-07 11:26:20发表:

    很好,很强大!

  7. yzll800 于 2014-03-11 16:43:16发表:

    centos应该是很优秀的发行版本

  8. 463748260 于 2014-02-19 14:51:57发表:

    学习学习

  9. dddxxxlll8888 于 2014-02-17 19:55:00发表:

    学习了。

  10. a363218774 于 2014-02-16 13:52:05发表:

    学习学习

  11. feng123698 于 2014-02-13 17:05:21发表:

    {:3_107:}

  12. chen59326 于 2014-02-07 09:36:43发表:

    学习了

  13. skybai1987 于 2014-01-27 16:07:23发表:

    哥的动作实在太帅了,我对你的景仰,犹如长江之水滔滔不绝,如黄河泛滥一发不可收拾

  14. lijikai047 于 2014-01-23 18:00:19发表:

    学到了

  15. brian00007 于 2014-01-20 10:44:54发表:

    严重学习

  16. chushihua 于 2014-01-12 19:42:28发表:

    thanks

  17. 于 2014-01-09 19:26:49发表:

    :0wpoi2以前一直用的centos,现在用OPENSUSE,

  18. feihong314 于 2014-01-02 13:40:28发表:

    很不错

  19. 于 2013-12-27 15:03:19发表:

    真心不错,谢谢

  20. herb734044860 于 2013-12-25 02:00:23发表:

    :0w5ty(1

  21. davemac 于 2013-12-19 20:10:03发表:

    收藏and学习下,多谢分享。

  22. leaflin 于 2013-12-16 19:08:49发表:

    学习下了。。。。。。

  23. MrYxSen 于 2013-12-04 19:40:52发表:

    灰常给力的

  24. 1aaz 于 2013-11-30 06:20:37发表:

    非常感谢,我正在学习。

  25. m0sk 于 2013-11-29 10:09:05发表:

    真的很不错,解决了我很多问题,谢谢你。

  26. boonya 于 2013-11-11 08:49:18发表:

    :0wpoi2

  27. huziayy1314 于 2013-10-24 11:12:11发表:

    很好很强大

  28. bg4smw 于 2013-10-23 07:47:03发表:

    真的很不错,解决了我很多问题,谢谢你。

  29. zhangshengjing 于 2013-10-20 22:17:15发表:

    0:w(5(

  30. zilanbojue 于 2013-10-09 15:46:02发表:

    (e:e2s(e:e2s(e:e2s

  31. pksophiya 于 2013-10-07 22:36:55发表:

    不错额

  32. Growth兆 于 2013-10-07 15:18:12发表:

    感谢RH204的分享,本贴加入到论坛的Linux应用贴中

  33. 地狱邪目 于 2013-10-07 11:22:19发表:

    本人在此留言均为网络上复制,用于检验本人电脑键盘录入、屏幕显示的机械、光电性能。
    并不代表本人局部或全部同意、支持或者反对楼主观点。

  34. golenuort 于 2013-10-06 08:48:44发表:

    严重学习