1. 程式人生 > >centos7安裝chrome瀏覽器

centos7安裝chrome瀏覽器

中國 ogl blog check tps .net table ssl 下載源

1.配置yum下載源:

在目錄 /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=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

2. 安裝google chrome瀏覽器:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable
PS: Google官方源可能在中國無法使用,導致安裝失敗或者在國內無法更新,可以添加以下參數來安裝:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck
這樣,google chrome就可在安裝成功。
---------------------
作者:Soul_Feng
來源:CSDN
原文:https://blog.csdn.net/Soul_Feng/article/details/78762277
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!

centos7安裝chrome瀏覽器