Instructables
Picture of Harddiskless web server.
In an earlier instructable, a "No hard drive network" ( http://www.instructables.com/id/No-hard-drive-network/) was discussed. Now is time to carry that theme with a no hard disk web server.  Why you ask? In emergencies or in disaster situation, it may be imperative to get information out quickly. You will be able to set up a web server without disturbing an existing machine or where the hard drive has failed. For example: you web server hard drive(s) have failed and you do not want to have an empty site facing the public. You can use the no hard disk web server to keep your site up and let users know what is going on till repairs can be made. 

Note: Read the whole instructable through first. This instructable was mean for at least intermediate to advanced users. Please get a professional to help if you at all feel uncomfortable with doing any of this instructable. I will not be responcible for any issues. Also some thumb drives may not work with this set up. Try at your own risk.
 
Remove these adsRemove these ads by Signing Up

Step 1: What is needed.

Picture of What is needed.
1 - Working computer running ubuntu to download software and create the image on the usb drive.
1 - Host computer with a usb port that can boot from the usb port..
1 - Usb drive large enough to hold all the files.

Step 2: Get the software.

Picture of Get the software.
UNetbootin.png
You will need the software:

Current mini version: 1.1 from http://lamppix.tinowagner.com/

Install unetbootin from the Ubuntu software center.

or get from http://unetbootin.sourceforge.net/

Step 3: Put your web documents into an archive.

Picture of Put your web documents into an archive.
Go to the directory where the web pages you have created are and create and archive. This file will be copied to your usb image later. (I took mine from an existing server.)

sudo tar czf htdocs.tar.gz *

(your web server's document root
- Pack all your documents into the tarball htdocs.tar.gz, i.e.:
# tar czf htdocs.tar.gz *)