centos7命令

 

centos7命令:

查看ip  : ip addr

怎么重启网络: systemctl restart network

 

怎么关闭防火墙:systemctl stop firewalld

开启:systemctl start firewalld

 

查看防火墙状态:firewall-cmd --state

 

 

 关机命令:shutdown /poweroff

shutdown:shutdown -h now  #立即关机(shutdown -h 10   #10分钟后关机)

 

重启命令:shutdown或reboot

shutdown:shutdown -r now  #立即重新启动  (shutdown -r +10  #10分钟之后重启)

 

 

 

卸载mysql

[root@localhost local]# rpm -e MySQL-server-5.6.17-1.el6.i686

 rpm -qa|grep mysql(查询出来的东东yum remove掉)

mysql卸载 

https://www.cnblogs.com/Lenbrother/articles/6203620.html

 https://www.cnblogs.com/cyl048/p/6879085.html

 安装mysql

https://blog.csdn.net/a774630093/article/details/79270080

 

https://blog.csdn.net/qq_40087415/article/details/79367151(yiban)

https://blog.csdn.net/ztynet/article/details/51698614(几个)

https://www.cnblogs.com/huiandong/p/9973786.html

posted @ 2019-06-19 08:56  wq9  阅读(508)  评论(0编辑  收藏  举报