CENTOS7 Install Chrome Google browser

Source: Internet
Author: User
wget http://chrome.richardlloyd.org.uk/install_chrome.sh
chmod u+x install_chrome.sh
./install_chrome.sh-s (Stable stable version)
Start the chrome google-chrome or./install_chrome.sh
Update Chrome yum Update google-chrome-stable
Remove the chrome yum remove google-chrome-stable or./install_chrome.sh-u
The download timeout is encountered, the failure modification needs to modify the download address please edit install_chrome.sh
One of the http://omahaproxy.appspot.com changed to https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm.
If dl.google.com is different, you can add it by modifying the/etc/hosts folder
xxx.xxx.xxx.xxx dl.google.com

Run Google-chrome with a non-root user

If this method does not work, you can use the following method

If you can access http://dl.google.com, you can add a/etc/hosts below the

216.58.200.192 dl.google.com

Touch/etc/yum.repos.d/google-chrome.repo
Gedit/etc/yum.repos.d/google-chrome.repo
Input
[Google-chrome]
Name=google-chrome-\ $basearch
Baseurl=http://dl.google.com/linux/chrome/rpm/stable/\ $basearch
Enabled=1
Gpgcheck=1
Gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Save exit
Yum Install google-chrome-stable


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.