Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
Linux系统防火墙
一 Linux系统防火墙常用指令1.设置开机自启动防火墙
1systemctl enable firewalld.service
2.设置不需要开机自动启动防火墙
1systemctl disable firewalld.service
3.启动防火墙
1systemctl start firewalld
4.关闭防火墙
1systemctl stop firewalld
5.检查当前防火墙的状态
1systemctl status firewalld
二 配置防火墙端口1.查看防火墙状态
1firewall-cmd --state
2.重新启动防火墙
1firewall-cmd --reload
3.查看防火墙开放的端口
1firewall-cmd --list-potrs
4.检查某个端口是否开放
1firewalld-cmd --query-port 端口号/tcp
5.开启防火墙指定端口
1firewall-cmd --zone=public --add-port=端口号/tcp --permanent
6.移除指定端口
1firewall-cmd ...