系统版本:CentOS7.5
系统自带Firefox浏览器,由于习惯用chrome,记录一下安装步骤,如下:
安装依赖
yum install redhat-lsb*
yum -y install libXss*
yum install libappindicator*
安装chrome:
rpm -ivh google-chrome-stable_current_x86_64.rpm
,非root用户到这里就OK了。但如果是root用户,请继续往下看。chrome默认是不能给root用户运行的,所以需要进行一些设置。进入目录:
/usr/share/applications/
,找到chrome图标,右击打开属性,在命令后面加上--no-sandbox
,如下图所示:
chrome路径.png
修改命令.png