(OK) 在CentOS 7上安装Chrome


http://pan.baidu.com/s/1bojXNu3
google-chrome-stable_current_x86_64.rpm —— 版本 44.0.2403.155 (64-bit)

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm


OR


[root@localhost ~]# gedit /etc/yum.repos.d/google.repo                          //文件内容如下:

[gogle]
name=Google-x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=0
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


[root@localhost yum.repos.d]# yum install google-chrome-stable

++++++++++++++++++++++++ 不能以根用户身份运行 google chrome

[root@localhost core]# google-chrome -user-data-dir

OR

[root@localhost yum.repos.d]# gedit /usr/share/applications/google-chrome.desktop

108行,修改为:
Exec=/usr/bin/google-chrome-stable %U -user-data-dir

posted @ 2016-02-01 00:00  张同光  阅读(61)  评论(0编辑  收藏  举报