Redhat/Centos6.x安装Chrome
01、下载地址
http://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/chromium-31.0.1650.63-2.el6.x86_64.rpm
http://pan.baidu.com/s/1jImNbM2
02、安装
rpm -ivh chromium-31.0.1650.63-2.el6.x86_64.rpm
03、调整参数,默认不能root运行(安全隐患)
错误提示:
centos6.5 安装Chromium后,用root用户登录后一直出现Chromium can not be run as root。
解决办法:
# cd /opt/chromium-browser/
# vi chromium-browser.sh
找到exec -a "0""
HERE/chromium-browser" C
@"在后面添加 --user-data-dir
修改后为:
exec -a "0""
HERE/chromium-browser" C@" --user-data-dir