Android apache httpd 终端上的服务器
push到local/apache上
[html]
<span style="font-family:Microsoft YaHei;">cd bin
chmod 0755 *</span>
添加到bash.bashrc,如果有的话
[html]
<span style="font-family:Microsoft YaHei;">export PATH=/sd-ext/local/apache/bin:$PATH</span>
没有的话
[html]
<span style="font-family:Microsoft YaHei;">ln -s /sd-ext/local/apache/bin/httpd httpd</span>
修改conf/httpd.conf
[html]
<span style="font-family:Microsoft YaHei;">Listen 127.0.0.1:8088</span>
运行apache服务 www.zzzyk.com
[html]
<span style="font-family:Microsoft YaHei;">httpd -f /sd-ext/local/apache/conf/httpd.conf</span>
打开127.0.0.1:8088
关于:httpd: bad user name daemon
我的做法是:删除
[html] view plaincopyprint?
Group daemon
User daemon
作者:gmszone
补充:移动开发 , Android ,