Miantang / IoT

A web platform of the Internet of Things, Smart home, Home automation. Run on OpenWRT or RaspberryPI, Arduino.Based on Node.js. 一个基于Node.js的物联网智能家居SPA。
MIT License
1 stars 4 forks source link

openwrt安装nginx+php+mysql (LNMP) #5

Closed Miantang closed 8 years ago

Miantang commented 9 years ago

使用Openwrt路由器代替树莓派,在上面搭建相关的web服务器,用于物联网基础平台。

http://www.right.com.cn/forum/thread-89216-1-1.html

虽然可以先在本机ubuntu上先行测试。

Miantang commented 9 years ago

www.it165.net/admin/html/201408/3509.html

Miantang commented 9 years ago

[Openwrt 项目开发笔记]:MySQL配置(六) http://www.cnblogs.com/double-win/p/3866189.html

Miantang commented 9 years ago

[Openwrt 项目开发笔记]:PHP+Nginx安装(七)

www.cnblogs.com/double-win/p/3885741.html

Miantang commented 9 years ago

2015.3.19 目前nginx搭建成功。但是只能静态网页,php页403. 重新配置之后,问题解决。参照http://www.right.com.cn/forum/thread-89216-1-1.html /etc/nginx/vhost.conf处,[location ~* ^.+.php(\/.)$ ]正则匹配符加强,同时去除了 ` root html 原因应该出在这。