搜索

Linux下怎么确定Nginx安装目录

发布网友 发布时间:2022-02-26 21:20

我来回答

2个回答

热心网友 时间:2022-02-26 22:49

1、which nginx
/usr/sbin/nginx
2、nginx -V
configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/sbin --with-http_ssl_mole --with-http_sub_mole --with-http_flv_mole --with-http_stub_status_mole --with-zlib=../zlib-1.2.5 --with-openssl=../openssl-1.0.1i --with-pcre=../pcre-8.13
3、more /etc/init.d/nginx
找nginx和NGINX_CONF_FILE

热心网友 时间:2022-02-27 00:07

ps -ef | grep nginx,看后面显示的路径就知道在哪里目录了
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com
Top