7, view the compilation parameters:
/usr/l Ocal/nginx/sbin/nginx -V
8, use set nginx account to start setcap CAP_NET_BIND_SERVICE=+ep /usr/local/nginx/sbin/nginx first run /usr/local/nginx/sbin/nginx with root account Then kill the nginx process and then switch to the nginx account to execute service nginx restart or /usr/local/nginx/sbin/nginx to start, you will see that the process is started with nginx account 9, error debugging [nginx@lb_net_1 ~] $ service nginx startstart nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied) nginx is running[nginx@lb_net_1 ~]$[nginx@lb_net_1 ~]$ exitlogout[root@lb_net_1 conf]# [root@lb_net_1 conf]# sudo chown root:wheel /usr/local/nginx/sbin/nginx[root@lb_net_1 conf]# sudo chmod u+s /usr/local/nginx/sbin/nginx[root@lb_net_1 conf] #[root@lb_net_1 conf]# su - nginx[[root@lb_net_1 conf]# sudo chmod u+x /usr/local/nginx/sbin/nginx After entering the nginx account, it started successfully.zh-CN"],null,[0.98146433],zh-CN"]]]
We all know that the Linux rm command can delete files, but if you want to delete the directory, you
1. Introduction to Firewalls Firewall Concept Firewalls can filter datagrams and restrict specific s
VNC software is provided from other machines connected to the remote interface linux system
How to install JDK graphic parsing in Ubuntu, for many friends who dont know how to operate,
Must see 100 commonly used linux commands
Linux mount mountcsi, ntfs, nfs through mount
The difference between buffer and cache in linux free command
Linux copy and paste shortcuts
How does the Linux system upload and download files with SecureCRT?
Linux monitoring system resource usage rate
Linux related issues - Tomcat can not be self-started under CentOS6.5x64 version
Linux related use--Great God passed
The small knowledge points used in the Linux system accumulate
Win7's ReadyBoost does not add memory speed computer
The computer always likes to automatically restart how to do
Analytical System Game Advisor - Win GameAdvisor
Teach you to solve the problem that Vista can't receive mail.
How to change the drive letter in the PE system?
How does Win10 Preview 10056 enable the old system tray clock?
What if Win7 has no sound? Solution for Win7 system sound disappears
Windows 2008 system how to cancel login, press Ctrl+Alt+Delete key combination
After Win7 is connected, I will prompt "may need other login information". What should I do?