The following document describes how to make a PC suitable for LAMP usage, so as to allow running the OTGL from the aeprojects.eu.pn (or aeprojects.tk) website off-line, on a LAN or WLAN. The benefit of having the packages downloaded for you (SliTazPackages zip-file) is that it allows people to set up their LAMP PC off-line, without needing an internet connection.
SliTaz was chosen as it is the lightest linux distro available, while still having a graphical user interface; as such it seems the best distro for any LAMP. There are some other lightweight linux distro’s that might be suitable though, i.e. TinyCore Linux, ...
Note that we rely mainly on a livecd for the SliTaz installation, rather than using a USB stick. Initially, I wanted to use a USB stick (=persistent media), and use a customised version of the SliTaz core distro.
However, after some problems with my USB ports, and after I came to the realization that many computers really don't come standard with a BIOS that allows booting from USB devices (only from CD-ROM or harddisk or floppy), and finally, the realisation that using SliTaz on a harddisk has performance benefits (at least when using large files; can cause crash due to running out of RAM), I switched to having the distro made on a cd instead, and advocating to write the OS to the harddisk.
Another benefit of this approach is that the constant pulling out/reinserting of the USB stick will ultimately render your USB stick useless (destroy it), whereas CD-ROMS won't suffer as much from being inserted/removed and due to the lack of writability, the user will often simply install slitaz to the hard disk (which is generally present in the machine anyway), which is actually preferred anyway for server use (for personal computers, it isn't necessarily so, as one might want/need to alternate between windows and linux). A final benefit is that the user might not need to alter the boot menu of slitaz, to add or remove logins for allowing persistence and non-persistence. This is also important as the target audience for the (aeprojects.tk) LAMP targets institutions/small organisations in developing countries, which might not have that much computer knowledge.
For the system you should use for your server: any (2nd hand) PC would do, but preferably use a desktop PC, with (much) more RAM than you actually need (a minimum for slitaz is 256mb, but due to the load of the server tasks -which itself depends on the number of visitors of the content you’ll host-, more is better). Remember that most of SliTaz runs in RAM (sometimes it will completely run in RAM, i.e. in case of using a LiveCD), so most tasks are run completely in RAM -unlike other operating systems as Windows or some other Linux distro’s), making this OS the most suited and the fastest OS for server tasks, but it also means you really need enough RAM on your machine to allow this. Besides using a desktop PC and possibly adding RAM and/or simply adding swap space (which does the same as adding RAM physically, at no cost -see here-), you best only install the programs you really need for server use, and remove those you don’t necessarily need (for example the GIMP and VLC are rather large programs that might not be necessary, at least not when using the PC as a server).
The files you’ll need to make the slitaz cd are available at:
Note that the zip file can simply be extracted, and the iso can be used as is. To make sure the file hasn’t been corrupted trough downloading, I also added in par2 files, you can use quickpar on these par2/zip/iso files to verifiy the files haven’t been corrupted, and if they are, repair them with it.
Note that after installation of slitaz, and after having installed the programs you want, you may want to remove the following programs (using TazWeb browser):
*LostIRC client (you may want to use Pidgin, perhaps with Bonjour protocol for LAN orWLAN chatting)
*Midori (and use firefox, perhaps with HTTPS everywhere plugin)
*Alsaplayer (use vlc player instead)
*ePDF PDF Viewer (use build-in PDF viewer in firefox instead)
*nano (use leafpad or abiword instead, or notepad++, ...)
*sakura terminal (use Xterm instead)
Also, you may want to swap lxpanel for adeskbar. To do this, you can start adeskbar with the “run” tool, then customise it to your preferences. Then add it to the “autostarted applications” and remove lxpanel from that list. Finally, remove lxpanel via TazWeb browser, and then reboot.