nginx准备

iptables相关命令

iptables  -L查看相关规则

iptables -F关闭所有的防火墙规则

getenforce 查看selinux是否开启 ,如果已经开启,可以通过setenforce 0关闭防火墙

永久关闭selinux的办法

sudo sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux 

 建立文件夹nginxclip

然后在nginxclip下面建立若干子文件夹

 sudo mkdir app backup download logs work

app 代码应用

backup 文件

download 网上下载程序包

 

相关文章:

  • 2021-12-24
  • 2021-07-27
  • 2021-08-16
  • 2021-07-02
  • 2021-03-30
猜你喜欢
  • 2022-12-23
  • 2021-04-20
  • 2021-08-17
  • 2021-05-04
  • 2021-04-15
相关资源
相似解决方案