I want my server to be portable so it will be available everywhere when I plug it in to other ubuntu computers.
Like I want to use it at school, I will just have to run a script and the server runs. Or on my friend's computer.
I wonder if this is possible, making servers portable, without re-installing on every other computers. I know that this is possible for windows.
If you need more information, comment below.
Portable server, includes, portable " PHP ", "mysql", "phpmyadmin", "apache2". Like the distribution of lampp, but I want that portable.
Is it possible to make lighttpd server portable too?
Sure; you can either specify an amount of extra space on the thumb drive to use as persistent storage when you create a drive using usb-creator normally, or, if you prefer, you can install Ubuntu directly to the thumbdrive as though it were a normal hard drive. Boot from the thumbdrive, and you're running your "portable server".
Before you start off, use Ubuntu's x86(32-bit image), as this will allow you to use both 32-bit and 64-bit machines. Yes, a 32-bit of the server is also available, just take look at the Alternative Downloads page. Also, I use Lili because its easy and I use Windows for setting up Ubuntu. You can use any other application, although for Method 2, you need an application which allows you to create Persistent Storage.
For method 1, you need another thumb drive(hereon referred to as Thumb drive 2), where you can use a software like LiLi to get that thumb drive bootable to install Linux.(I will also be calling the pendrive which you want to install the portable Ubuntu server version as Thumb Drive 1)
For method 2, you require only one thumb drive(Thumb Drive 1)
Method 1 -
It seems easy(just kidding no not that much).
Method 2 -
I personally prefer Method 1, as that way, drivers are installable easily, although rarely, it might not boot properly on certain machines(Not sure about this one, might happen between different chipsets, that is, if you switch between Intel and AMD) .
Various Links -