转载:http://wulujia.com/viewtopic.php?pid=643
装了个CentOS 6.2当桌面,配置如下:
1、repo调整:http://wiki.centos.org/AdditionalResources/Repositories
a.网易镜像
http://mirrors.163.com/.help/centos.html
cd /etc/yum.repos.d/
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
b.Google Chrome
http://www.if-not-true-then-false.com/2 … -hat-rhel/
cat > /etc/yum.repos.d/google-chrome.repo
32位
[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
64位
[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
c.RPMforge
http://rpmfusion.org/Configuration/
x86: rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
x64: rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
d.Adobe
http://blogs.adobe.com/acroread/2008/02 … e_via.html
x86: rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
x64: rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
e.VirtualBox
http://wiki.centos.org/HowTos/Virtualization/VirtualBox
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
f.EPEL
http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
g.fcitx
http://software.opensuse.org/download.h … kage=fcitx
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:hillwood/CentOS_CentOS-6/home:hillwood.repo
h.shutter
http://shutter-project.org/downloads/th … -packages/
rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm
其中EPEL、fcitx、shuuter相关的源,平时可禁用。
i.导入GPG密钥
rpm --import /etc/pki/rpm-gpg/*
二、中文输入法配置
http://www.ha97.com/2680.html
yum install fcitx im-chooser gtk2-immodule-xim -y
imsettings-start fcitx
im-chooser
~/.bashrc
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=xim
export XMODIFIERS="@im=fcitx"
装完后禁用该源。
三、安装其它软件
常用软件:yum install google-chrome-stable flash-plugin vim-X11 p7zip p7zip-plugins shutter -y
装完后禁用shutter使用的源。
命令行工具:yum install expect screen unrar monit sshpass tsocks nc python-pip ftp -y
OpenOffice:yum install openoffice.org-writer openoffice.org-impress openoffice.org-calc -y
音频视频:yum install vlc compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav lsdvd libquicktime a52dec ffmpeg gstreamer-ffmpeg xvidcore libdvdread libdvdnav lsdvd gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly mplayer -y
编译环境:yum install gcc gcc-c++ libtool glibc-devel autoconf automake patch rpm-build -y
Virtualbox:yum install VirtualBox-4.1 gcc kernel-headers kernel-devel dkms -y
四、Chrome登录并安装扩展
Proxy SwitchySharp: https://chrome.google.com/webstore/deta … okoefdjegm
AdBlock: https://chrome.google.com/webstore/deta … m?hl=en-US
Awesome Screenshot: https://chrome.google.com/webstore/deta … e?hl=en-US
YouTube Video Download:http://userscripts.org/scripts/show/62634
五、其它
设置sudo
配置服务、启动项
设置tsocks或VPN
安装Dropbox并同步数据(lan sync可能需要停用防火墙)
字体Hinting用Slight,Antialiasing用Grayscale
拷入备份的.ssh/、.vim/目录和.vimrc等必要的配置文件
安装支付宝插件
Sphinx:easy_install -U Sphinx
keepassx:rpm -Uvh http://elders.princeton.edu/data/puias/ … x86_64.rpm
monit:http://wulujia.com/viewtopic.php?id=361
natuilus设置外观、preview
鼠标设置
改hostname:/etc/sysconfig/network