今天小小的安装了一个Chromium浏览器,感觉还不错,故来分享给大家。安装简单
直接输入
#yum install http://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/chromium-28.0.1500.36-204086.x86_64.rpm 我的是64位的
#yum install http://people.centos.org/hughesjr/chromium/6/i386/RPMS/chromium-28.0.1500.45-205727.i686.rpm 此处是32位
================================================================================
Install 1 Package(s)
Total size: 192 M
Installed size: 192 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : chromium-28.0.1500.36-204086.x86_64 1/1
Verifying : chromium-28.0.1500.36-204086.x86_64 1/1
Installed:
chromium.x86_64 0:28.0.1500.36-204086
Complete!
此时最精彩的部分来了
所以我们怎样才能让root用户使用呢?
其实很简单。你会发现它需要制定一个目录。而这个目录就在我们root用户的家目录下
# cd /root/.config/chromium/
之后只需要打开chromuim的Laucher Properties
然后在command里后面接上-user-data-dir=/root/.config/chromium/ 即可。
恭喜你成功拥有了chromium浏览器
转载于:https://blog.51cto.com/8743589/1386733