Hi I dont find the "step by step" of the light uhttpd instalation (now i have "uhttpd" an i need to install the "light uhttpd").
I make this in ssh:
opkg list lighttpd*
opkg update
opkg install lighttpd
Note: I have an external micro SD
Edit /etc/lighttpd/lighttpd.conf:
server.document-root = "/www/"
server.port = 82 (default is 80)
Add "index.php":
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", "index.php" )
/etc/init.d/lighttpd enable
/etc/init.d/lighttpd disable
/etc/init.d/lighttpd start
Then when i go to: http://arduino.local:82/sd/autobrew/index.php
I dont see my webpage! please help!
@criminalkaoz,
Yun already has a webserver install. Can you talk about your end goal? What you are trying to do?
Thanks
Jesse
Hi, now i have my web app with php-mysql with the uhttpd server. My question is take the same with "light version" like lighttpd. It is possible?
I'm not questioning your motives, just trying to learn something. If it's working with the standard uhttpd server, why switch over to lighttpd? What's the advantage?
The problem is that my app call constantly calls from the Arduino side to the linux side (mysql querys CRUD) and at the same time I go to the Web page app (mysql, php and graphs) the load is too slow. I think it is time to take the "light" side of the webserver. I dont now how can I have the web page app more fast in terms of loads (It is much seen in the navigation of the menu) 
sorry with my "tarzan" english XD Im from Chile!
@criminalkaoz
I think rather than try a new webserver, you should find your bottleneck. There are several reasons for trying to find the bottlenect first.
- The "bridge" from the Atmel to Linux is very, very slow. (8 transactions/second, if i recall right.)
- You can run a database server on Yun, but it is slow to write. It should be for readonly. Unless you have a very good reason.
- The current webserver runs with compiled Lua - which is pretty fast. It is very light. I think lighter than lighttpd.
- PHP runs on both the current webserver (see SonnyYu bellow) and lighttpd. However, when you run PHP your server speed is reduced by 1/2 (more or less).
- You can add websocket for fast client/server communications (talk).
What would you like to do?
Jesse
SonnyYu's website for answers: http://ibuyopenwrt.com/
criminalkaoz:
The problem is that my app call constantly calls from the Arduino side to the linux side (mysql querys CRUD) and at the same time I go to the Web page app (mysql, php and graphs) the load is too slow. I think it is time to take the "light" side of the webserver. I dont now how can I have the web page app more fast in terms of loads (It is much seen in the navigation of the menu) 
The bridge function (REST API) has its speed limit.
Maybe you can try to use MQTT, WebSocket, or WebRTC to transfer the data from Arduino serial.
I'am still working on it, too.
Knowing how to get the data from arduino to MQTT is one thing, and knowing how to setup a server and parse the data is another thing.