1.nginx服務器使用命令:
systemctl start nginx.service
#啓動nginx
systemctl stop nginx.service
#停止
systemctl restart nginx.service
#重啓
systemctl
enable
nginx.service
#設置開機啓動
2.php-fpm服務使用:
systemctl start php-fpm.service
#啓動php-fpm
systemctl
enable
php-fpm.service
#設置開機啓動
3.mysql服務使用:
systemctl start mariadb.service
#啓動MariaDB
systemctl stop mariadb.service
#停止MariaDB
systemctl restart mariadb.service
#重啓MariaDB
systemctl
enable
mariadb.service
#設置開機啓動