centos 安装
https://blog.csdn.net/qq_39135287/article/details/83993574
不能上网解决
https://www.cnblogs.com/justuntil/p/7879748.html
若第二天不能上网
https://blog.csdn.net/qq_32539825/article/details/87867633
clone虚拟机不能上网,且ifconfig命令看不到如ens32
1、虚拟机我每个服务器加了mac地址
2、vi etc/sysconfig/network-scripts/ens* 把和其他服务器可能一样的,此处我改了uuid ipaddr改成另一个,避免重复
3、
systemctl stop NetworkManager 临时关闭 systemctl disable NetworkManager 永久关闭网络管理命令 systemctl start network.service 开启网络服务
- 1
- 2
- 3
mysql clone后出现
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)
解决:
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation