美文网首页IT技术
2019-03-08 centos7.5 安装chrome浏览器

2019-03-08 centos7.5 安装chrome浏览器

作者: 昨天今天下雨天1 | 来源:发表于2019-03-08 13:10 被阅读2次

下载google 浏览器:

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

配置163 yum 源:

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

yum clean all

yum repolist

安装chrome:

yum localinstall google-chrome-stable_current_x86_64.rpm

root 用户无法启动配置:

rpm -ql $(rpm -qa | grep chrome) 找到启动脚本

/opt/google/chrome/google-chrome

修改/opt/google/chrome/google-chrome 脚本(脚本最后一行):

exec -a "0" "HERE/chrome" "@" 改为 exec -a "0" "HERE/chrome" "@" --user-data-dir --no-sandbox

相关文章

网友评论

    本文标题:2019-03-08 centos7.5 安装chrome浏览器

    本文链接:https://www.haomeiwen.com/subject/wjkrpqtx.html