下载部署包

1)下载插件

[root@localhost ~]# wget -O fancyindex.zip https://github.com/aperezdc/ngx-fancyindex/archive/v0.4.3.zip
[root@localhost ~]# wget -O fancytheme.zip https://github.com/Naereen/Nginx-Fancyindex-Theme/archive/master.zip

2)解压

[root@localhost ~]# unzip fancyindex.zip
[root@localhost ~]# unzip fancytheme.zip

yum -y install gcc-c++ pcre pcre‐devel zlib zlib‐devel openssl openssl‐devel
wget https://download.xinac.net/server/nginx/nginx-1.18.0.tar.gz wget https://download.xinac.net/server/nginx/modules/ngx-fancyindex-0.4.4.tar

部署

 tar -xvf nginx-1.18.0.tar.gz
 tar -xvf ngx-fancyindex-0.4.4.tar

 

posted on 2022-10-25 15:22  属于我的梦,明明还在  阅读(316)  评论(0)    收藏  举报