您的位置:首页 > 运维架构 > Linux

centos7 安装谷歌浏览器

2016-12-15 11:06 281 查看
心疼的无法呼吸,谷歌浏览器放弃了对Redhat和centos的支持也是从别的大佬的博客上看到的

但是还是可以安装的

(操作最好都是在root下)

Step1:创建一个文件

vi /etc/yum.repos.d/google-chrome.repo

里面的内容如下:
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=0
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub这里的gpgcheck=0的意思是不去检查密钥 , 不然总是检测失败

Step2:

yum install google-chrome-stable

Step3:

# wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod u+x install_chrome.sh
# ./install_chrome.sh
最后执行:

# google-chrome &
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: