美文网首页
Centos7安装chrome

Centos7安装chrome

作者: 带着小猪闯天下 | 来源:发表于2019-12-26 11:29 被阅读0次

环境

关闭防火墙&selinux

安装chrome

yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm -y

不出意外在你的桌面应该是打不开的

##命令行启动报错
[root@localhost ~]# google-chrome
[4646:4646:1226/110828.965349:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
[root@localhost ~]# google-chrome-stable 
[4660:4660:1226/110831.541622:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

##解决1. 命令行启动:添加--no-sandbox
/usr/bin/google-chrome-stable --no-sandbox


解决2.图形方式解决

image.png

image.png
image.png

相关文章

网友评论

      本文标题:Centos7安装chrome

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