美文网首页
centos 安装chromium浏览器

centos 安装chromium浏览器

作者: YoungEvita | 来源:发表于2018-02-08 20:43 被阅读0次

    -- 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浏览器

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