一、安装chrome浏览器
1、配置yum源
首先安装google的epel源
vi /etc/yum.repos.d/google.repo
配制如下内容
[google]
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
更新yum源
yum update
2、安装google chrome浏览器
yum -y install google-chrome-stable
Google官方源可能在中国无法使用,导致安装失败或者在国内无法更新,可以添加以下参数来安装:
yum -y install google-chrome-stable --nogpgcheck
找到chrome路径,并做个软连接,方便使用
which google-chrome-stable
ln -s 路径 /bin/chrome
解决root用户不能运行chrome
编辑启