LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-25-2004, 12:32 PM   #1
CatchFlipsidE
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Rep: Reputation: 0
Looking for a very basic HOWTO on setting up a web server


Hey all,

While I use UNIX on a daily basis at work, I am very much a newbie to any kind of UNIX/LINUX system administration. Can any of you point me toward a HOWTO on setting up a webserver that includes how to set up permissions on /var/www/html.

Edit: I just want to let you all know that I already have apache installed on my Fedora Core 2 box.

Thanks in advance

FlipsidE

Last edited by CatchFlipsidE; 08-25-2004 at 12:34 PM.
 
Old 08-25-2004, 12:35 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Apache pretty much runs out of the box, is there anything specific that you're trying to achieve?
 
Old 08-25-2004, 12:36 PM   #3
CatchFlipsidE
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Yeah, I'm very curious about the permissions I need to set on the /var/www/html directory. I want to allow a non-root user to be able to write to this area.

Out of the box, it's owned by root:root with 755 permissions. Do I need to set up a new group making both root and another user part of that group and make the permissions 775?

Thanks

FlipsidE
 
Old 08-25-2004, 12:44 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
the way numbered permissions go is [user][group][everybody else]
if you made it 775, you'd have to make whomever you wanted to have write access to it a member of apache's group
 
Old 08-25-2004, 12:49 PM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
That'll depend on how the user is going to access that directory, if the user has shell or ftp login then the user or his group needs to have write permission to the directory, so yeah what you said would be correct.
 
Old 08-25-2004, 01:02 PM   #6
CatchFlipsidE
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Original Poster
Rep: Reputation: 0
My intent is to make root have as little part in non-administration issues as is possible. Even if I am the only one who will be accessing this box, I would rather be editing, creating, deleting, etc. files with another userid than root (whatever that username may be).

FlipsidE
 
  


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
Setting up a basic email server Elijah Linux - Networking 2 09-02-2005 02:40 AM
Looking for a very basic HOWTO on setting up a mail server CatchFlipsidE Linux - Newbie 2 08-25-2004 01:08 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Web Server Administration howto Gear_freak2000 Linux - Newbie 5 04-29-2004 05:21 AM
Secure Web Server HowTo from SuSE mcleodnine Linux - Security 0 08-02-2001 09:41 PM


All times are GMT -5. The time now is 03: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