时间:2020-3-14 编辑:37°5 点个赞呗
netstat -anop 查看端口
rpm -ql 文件 查找安装的文件
systemctl start nginx.service #启动nginx服务 systemctl enable nginx.service #设置开机自启动 systemctl disable nginx.service #停止开机自启动 systemctl status nginx.service #查看服务当前状态 systemctl restart nginx.service #重新启动服 systemctl list-units --type=service #查看所有已启动的服务
systemctl start nginx.service #启动nginx服务
systemctl start nginx.service
#启动nginx服务
systemctl enable nginx.service #设置开机自启动
systemctl enable nginx.service
#设置开机自启动
systemctl disable nginx.service #停止开机自启动
systemctl disable nginx.service
systemctl status nginx.service #查看服务当前状态
systemctl status nginx.service
systemctl restart nginx.service #重新启动服
systemctl restart nginx.service
systemctl list-units --type=service #查看所有已启动的服务
linux的一些使用命令
时间:2020-3-14 编辑:37°5 点个赞呗
netstat -anop 查看端口
rpm -ql 文件 查找安装的文件