Centos7 安裝谷歌瀏覽器


配置下載yum源

cd /etc/yum.repos.d
vim 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

安裝

yum -y install google-chrome-stable --nogpgcheck

 復制谷歌瀏覽器圖標到桌面方便打開  

cd /usr/share/applications/
cp  /usr/share/applications/google-chrome.desktop  /root/Desktop

 在linux環境下:首次打開谷歌瀏覽器需要做如下配置  

解決google-chrome無法啟動的問題

問題表現:

雙擊Google Chrome圖標無反應,無法打開瀏覽器。方法一:

桌面圖標右擊-->屬性-->啟動命令后添加“--no-sandbox”

即:/usr/bin/google-chrome-stable %U --no-sandbox

  方法二:

vim  /usr/share/applications/google-chrome.desktop

修改:Exec=/usr/bin/google-chrome-stable %U

為:Exec=/usr/bin/google-chrome-stable %U --no-sandbox
cp  /usr/share/applications/google-chrome.desktop  /root/Desktop

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM