After installing centos7, before you use you need to do something

After installing centos7 next record, need to do. (How to install centos7? Select domestic image is downloaded and follow the instructions to install)

1, configured the network, the machine may ping the other to the machine, the machine may be on the external network.

2, the installation ssh, ssh configuration, other machines may be convenient to machine ssh.

3, configure yum domestic sources.

cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

curl -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

yum clean all

yum makecache


 

Published 22 original articles · won praise 8 · views 40000 +

Guess you like

Origin blog.csdn.net/luoqiang616477607/article/details/104344585