服务器重启,自动重启httpd

1. 手动重启

  cd http ll

  cd /etc/httpd/   ll

  service httpd restart

2. 查看服务器内存使用情况

   df -h

3. 自动重启

  cat /etc/issue
  或者 cat /proc/version
  或者 uname -r

  chkconfig --add httpd 
  chkconfig httpd on
  chkconfig --list | grep httpd

 

  

posted @ 2018-11-08 10:01  探索之路慢慢  阅读(1372)  评论(0编辑  收藏  举报