服务查看启动
服务启动、停止和重启
service xxx start
service xxx stop
service xxx restart
服务状态查看
systemctl status xxx
当然也可以用systemctl 对服务启动、停止和启动
systemctl start xxx
systemctl stop xxx
systemctl restart xxx
服务启动、停止和重启
service xxx start
service xxx stop
service xxx restart
服务状态查看
systemctl status xxx
当然也可以用systemctl 对服务启动、停止和启动
systemctl start xxx
systemctl stop xxx
systemctl restart xxx
一、supervisor简介Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。它是通过fork/exec的方式把这些被管理的进程当作supe...
添加用户useradd username 修改用户密码passwd username修改文件用户和用户组chown -R username:group /project/修改归属用户chown&...
解决yum install python2-develpip install --upgrade setuptools...
文件名不对,应该dubug模块有一个叫abc.py的文件换个名字正常运行...
因为主机时间没有自动同步有9.8s的误差。导致了出现负时间的问题首先手动校准时间ntpdate cn.pool.ntp.org开启时间自动更新服务systemctl start ntpd查看服务状态systemctl status ntpd...
执行 setenforce 0再次启动systemctl restart httpdOK 搞定...