Redhat/Centos6.x安裝Chrome

餘二五發表於2017-11-30

https://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/


 由於Chrome對rhel6.x不在支援釋出版本,只能安裝chromium版本!

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 “00″”HERE/chromium-browser” CHROMIUMRHELFLAGSCHROMIUMRHELFLAGS”@”在後面新增 –user-data-dir

修改後為:

  exec -a “00″”HERE/chromium-browser” CHROMIUMRHELFLAGSCHROMIUMRHELFLAGS”@” –user-data-dir


本文轉自 yntmdr 51CTO部落格,原文連結:http://blog.51cto.com/yntmdr/2070724,如需轉載請自行聯絡原作者


相關文章