Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
Why don't you create a virtual machine? Virtualbox and VMWare player are free on any operating system, you just need to move the VM harddisk image. –  Niels van Reijmersdal Nov 13 '12 at 13:21
The entire virtual image is not very lightweight compared to a server on my thumbdrive. Furthermore, I was a windows user, I am quite used to the lightweight xampp and portable software. Also, I don't have many files to host. –  owl Nov 13 '12 at 13:35

1 Answer 1

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

share|improve this answer
oh, wait, you want the software to run ON other ALREADY BOOTED ubuntu machines? um, it's possible, but it's probably more of a pain than it's worth - you'd need basically to configure each daemon to look for libraries, binaries, spool directories, etc on the thumb drive rather than in the standard location. You'd also need to be root on any computer you ran this stuff on. It's possible, but I don't think it will be very practical. –  Jim Salter Nov 26 '12 at 3:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.