linux 查看nginx 启动路径

缺人进程的pid:

ps aux | grep nginx

查看 pid 的路径:

ls -alh /proc/[pid]/exe

2531684225579

确认 nginx 使用的配置文件:

$ /home/app/midware/nginx/sbin/nginx -t

nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful

在 M1 Mac 中安装 x86 的 Windows 截止 2023.5 可用的 Debian 9 Stretch 的可用源 sources.list