一、安装谷歌浏览器1、使用root以suroot2身份登录终端。配置下载yum源cd/etc/yum.repos.dvimgoogle-chrome.repo添加如下内容[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.pub3.安装GoogleChromeyum-yinstallgoogle-chrome-stable--nogpgcheck4。将谷歌浏览器图标复制到桌面,方便打开。我的桌面地址是/home/tao/Desktop。如果你是root用户,修改地址为:/root/Desktopcd/usr/share/applications/cp/usr/share/applications/google-chrome.desktop/home/tao/Desktop5.复制后,如果图形界面不是root用户,你会看到一个锁。这时候就需要添加权限。cd/home/tao/Desktopchmod777*.6。现在您可以在桌面上看到GoogleChrome图标。7.打开我的网站看看。2.解决google-chrome无法启动问题问题表现:双击谷歌浏览器图标无反应,无法打开浏览器(我安装完成启动正常,以下方法未测试)1.方法一:桌面图标右键-->属性-->启动后添加“--no-sandbox”命令:/usr/bin/google-chrome-stable%U--no-sandbox2,方法二:vim/usr/share/applications/google-chrome.desktop修改:Exec=/usr/bin/google-chrome-stable%U为:Exec=/usr/bin/google-chrome-stable%U--no-sandboxcp/usr/share/applications/google-chrome.desktop/root/桌面
