centos系统请检查/etc/rc.d/rc.local是否写入了启动项
ubuntu系统请检查/etc/rc.local是否写入了启动项,代码如下:
/usr/local/phpstudy/system/phpstudyctl -start
为了确保文件 /etc/rc.d/rc.local
文件具有可执行权限。可以使用以下命令加上执行权限:
sudo chmod +x /etc/rc.d/rc.local
相关文章
centos系统请检查/etc/rc.d/rc.local是否写入了启动项
ubuntu系统请检查/etc/rc.local是否写入了启动项,代码如下:
/usr/local/phpstudy/system/phpstudyctl -start
为了确保文件 /etc/rc.d/rc.local
文件具有可执行权限。可以使用以下命令加上执行权限:
sudo chmod +x /etc/rc.d/rc.local