Centos7 安装谷歌浏览器 经测试,好使。
Centos7 安装谷歌浏览器
配置下载yum源
|
1
2
|
cd /etc/yum.repos.dvim google-chrome.repo |
|
1
2
3
4
5
6
|
[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub |
安装
|
1
|
yum -y install google-chrome-stable --nogpgcheck |
复制谷歌浏览器图标到桌面方便打开
|
1
2
|
cd /usr/share/applications/cp /usr/share/applications/google-chrome.desktop /root/Desktop |
在linux环境下:首次打开谷歌浏览器需要做如下配置
解决google-chrome无法启动的问题
问题表现:
双击Google Chrome图标无反应,无法打开浏览器。方法一:
|
1
2
3
|
桌面图标右击-->属性-->启动命令后添加“--no-sandbox”即:/usr/bin/google-chrome-stable %U --no-sandbox |
方法二:
|
1
2
3
4
5
|
vim /usr/share/applications/google-chrome.desktop修改:Exec=/usr/bin/google-chrome-stable %U为:Exec=/usr/bin/google-chrome-stable %U --no-sandbox |
|
1
|
cp /usr/share/applications/google-chrome.desktop /root/Desktop |
浙公网安备 33010602011771号