openwrt安装LAMP
说是LAMP
服务器用了openwrt内置的uhttpd
PHP安装参照此贴:
http://segmentfault.com/a/1190000000380308
MYSQL安装参照此贴:
http://blog.csdn.net/just_young/article/details/41979089
补充,这里缺什么lib补什么lib
注意,package的版本要和你本身openwrt的版本对应好
=================
pS:
如果提示没有libc,要这样安装
root@OpenWrt:/lib# cd /tmp
root@OpenWrt:/tmp# wget http://downloads.openwrt.org/barrier_breaker/14.07/brcm6
3xx/smp/packages/base/libc_0.9.33.2-1_brcm63xx.ipk //这里路径要换成你自己的路径
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33.2-1_brcm 100% |*******************************| 219k 0:00:00 ETA
root@OpenWrt:/tmp# opkg install libc_0.9.33.2-1_brcm63xx.ipk
Installing libc (0.9.33.2-1) to ram...