如何在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