## 添加执行权限

chmod a+x /etc/init.d/nginx

chmod a+x /etc/init.d/php-fpm

 

## 加入服务

chkconfig --add nginx

chkconfig --add php-fpm

 

## 开机自启

chkconfig nginx on

chkconfig php-fpm on

 

查看服务列表:

chkconfig --list

 

相关文章:

  • 2021-09-12
  • 2021-07-18
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2021-10-20
  • 2021-12-03
  • 2022-12-23
  • 2021-10-27
  • 2021-09-27
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案