dokuwiki相关:安装_nginx
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
dokuwiki相关:安装_nginx [2023/03/20 14:36] – bjgdtc | dokuwiki相关:安装_nginx [2023/03/20 15:07] (当前版本) – bjgdtc | ||
---|---|---|---|
行 1: | 行 1: | ||
1) 卸载nginx | 1) 卸载nginx | ||
+ | < | ||
yum remove nginx | yum remove nginx | ||
- | {{: | + | </ |
+ | |||
+ | '' | ||
2) 查看nginx是否还存在 | 2) 查看nginx是否还存在 | ||
+ | < | ||
which nginx | which nginx | ||
- | {{: | + | </ |
+ | |||
+ | {{: | ||
3)重新安装 Nginx | 3)重新安装 Nginx | ||
+ | < | ||
yum install nginx | yum install nginx | ||
- | {{: | + | </ |
- | 出现 | + | {{: |
+ | |||
+ | 出现 Complete! 完成安装 | ||
+ | |||
+ | 没源报错: {{: | ||
+ | |||
+ | 将nginx放到yum repro库中\\ | ||
+ | [root@localhost ~]# rpm -ivh [[http:// | ||
4)启动 Nginx | 4)启动 Nginx | ||
+ | < | ||
- | yum start nginx | + | systemctl |
+ | |||
+ | </ | ||
5)设置自动开机启动 Nginx | 5)设置自动开机启动 Nginx | ||
+ | < | ||
yum enable nginx | yum enable nginx | ||
+ | |||
+ | </ | ||
+ | |||
/www/wwwroot/dokuwiki/data/attic/dokuwiki相关/安装_nginx.1679294172.txt.gz · 最后更改: 2023/03/20 14:36 由 bjgdtc