1: 搭建nginx

2: location部分补全如下 location / { root /opt/apps; autoindex on; autoindex_exact_size off; autoindex_localtime on; }

  1. systemctl nginx restart

  2. wget -c http://ip/auto_dba.sh