linux 安全策略关闭
#防火墙关闭
systemctl stop firewalld.service
#永久关闭防火墙
systemctl disable firewalld.service
#临时关闭selinux
setenforce 0
#永久关闭
sed -i "s/enforcing/disabled/g" /etc/selinux/config
#防火墙关闭
systemctl stop firewalld.service
#永久关闭防火墙
systemctl disable firewalld.service
#临时关闭selinux
setenforce 0
#永久关闭
sed -i "s/enforcing/disabled/g" /etc/selinux/config
sed -i "s/enforcing/disabled/g" /etc/selinux/config...
vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...
当配置nginx时,路径的匹配是有这几种情况的,请求路径是否拼接。例如:当用户请求 xxx:8080/static/img/demo01.jpglocation /static { &nb...
背景:公司因项目开发需要购置了两台主机。因为配置网络的大哥又是不在公司,但是又着急使用新主机。(旧的已经卡成狗腿了)急需解决问题,首先电脑刚插入网线又问题,不亮。只有一个网卡亮但是并不是Interne...
<script type="text/javascript">alert(123)</script>...
基础知识: FTP只通过TCP连接,没有用于FTP的UDP组件.FTP不同于其他服务的是它使用了两个端口, 一个数据端口和一个命令端口(或称为控制端口)。通常21端口是命令端口,20端口是...