Install Chrome in CentOS6.x. First, create a google-chrome.repo file in the/etc/yum. repos. d Directory, which writes the following content: [plain] viewplaincopy [google-chrome]
Install Chrome in CentOS 6.x. First, create the google-chrome.repo file in the/etc/yum. repos. d Directory, which writes the following content:
[Plain]View plaincopy
- [Google-chrome]
- Name = google-chrome
- 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
After configuring the Google Chrome browser Yum Repository, run the following command to install the Google Chrome browser:
# Install Google Chrome Stable version
[Plain]View plaincopy
- Yum install google-chrome-stable
# Install Google Chrome Beta version
[Plain]View plaincopy
- Yum install google-chrome-beta
# Install the unstable Google Chrome version
[Plain]View plaincopy
- Yum install google-chrome-unstable
So far, Google Chrome has been installed. Due to the special nature of Google in China, sometimes it prompts that the host cannot be connected or the request times out. To solve this problem, you can only modify the/etc/hosts file and direct dl.google.com to another available server. You can download the file at http://code.google.com/p/smarthosts/and upload it to the /etc/hosts file.