If this program is installed under root, then after installation, I find that its configuration file cannot be copied and pasted manually. Do I need to use commands under root to copy and paste in the current directory? Is that so? But I found out why copying like this doesn’t work?
学习ing2017-06-12 09:26:41
The error message is insufficient permissions. You can change the file permissions and it should be OK
PHP中文网2017-06-12 09:26:41
Obviously you wrote the wrong command, cp /etc/nginx/nginx.conf /path/to/your/want/cp/path you are missing the following path.
And your command is: cp /etc/nginx/nginx.conf (a path is required here)