Build a dedicated Web server with Lighttpd:
If your goal is to create a dedicated web server on your Apple TV, you can simply follow next script files. In just a few clicks your up and running.
Note : the provided script by Technoids will disable your normal Apple TV functions, and will keep as much space free for the web server process. Sure, you can change the script if you want to enjoy your Apple TV2 features. In that case download this webatv2.sh script.
First step, setup your ATV2 for web server use. From the main menu select:
General > Sleep After = Never
Settings > Screen Saver > Start After = Never
Settings > Airplay = Off
nitoTV > Settings > AppleTV Updates = Disabled
nitoTV > Install Software > OpenSSH
Optional: Set TCP/IP as fixed - Settings > General > Network > Configure TCP/IP > Manual
Write down your IP
nitoTV > Settings > Reboot AppleTV (or press and hold the menu & play button for 7 sec.)
In your terminal you’ll see a green text trace of all the steps in the script.
Don’t worry if it takes a while. The last message should look like this:
Last step, test your web server, simply by typing your IP address (or devive name) as URL in your web browser. Like http://AppleTV.local.
You should now see something like this:
Tags: Apple TV 2, Apple TV2, AppleTV, ATV2, ATV2.nl, Bash, dedicated, iMHo.nu, Lghttpd, nano, nitotv, perl, script, web server