LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-22-2009, 02:03 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Debian Server Setup


Normally, If you install Debian (say Lenny), it is just like a regular Linux system with users directory in /home/.

However, how can I configure my Debian system to act like a Real server meaning:
a) Every user has their own public_html type directory so that any body (on Internal LAN) else can access their home page like:
http://192.168.0.1/~betty/
http://192.168.0.1/~john/


b) Also every user can install their own applications independently w/o affecting the entire system.

and so on...

Note that this is not a publicly (internet) available server meaning that this is only for internal LAN purpose and this computer will be behind a router always. All that I talked is only for Internal LAN access.
 
Old 07-22-2009, 02:20 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
a) This is an apache specific setting.

b) not sure you can do this other than using something like KliK where they put the programs in their /home directory.
 
Old 07-22-2009, 03:47 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by pljvaldez View Post
a) This is an apache specific setting.
Thanks for the specific link. I will look into it.

Quote:
Originally Posted by pljvaldez View Post
b) not sure you can do this other than using something like KliK where they put the programs in their /home directory.
However for my second question, there must be a way to do that because many web hosting companies that run on Debian does have that functionality where I can install applications specific to my user account.
 
Old 07-22-2009, 04:15 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
You mean web applications or have they given you a virtual machine for your server that you can install whatever you want system wide on your virtual machine?
 
Old 07-22-2009, 04:23 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by pljvaldez View Post
You mean web applications or have they given you a virtual machine for your server that you can install whatever you want system wide on your virtual machine?
I don't mean web applications or virtual machines. For example, say if you have an Linux-based web hosting account on GoDaddy or Bluehost or Dreamhost, you can pretty much install any Linux app (make; make install) into your own home directory. Mostly these machines run either RedHat or Debian to host web hosting accounts.
 
Old 07-22-2009, 04:48 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Well if they're just compiling their own programs then install build-essential and go home.
 
Old 07-22-2009, 05:49 PM   #7
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by AlucardZero View Post
Well if they're just compiling their own programs then install build-essential and go home.
I really quite didn't get what you are trying to say. Would you care to explain a bit in detail?

All I am looking is to configure my Debian system so that individual users can install applications in their own account. If there are certain set of scripts or standard way to do that already, I would like to know.
 
Old 07-22-2009, 06:01 PM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I was under the impression you were wanting to allow users their own installed programs through apt/dpkg. But if you just want to allow them to install compiled programs, you just need to system wide install the build-essential package, which will make sure the kernel headers and libraries are available to all users. Then they just have to mess with the targets in the Makefiles to install to their /home directory instead of to /usr/bin.
 
Old 07-22-2009, 06:14 PM   #9
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by pljvaldez View Post
I was under the impression you were wanting to allow users their own installed programs through apt/dpkg. But if you just want to allow them to install compiled programs, you just need to system wide install the build-essential package, which will make sure the kernel headers and libraries are available to all users. Then they just have to mess with the targets in the Makefiles to install to their /home directory instead of to /usr/bin.
Yes I think now you got it what I was trying to say. I was just wondering if any one has put together a guide which shows how to setup the system or what instructions to give to the users so that they can install programs locally.
 
Old 07-22-2009, 06:26 PM   #10
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
1. apt-get install build-essential
2. "Users, make sure to use configure flags to install programs in your home directory when compiling applications"
3. Close up shop, go home
 
  


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 setup mail server on debian ? dima1236 Linux - Networking 8 12-04-2008 09:35 AM
Wiki setup on Debian Server kushalkoolwal Debian 2 10-11-2007 08:05 PM
Postfix Server Setup on Debian? carlosinfl Linux - Server 2 08-01-2007 11:47 AM
Setup debian server Impaler Linux - Software 0 10-27-2004 09:43 AM
Debian Sarge Server Setup LinuxGeek Debian 4 10-19-2004 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration