Skip to content

让mysql 与 apache 在系统启动时自动运行

转载本站文章请注明:
转载来至:[记录与PHP的PK经历]
本文链接: 让mysql 与 apache 在系统启动时自动运行

让mysql 与 apache 在系统启动时自动运行
编辑/etc/rc.d/rc.local 文件
增加如下二行:
/usr/local/apache2/bin/apachectl start
/usr/local/mysql5/bin/mysqld_safe start



中文关键字:mysql apache 文件 系统 自动 运行 local start bin apachectl usr mysqld rc safe etc

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*
Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).