ubuntu 9 xampp开机启动方法
十 26th
最近一直进行lamp开发有兴趣的朋友可以互相学习.
1.以root的身份登入
2. 在/etc/init.d 目錄下建立lampp.sh 文件
lampp.sh 內容如下:
#!/bin/sh #!/bin/sh
cd /opt/lampp
./lampp start
3.更改权限
chmod 755 lampp.sh
4.编辑/etc/init.d/rc.local在最后一行加上:
exec /etc/init.d/lampp.sh
重新开机就完成了。
注:这种方法就算开机后没有登入,XAMPP还是会启动。
出处: 马丁博客[http://www.blags.org/]
本文链接地址: http://www.blags.org/ubuntu-9-xampp-boot-method/
原创文章,转载请注明出处,否则视为侵权。
你同时应该掌握的知识
- ubuntu 性能优化 - (5 comments)
- linux 之间ssh无密码登录 - (3 comments)
- ubuntu 短密码设置 - (3 comments)
- ubuntu 安装 ffmpeg php-ffmpeg - (2 comments)
- red hat centos 安装 yum - (3 comments)
- Ubuntu使用经验分享 - (3 comments)
- ubuntu windows 文件共享 - (2 comments)
- ubuntu 路由上网 - (没有评论)
- ubuntu 语音通话软件 skype - (没有评论)
- ubuntu ip 设置 启动 - (1 评论)