CentOS6.2设置163yum源

分类:CentOS教程 阅读:30311 次

原文是基于centos的,由于RHEL6.2和CentOS6.2基本相同,故该源也能用于RHEL6.2,已经测试完全可行。
转载:http://blog.csdn.net/smartdog_1/article/details/7364155

配置如下:

1、repo调整:http://wiki.centos.org/AdditionalResources/Repositories

a.网易镜像

http://mirrors.163.com/.help/centos.html

b.Google Chrome

http://www.if-not-true-then-false.com/2 … -hat-rhel/

32位

64位

c.RPMforge

http://rpmfusion.org/Configuration/

d.Adobe

http://blogs.adobe.com/acroread/2008/02 … e_via.html

e.VirtualBox

http://wiki.centos.org/HowTos/Virtualization/VirtualBox

f.EPEL

http://fedoraproject.org/wiki/EPEL/FAQ#howtouse

g.fcitx

http://software.opensuse.org/download.h … kage=fcitx

h.shutter

http://shutter-project.org/downloads/th … -packages/

其中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 -Uvhhttp://elders.princeton.edu/data/puias/ … x86_64.rpm
monit:http://wulujia.com/viewtopic.php?id=361
natuilus设置外观、preview
鼠标设置
改hostname:/etc/sysconfig/network

把命令大全装进口袋

微信关注