博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
nginx、php-fpm等添加自启动
阅读量:2306 次
发布时间:2019-05-09

本文共 353 字,大约阅读时间需要 1 分钟。

##  添加执行权限chmod a+x /etc/init.d/nginx   chmod a+x /etc/init.d/php-fpm##  加入服务chkconfig --add nginxchkconfig --add php-fpm##   开机自启chkconfig nginx on    chkconfig php-fpm on

如果有出现 “service php-fpm does not support chkconfig“的错误提示,则可以再php-fpm脚本上方添加下面语句

#!/bin/bash# php-fpm startup script for the php-fpm # php-fpm version:5.5.0-alpha6# chkconfig: - 85 15

转载地址:http://mksib.baihongyu.com/

你可能感兴趣的文章
贝壳找房APP安装包瘦身
查看>>
Glide preload和into的区别
查看>>
Android根据座标找到对应的View
查看>>
ByPhoto-秒开的安卓图片选择库
查看>>
地图类业务优化方法
查看>>
可拖拽的ListView
查看>>
Java调用Kotlin函数的坑
查看>>
Live Template撸码利器
查看>>
Android View座标
查看>>
409. Longest Palindrome
查看>>
Collections.sort()自定义比较的用法
查看>>
297. Serialize and Deserialize Binary Tree
查看>>
127. Word Ladder
查看>>
444. Sequence Reconstruction
查看>>
207. Course Schedule
查看>>
702. Search in a Sorted Array of Unknown Size
查看>>
658. Find K Closest Elements
查看>>
852. Peak Index in a Mountain Array
查看>>
153. Find Minimum in Rotated Sorted Array
查看>>
109. Convert Sorted List to Binary Search Tree
查看>>