Install chrome under CentOS7

Source: Internet
Author: User
Tags proxychains
Firefox has been used in the past. after all, it is the default browser of the system, and its performance is not bad. However, since chrome is used for mobile phones, so to synchronize settings and install the computer version chrome is inevitable. In fact, at the beginning, I didn't think chrome can be installed. after all, it is not open-source, as far as I know, the official source seems to have been closed. (later, it was found that CentOS of the old version is disabled, and the latest CentOS7 is still available ), so I went to see how to install chromium.

Firefox has been used in the past. after all, it is the default browser of the system, and the performance is not bad. However, since chrome is used for mobile phones, it is inevitable to install chrome for synchronous settings.

In fact, at the beginning, I didn't think chrome could be installed. after all, it is not open-source, in addition, as far as I know, the official source seems to have been closed (later I found that the CentOS of the old version is disabled, and the latest CentOS 7 is still available ), so I took a look at how to install chromium, and found that the steps were quite complicated, so I checked chrome installation with a dead horse, and found that I could install it through yum, so happy!

Since yum is used, you must add an official source,

# Vim/etc/yum. repos. d/google-chrome.repo

Write the following content:

 

[Google-chrome] name = google-chrome-\ $ basearchbaseurl = signature

 

 

If you are abroad, you can happily execute the following sentence to install a stable version:

# Yum install google-chrome-stable

Or use the following sentence to install the test version.

 

Yum install google-chrome-beta

 

However, the tragedy is that I am in China, so the rpm directory of chrome cannot be directly connected through shell, so we must use a proxy for access.

However, I am using SOCKS proxy. this proxy method does not directly act as an http proxy on the entire system (the shell is networked through http). Therefore, we need a tool, this tool allows our shell to use socks proxy

The tool name isProxychains-ngNext, we will introduce how to install the tool.

First, we need to obtain the latest source code package.Proxychains-ng-master, Decompress the package, and then execute

#./Configure

# Make install

Please note that the installation method is directly used here. if you do not like the installation in the system, you can change the second sentence

# Make

In this way, you can execute a command similar

#./Proxychains4-f src/proxychains. conf ping www.google.com

Such statement to use the software

Please note that this src/proxychains. conf is the configuration file. we need to add proxy settings in it. what I use is

Socks5 127.0.0.1 1080

You can use different proxy settings based on your actual situation.

 

After this tool is configured, we are playing a major role, that is, installing chrome-stable.

# Proxychains4-f src/proxychains. conf yum install google-chrome-stable

The subsequent operations are exactly the same as the normal use of yum, which is not described here

Now we have installed chrome-stable ~

Related Article

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.