Centos 7 安装google 浏览器(yum 方式)

过程: 1  vim /etc/yum/repo.s/google_chrome.repo

            2 添加如下内容:

              [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
            

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

           4 root 用户下启动,需要添加参数--no-sandbox

              终端方式:/opt/google/chrome/google-chrome --no-sandbox

              界面方式:找到/usr/share/applications/Google Chrome.desktop,鼠标右键弹出菜单->属性->命令,

                                由原来的字符串/usr/bin/google-chrome-stable %U修改为:再启动

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

 操作步骤参考:https://blog.csdn.net/libaineu2004/article/details/82821405

move on
原文地址:https://www.cnblogs.com/amy720/p/10942509.html