centos7 安装 chrome
来源:原创
时间:2020-06-09
作者:脚本小站
分类:Linux
配置yum源:
cat > /etc/yum.repos.d/google-chrome.repo <<EOF [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=0 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF
安装Chrome:
yum -y install google-chrome-stable
添加软连接和快捷命令:
ln -sv /bin/google-chrome-stable /bin/chrome cat >> .bashrc <<EOF alias chrome='chrome --no-sandbox' EOF
启动:
# chrome