Lighttp dedicated web server

By MACasuba • Jailbreak, Software • 18 dec 2011

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.)

Step Two,
Download Installation Script webtv2g.zip
Unzip webtv2g.zip
SFTP (with Filezilla / Cyberduck) webtv2g.sh > /private/var/tmp/
open SSH console (you can also use Putty)
cd /tmp
bash webtv2g.sh
Your Apple TV will reboot after the install

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.

Testing any lightttpd.conf changes, type :
lighttpd -t -f /etc/lighttpd.conf  (Test the lighttpd.conf)
killall lighttpd                         (Restart lighttpd)

You should now see something like this:

Tags: , , , , , , , , , , , , ,

Comments are closed.