How do I install apache
, php
, and mysql
on a usb flash drive in ubuntu? I know you can do it on windows, but I'd like to be able to run it from a linux operating system.
How do I install apache
, php
, and mysql
on a usb flash drive in ubuntu? I know you can do it on windows, but I'd like to be able to run it from a linux operating system.
There is XAMPP for Linux, but I'm still a bot unsure if it can be installed to a USB drive. Grepping trough XAMPP for Linux it becomes apparent that everything is hardwired to the /opt/lamp/ folder. The XAMPP installer will copy everything in this /opt/lamp/ and doesn't give you an alternative.
So if someone would move this folder to a USB-Stick, one would need to create a softlink cd /opt; ln -s /media/Enter-Label-of-USB-Stick/lamp
back to this place.
And you would need to do this on every PC where this stick is supposed to be used.
Note: Answer is untried and somewhat incomplete.