如何在CentOS7中安装Google Chrome浏览器
1. download:Chrome linux安装包
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
2. 配置yum, 原始的centOS官网地址访问不了,要改成阿里云镜像
vi /etc/yum.repos.d/CentOS-Base.repo
把所有的mirrorlist注释掉
把所有的baseurl打开
把mirrors.centos.org替换成mirrors.aliyun.com
#mirrorlist=http://#mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
3. 使用yum来安装
yum install redhat-lsb
yum install libXScrnSaver*
yum install epel-release
yum install liberation-fonts
yum localinstall google-chrome-stable_current_x86_64.rpm
4. 把安装好的Chrome设置到桌面快捷方式
cp -rf
/usr/share/applications/google-chrome.desktop ./桌面/
cd 桌面/
chmod 750 google-chrome.desktop
赞 (0)