84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在linux上安装nginx是不是会创建名为nginx或nobody的用户和用户组?我好像在哪里看到过一眼,在/etc/passwd 里面没有,但我好像又记得有这回事,记不清了,或者记错了,所以请帮确认一下。
光阴似箭催人老,日月如移越少年。
You should manually create the nginx owner and nginx owner group.
groupadd nginx useradd nginx -g nginx -s /sbin/nologin -M
When compiling, specify the execution user master and user group
--with-user=nginx --with-group=nginx
After nginx is compiled and installed, modify nginx.conf
user nginx nginx;
I can’t be reasonable
Yum installation uses the nobody user and group by default
You should manually create the nginx owner and nginx owner group.
When compiling, specify the execution user master and user group
After nginx is compiled and installed, modify nginx.conf
I can’t be reasonable
Yum installation uses the nobody user and group by default