摘要:
1.Nginx充当中介,将请求转发给其他LAMP 192.168.200.112中yum安装LAMP [root@localhost ~]# yum -y install httpd mairadb mariadb-server php php-mysql [root@localhost ~]# s 阅读全文
摘要:
一.配置Nginx隐藏版本号 [root@localhost ~]# curl -I 192.168.200.111HTTP/1.1 200 OKServer: nginx/1.16.1 //Nginx版本号Date: Fri, 13 Sep 2019 02:20:55 GMTContent-Typ 阅读全文
摘要:
#!/bin/bash#挂载yum仓库 read -p "请输入你的挂载点: " direcho "正在挂载光盘..."mount | grep -q "/dev/sr0" && umount /dev/sr0[ -d $dir ] || mkdir $dirmount /dev/sr0 $dir 阅读全文
摘要:
#!/bin/bash#挂载yum仓库 read -p "请输入你yum仓库的挂载点: " direcho "正在挂载光盘..."mount | grep -q "/dev/sr0" && umount /dev/sr0[ -d $dir ] || mkdir $dirmount /dev/sr0 阅读全文
摘要:
1 #!/bin/bash 2 #挂载yum仓库 3 4 read -p "请输入你的挂载点: " dir 5 echo "正在挂载光盘..." 6 mount | grep -q "/dev/sr0" && umount /dev/sr0 7 [ -d $dir ] || mkdir $dir 8 阅读全文
摘要:
centos7 关闭防火墙 systemctl stop firewalld systemctl disable firewalld centos6 关闭防火墙 service iptables stop chkconfig iptables off 关闭selinux安全机制 sed -i '7 阅读全文
摘要:
centos7 关闭防火墙 systemctl stop firewalld systemctl disable firewalld centos6 关闭防火墙 service iptables stop chkconfig iptables off 关闭selinux安全机制 sed -i '7 阅读全文
摘要:
centos7 关闭防火墙 systemctl stop firewalld systemctl disable firewalld centos6 关闭防火墙 service iptables stop chkconfig iptables off 关闭selinux安全机制 sed -i '7 阅读全文
摘要:
centos7 关闭防火墙 systemctl stop firewalld systemctl disable firewalld centos6 关闭防火墙 service iptables stop chkconfig iptables off 关闭selinux安全机制 sed -i '7 阅读全文
摘要:
1、通过ps命令的两种选项形式查看进程信息 [root@bogon ~]# ps -aux[root@bogon ~]# ps -elf 2、通过top命令查看进程 [root@bogon ~]# top 3、通过pgrep命令查看sshd服务的进程号 [root@bogon ~]# pgrep - 阅读全文