歡迎您光臨本站 註冊首頁

CENTOS 6.4 安裝后的配置

←手機掃碼閱讀     火星人 @ 2014-03-25 , reply:0

這幾天沒事玩了幾下,拿出來給大家分享下,我是做桌面系統不是做伺服器,所以很簡單呢!!
Centos 6.4
1. Adobe flash palyer
到官網下載或者安裝RPM文件夾內的RPM包
2.NTFS支持
---------------------------------------------------------------------------------------------------------------------------------
1、 下載rpmforge的rpm文件包

32位系統

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

64位系統

[root@linuxsight linuxsight]# wget http://pkgs.repoforge.org/rpmfor ... 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/rpmfor ... 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.co ... ease-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/i ... 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/f ... se-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
-------------------------------------------------------------------------------------------------------------------------------

[火星人 ] CENTOS 6.4 安裝后的配置已經有673次圍觀

http://coctec.com/docs/linux/show-post-156042.html