Skip to content

Instantly share code, notes, and snippets.

Last active Apr 11, 2017
What would you like to do?
install chrome on redhat/centos
# 如果被墙了,可以翻墙下载后上传到服务器上,然后在服务器上手动执行:
# wget -O ~/Downloads/
# scp ~/Downloads/ root@
# sudo rpm --import /tmp/
sudo su -c 'rpm --import'
sudo sh -c 'echo -e "[google-chrome]\nname=google-chrome\nbaseurl=\$basearch\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc/yum.repos.d/google-chrome2.repo'
yum install google-chrome-stable -y
yum install xorg-x11-server-Xvfb -y
# 然后按照[]配置systemd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment