centos设置程序开机启动的方法 把启动程序的命令添加到/etc/rc.d/rc.local文件中,如下 #!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.touch /var/lock/subsys/local/usr/local/bin/redis-server /etc/redis/redis.conf 文章作者: LeFer文章链接: https://lefer.cn/posts/25945/版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 LeFer!centos 评论