解决linux小皮面板不能自动启动

      发布在:后端技术      评论:0 条评论
<p style="padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); margin-block: 1em; line-height: 21px; clear: both; margin-bottom: 20px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255); margin-top: 0px !important;">centos系统请检查/etc/rc.d/rc.local是否写入了启动项</p><p style="padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); margin-block: 1em; line-height: 21px; clear: both; margin-bottom: 20px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255); margin-top: 0px !important;">ubuntu系统请检查/etc/rc.local是否写入了启动项,代码如下:</p><p>/usr/local/phpstudy/system/phpstudyctl -start</p><p><img src="http://img.80zx.com/ueditor/image/202409/1726986927b872ae.png" title="e0561e2c-43f0-4459-a6a2-fbbb021217f3" alt="e0561e2c-43f0-4459-a6a2-fbbb021217f3"/></p><p>为了确保文件&nbsp;<code style="padding: 0.01rem 0.04rem; margin: 0px 0.04rem; background: rgb(237, 238, 240); border-radius: 0.06rem;">/etc/rc.d/rc.local</code>&nbsp;文件具有可执行权限。可以使用以下命令加上执行权限:</p><pre class="brush:bash;toolbar:false">sudo chmod +x /etc/rc.d/rc.local<br/></pre><p><br/></p>
相关文章
热门推荐