Installing and removing software
OK, so now when you boot into Linux and SSH to your Xbox you should have a folder called samba_share. Anything you put in here will be available on your NAS.
Now it is time to install some software. Debian has a great command for installing software that checks all the dependencies, so there is no need to worry about that. We're going to install Samba to enable filesharing, and SWAT so that we have a nice GUI to configure Samba with.
Since we're also going to install the TorrentFlux BitTorrent client later, we'll also install the Apache webserver, MySQL database, and PHP4 scripting language. Although it's optional, we'll also install the phpmyadmin web-based GUI for administering the MySQL database.
apt-get update
(optional)
apt-get upgrade
apt-get install samba
apt-get install swat
apt-get install apache
apt-get install mysql-server
apt-get install php4
apt-get install phpmyadmin
Also as this is a headless install you might want to consider removing the X-Windows modules to free up some RAM. Type in this:
dpkg --purge xfs
(if you never intend to use it as a print server)
dpkg --purge x-window-system
dpkg --purge xdm
apt-get remove lpr
Now assuming all that went without incidence, you should have a fully working LAMP web server! On your PC's web browser go to http://ip_address/ (where you obviously put in the IP address of your Xbox) and you should get a screen telling that this page is under development.