centos 安装chromium浏览器

-- centos6 安装 chromium浏览器
1、下载
cd /etc/yum.repos.d
https://people.centos.org/hughesjr/chromium/6/
2、安装
yum install chromium
3、安装之后,即可打开,若打开时提示“Chromium can not be run as root”,则:
cd /opt/chromium-browser
vim chromium-browser.sh
修改
exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@"

exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@" --user-data-dir

你可能感兴趣的:(centos 安装chromium浏览器)