Basic but practical: Summary of common LNMP commands and common lnmp commands
1. modify directory permissions
[Root @ localhost ~] # Chmod 777/home/user Note: only set the permission of the/home/user directory to rwxrwxrwx.
[Root @ localhost ~] # Chmod-R 777/home/user Note: Set the permissions of the entire/home/user directory and its files and subdirectories to rwxrwxrwx.
2. delete a file
Delete a folder instance:
Rm-rf/var/log/httpd/access
The/var/log/httpd/access Directory and all files and folders under it will be deleted.
Delete a file instance:
Rm-f/var/log/httpd/access. log
The file/var/log/httpd/access. log will be forcibly deleted.
3. File packaging command
Zip-r myfile.zip./* package all the packages under the current directory. The file name is myfile.zip.
4. Restart Nginx
/Etc/init. d/nginx restart
Basic Problems of lamp and lnmp
Ask him a few linux commands
For example, the command to copy files.
File Modification command
Start apache.
You can also directly ask him how to configure the file.
These are the most basic things.
Basic computer knowledge websites, such as DOS commands, are the most commonly used and practical websites.
Blog.cfan.com.cn/...0.html
A complete set of dos Commands