要启动和关闭nginx服务器,可以使用以下命令:
启动nginx服务器:
```
sudo systemctl start nginx
```
关闭nginx服务器:
```
sudo systemctl stop nginx
```
重新启动nginx服务器:
```
sudo systemctl restart nginx
```
查看nginx服务器的状态:
```
sudo systemctl status nginx
```
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>