Centos7安装chrome

2019-12-26  本文已影响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
上一篇 下一篇

猜你喜欢

热点阅读