Centos 6.0安装笔记

Posted by fishcried on July 13, 2014

Config The Yum

Linux安装后,配置软件源是必须的,选择一个好源,心情才会舒畅。

启用Yum的插件功能

功能强大的软件基本都会支持插件功能。软件设计之处不会考虑到所有需求,而插件拓展正式解决的非常方式

插件功能默认应该是开启的,其查看下文件/etc/yum.conf plugins=1

设置库的优先级

安装优先级控制插件

yum install yum-plugin-priorities
echo 'check_obsoletes=1' >> /etc/yum/pluginconf.d/priorities.conf

配置库的优先级

参见

安装CentOs6.0centos-release-cr仓库

This repository contains rpms to be included in the next CentOs-6.x release. Because these include security and bugfix updates, it should be intalled.

   `yum install centos-release-cr ` 

安装第三方库rpmForge

#i686
yum localinstall -y http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm \
http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm \
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

#x86_64
yum localinstall -y  http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm \
http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm \
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

安装adobe

#list all the repositories
yum repolist all
repo id                 repo name                               status
adobe-linux-i386        Adobe Systems Incorporated              enabled:    16+1
base                    CentOS-6 - Base                         enabled:   4,764
c6-media                CentOS-6 - Media                        disabled
centosplus              CentOS-6 - Plus                         disabled
contrib                 CentOS-6 - Contrib                      disabled
cr                      CentOS-6 - CR                           enabled:       0
debug                   CentOS-6 - Debuginfo                    disabled
extras                  CentOS-6 - Extras                       enabled:       6
rpmforge                RHEL 6 - RPMforge.net - dag             enabled: 4,374+7
rpmforge-extras         RHEL 6 - RPMforge.net - extras          disabled
rpmforge-testing        RHEL 6 - RPMforge.net - testing         disabled
updates                 CentOS-6 - Updates                      enabled:     734

设置sudo

su -
usermod -a -G wheel username

Internet Support

todo

Flash-plugin

su -
yum install flash-plugin -y

PDF Viewing

su -
yum install AdobeReader_chs

安装java

#install the openJdk
su -
yum install java-1.6.0-openjdk java-1.7.0-openjdk java-1.6.0-openjdk-plugin

*if the OpenJDK does not work properly, you can download [[http://www.oracle.com/technetwork/java/javase/downloads/jre-7u4-download-1591157.html |Sun Java]].*

cd path_of_download_jre
su
#32-bits
yum localinstall jre-7u4-linux-i586.rpm
#64-bits
yum localinstall jre-7u4-linux-x64.rpm

安装IRC

`yum install xchat`

安装EMail

`yum install thunderbird thunderbird-lightning`

安装MP3 Players

`yum install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg -y`

安装Media Players

`yum  install -y mplayer mplayer-gui gecko-mediaplayer mencoder`

Reference

http://wiki.centos.org/HowTos