配置下載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