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

      

  • 相关阅读:
    sed 使用总结
    rgmanager 介绍
    linux nbd & qemu-nbd
    corosync基本使用
    svn 基本使用
    tornado 实践
    mysql mac启动
    postgresql
    django
    django
  • 原文地址:https://www.cnblogs.com/caidingyu/p/10948337.html
Copyright © 2011-2022 走看看