Centos-python Environment Deployment

Source: Internet
Author: User

Cannot find a valid baseurl for Repo:base/7/x86_6

Not even the Internet ah, Grandpa! Find information on the Internet to see Hopkings solutions:

Method One, 1, open vi/etc/sysconfig/network-scripts/ifcfg-eth0 (each machine may be different, but the format will be "Ifcfg-eth number"), the Onboot=no, changed to Onboot=yes 2, Restart Network: Service network Restart method Two, 1, open vi/etc/resolv.conf, add nameserver 8.8.8.8 2, restart the network: Service network restart

CENTOS7 Installing the Chrome browser 

1. Configure the Yum source

Create a new file under directory/etc/yum.repos.d/Google-chrome.repo

cd /ect/yum.repos.d/vim google-chrome.repo

Write the following content:

[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

To install the Google Chrome browser:

-y install google-chrome-stable

Google's official source may not be used in China, causing the installation to fail or not be updated at home, you can add the following parameters to install:

-y install google-chrome-stable --nogpgcheck

Run Chrome
Find the chrome path and make a soft connection for easy use:

which google-chrome-stableln -s xxx /bin/chrome

When you start the Chrome sample with the root user, you are prompted to add a parameter –no-sandbox flag

chrome --no-sandbox flag

Centos-python Environment Deployment

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.