# 服务启停

使用由 Websoft9 提供的 Discuz 部署方案,可能需要用到的服务如下:

# Linux系统

# Apache

#For Centos&Redhat
sudo systemctl start httpd
sudo systemctl stop httpd
sudo systemctl restart httpd
sudo systemctl status httpd

#For Ubuntu&Debian
sudo systemctl start apache2
sudo systemctl stop apache2
sudo systemctl restart apache2
sudo systemctl status apache2

# PHP-FPM

systemctl start php-fpm
systemctl stop php-fpm
systemctl restart php-fpm
systemctl status php-fpm

# MySQL

sudo systemctl start mysql
sudo systemctl stop mysql
sudo systemctl restart mysql
sudo systemctl status mysql

# Redis

systemctl start redis
systemctl stop redis
systemctl restart redis
systemctl status redis

# Windows系统

远程桌面点击WAMPServer图标,然后点击“重新启动所有服务”