linux 注意事项

CentOS7:开启端口firewall-cmd --zone=public --add-port=80/tcp --permanent

重启防火墙firewall-cmd --reload

命令查询端口1000开放:firewall-cmd --permanent --query-port=1000/tcp

开放远程数据库:

  1. grant all privileges on *.* to 'root'@'%' identified by 'root';  

猜你喜欢

转载自blog.csdn.net/tian2342/article/details/48975687