RHEL 6.2 设置yum源

转载:http://blog.csdn.net/smartdog_1/article/details/7364155
http://wulujia.com/viewtopic.php?pid=643

配置如下:

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


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值