Usually a few commands commonly used in PHP development work
Switch to root login: sudo su-
View System health Status: top
In top we have to monitor the used of the fifth swap partition at all times, and if this value is constantly changing, it means that the kernel is constantly swapping memory and swap data, which is really not enough memory.
View network client connections: netstat-n | grep TCP | grep Listening Port | Wc-l
View process Memory Condition: PMAP Process ID
List Current Account Scheduled tasks: Crontab-l
To edit a scheduled task list: CRONTAB-E
Package directory: Tar CVF <压缩文件名.tar.gz> <目录>
Unpacking directory: Tar xvf <目录>
Modify permission groups for all files and subdirectories under directory: Chgrp-r www <目录>
Modify the owner of all files and subdirectories under directory: Chown-r www <目录>
Modify read/write/execute permissions for all files and subdirectories in directory: Chmod-r 775 <目录> file owner and same group account have RWX permissions, other group accounts have RX Authority
Restart PHP-FPM:/USR/LOCAL/PHP/SBIN/PHP-FPM Restart after modifying the php.ini configuration
Modify nginx vhost domain name configuration to make it effective:
/USR/LOCAL/NGINX/BIN/NGINX-T (check configuration for errors)
/usr/local/nginx/bin/nginx -S Reload (restart load configuration)
Test Machine project Directory SVN export: SVN checkout
Code update under Project directory: SVN update