Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4864  / 2 Years ago, sat, july 2, 2022, 2:28:37

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.


More From » 12.04

 Answers
1

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.


[#29012] Sunday, July 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sipwing

Total Points: 245
Total Questions: 100
Total Answers: 118

Location: Aland Islands
Member since Thu, Oct 22, 2020
4 Years ago
sipwing questions
Sun, May 29, 22, 22:00, 2 Years ago
Fri, Jun 24, 22, 08:46, 2 Years ago
Fri, Dec 23, 22, 00:04, 1 Year ago
;