zoukankan      html  css  js  c++  java
  • 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

      

  • 相关阅读:
    HDU 3081 Marriage Match II
    HDU 4292 Food
    HDU 4322 Candy
    HDU 4183 Pahom on Water
    POJ 1966 Cable TV Network
    HDU 3605 Escape
    HDU 3338 Kakuro Extension
    HDU 3572 Task Schedule
    HDU 3998 Sequence
    Burning Midnight Oil
  • 原文地址:https://www.cnblogs.com/caidingyu/p/10948337.html
Copyright © 2011-2022 走看看