安装http,php,mysql运行环境

来自个人维基
跳转至: 导航搜索

先只作一些笔记:

start:

cd /
fcgiserver &
lighttpd -f /system/etc/lighttpd/lighttpd.conf
mysqld --defaults-file=/system/etc/mysql/my.ini --user=root >> /mnt/sdcard/ROOT/var/log/mysqlserver.log 2>&1 &

stop:

kill -9 `ps | grep mysqld | grep -v grep | awk '{print $2}'`
kill -9 `ps | grep php-cgi | grep -v grep | awk '{print $2}'`
kill -9 `ps | grep lighttpd | grep -v grep | awk '{print $2}'`


参考文档:

http://down.chinaz.com/soft/32495.htm