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地址
https://zmedu.blog.csdn.net/article/details/77413783?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control
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
想要实时关注更多干货好文,扫描下图关注: