you’ll get a warning, but it will proceed based on the flags that you set. warning: rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm : Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
接下来最最重要的就是设置优先级了:
Now you need to edit /etc/yum.repos.d/CentOS-Base.repo and add these priorities to the bottoms of each of the following repo sections:
复制代码
[base]
priority=1
[updates]
priority=1
[extras]
priority=1
Save your changes on this file and edit the rpmforge.repo file. You’ll only need to edit the one repository section.
[rpmforge]
priority=5
Save your changes and you’re finished.
-----------开始更新浏览器版本至firefox18-------------
参考文章:http://www.if-not-true-then-false.com/2011/install-firefox-on-fedora-centos-red-hat-rhel/
备份下先:
tar -cvzf $HOME/mozilla-firefox-profiles-backup.tar.gz $HOME/.mozilla/firefox/
su -
## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
检查有用的版本:
yum --enablerepo=remi list firefox
# 更新或者安装 Mozilla Firefox 18/10
yum --enablerepo=remi update firefox
# 启动 Firefox 18/10
firefox
firefox安装那个flash插件:
去adobe的官网上去下载,选择tar.gz包,解压,得到libflashplayer.so, 把这个文件复制到 /home/username/.mozilla/plugins目录下,重启firefox就行了。要注意的是,libflashplayer.so必须属于指定普通用户。
-------------install google chrome 24------------
sudo vim /etc/yum.repos.d/CentOS-Base.repo
复制代码
[google64]
name=Google – x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
安装稳定版本:sudo yum install google-chrome-stable










