一、系统环境
LNMP一键安装包
[root@xxxxxxxx ~]# clone-vm7
Enter VM number: 1
Creating Virtual Machine disk image......
Defining new virtual machine.....
##############################################################
[root@xxxxxxxx ~]# ssh -X root@176.204.21.15
root@176.204.21.66's password: (123456)
Last login: Wed Mar 27 15:04:10 2019
/usr/bin/xauth: file /root/.Xauthority does not exist
[root@wordpress ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@wordpress ~]# ifconfig | grep "176.*"
inet 176.204.21.15 netmask 255.255.255.0 broadcast 176.204.21.255
[root@wordpress ~]# cat /etc/resolv.conf
nameserver 176.204.0.227
[root@wordpress ~]# ping www.baidu.com -c 2
PING www.a.shifen.com (180.97.33.107) 56(84) bytes of data.
64 bytes from 180.97.33.107 (180.97.33.107): icmp_seq=1 ttl=54 time=37.8 ms
64 bytes from 180.97.33.107 (180.97.33.107): icmp_seq=2 ttl=54 time=31.5 ms
--- www.a.shifen.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 31.547/34.712/37.877/3.165 ms
##############################################################
[root@wordpress yum.repos.d]# rm -rf /etc/yum.repos.d/*
[root@wordpress yum.repos.d]# ls
[root@wordpress yum.repos.d]# wget http://mirrors.aliyun.com/repo/Centos-7.repo
之后运行 yum clean all ; yum makecache 生成缓存