LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-11-2009, 10:11 AM   #1
urentity
Member
 
Registered: Jan 2009
Posts: 48

Rep: Reputation: 15
specialised LAMP for a certain user


I have a production server with a specific LAMP setup.

I want to create a normal user account on the same server, also offering LAMP services, but with a slightly different setup, primarily a specially compiled PHP.

I think this is fairly feasible, but then I got to thinking why not have a special Apache and MySQL for the new user as well? But then I got to thinking that this - especially the apache - could be more trouble than it's worth, because they're daemons, and would clash with the server main LAMP installation. LAso the bind server, which I am also running may give me problems.

Does anybody know how hard that is to do? It may be a normal task for a sysadmin .. is it? I'm not sure.
 
Old 04-11-2009, 11:06 AM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 32
Doing this is perfectly feasable, I have done this before in a chroot environment.

Your only probelm will be that:
  1. Unless you have more than one IP, you will need to change the port for Apache, MySQL, etc
  2. To listen to ports less than 1024, the damons need to be started by root and not by a normal user
 
Old 04-11-2009, 11:30 AM   #3
urentity
Member
 
Registered: Jan 2009
Posts: 48

Original Poster
Rep: Reputation: 15
thanks saman007uk,

I don't think I want to go chroot way .. it become too much of a virtual machine then.

Yes, only one ip, hmm the ports thing sounds complicated ... I may want to forgo that. I think I'll just stick to a special PHP which gets prioirty over the other PHPs that are installed via $PATH setting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to enable in LAMP multiple website user? RMLinux Linux - Newbie 2 12-02-2008 03:38 AM
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
LXer: LAMP vs. LAMP LXer Syndicated Linux News 0 08-22-2006 11:33 PM
Why should use LAMP ? LinuxLover Linux - General 8 03-29-2006 10:55 PM
Specialised technicians distro? sleepisforwimps Linux - Distributions 12 05-11-2005 05:31 PM


All times are GMT -5. The time now is 02:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration