CentOS 7 安裝Chrome瀏覽器的方法
本文介紹了CentOS 7 安裝Chrome瀏覽器的方法,分享給大家,具體如下:
配置yum下載源:
在目錄 /etc/yum.repos.d/ 下新建文件 google-chrome.repo
[root@localhost ~]# cd /ect/yum.repos.d/ [root@localhost yum.repos.d]# vim google-chrome.repo
編輯google-chrome.repo,內容如下,,編輯后保存退出(:wq)
[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
安裝google chrome瀏覽器:
[root@localhost yum.repos.d]# yum -y install google-chrome-stable
PS: Google官方源可能在中國無法使用,導致安裝失敗或者在國內無法更新,可以添加以下參數(shù)來安裝:
[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck
這樣,google chrome就可在安裝成功。
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。
相關文章
Apache shiro的簡單介紹與使用教程(與spring整合使用)
Apache Shiro是一個強大而靈活的開源安全框架,它能夠干凈利落地處理身份認證,授權,企業(yè)會話管理和加密這篇文章給大家介紹了Apache shiro的簡單介紹與使用教程(與spring整合使用),感興趣的朋友一起看看吧2017-10-10VirtualBox安裝Centos6.8出現(xiàn)E_INVALIDARG(0x80070057)的解決方法
這篇文章主要為大家詳細介紹了VirtualBox安裝Centos6.8出現(xiàn)E_INVALIDARG(0x80070057)的解決方法,具有一定的參考價值,感興趣的小伙伴們可以參考一下2017-07-07用shell命令刪除網(wǎng)站最新nb掛馬的方法與代碼
教你刪除網(wǎng)站最新NB掛馬最近發(fā)現(xiàn) 很多網(wǎng)站被掛了木馬,會在頁面中生成如下代碼。2010-02-02Linux 系統(tǒng)優(yōu)化的一些建議(內核優(yōu)化)
這篇文章主要介紹了Linux 系統(tǒng)優(yōu)化的一些建議,幫助大家更好的使用Linux,感興趣的朋友可以了解下2020-08-08