Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Has anyone installed XAMPP under a normal Linux user account without root permission? Or alternatively install Apache, MySql, Php one by one?

The purpose is to leave nothing in the main Linux system after you delete the installation. Running a small background process as root to redirect port 80 to the user port is ok.

I've seen one of the big Linux advantages is that you know where the packages' files are and can quickly install some packages and test some ideas out without leaving a messy trace in the main system. However I can't find out an easy way to install XAMPP under a normal user account. On the other hand, Microsoft has been asking new software developers to enable installation of new software under a normal user account (UAC - the term used by them). Another note, best not to use any virtual machine.

Any idea will be appreciated.

Update May 15 2011: I started a project The goal is to build an installable binary package. Now we only have a makefile to build and install from sources.


migration rejected from Jun 12 at 15:04

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by EEAA Jun 12 at 15:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – EEAA
If this question can be reworded to fit the rules in the help center, please edit the question.

Do you want it to act like a real web server? Apache can't bind to port 80 without root permissions – Intrepidd May 8 '11 at 17:56
I'm thinking either using port 8080 or using some kind of port-redirection. Running a simple step in root is ok, as long as not to change the main system permanently. – minghua May 8 '11 at 18:32