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