LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-13-2005, 02:47 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Setting up RHEL... rookie to Linux


Hi guys, i am setting up a RHEL server for mail and dns

while setting up, we can set partitions right? What are the purpose for the different partitions? tmp, swap, boot, root, usr,etc, var etv.. what are the kind of files each folder/partition hold primarily? Can never understand..

secondly, i have set my network (eth0) to DHCP on start but it can't detect.. how do i configure it after installation to change it to static IP? where are the settings that i need to change?

thirdly, how do i start creating email account and testing it.. i installed squirrelmail with the installation

please advise
 
Old 05-13-2005, 05:03 PM   #2
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
The answer to your first question is it depends on what you want you Linux box to do. I'm sure that everyone has their own answers to this question. I am still figuring it out for myself but if I'm doing a generic install (not for a database, or a specific application) I tend to go very basic:

100 M /boot
1500 M /var (log files go here and can get out of control if it fills up it won't kill your system) If this is going to be a webserver with a bunch of content make this bigger or create a /var/www partition.
2 time RAM for swap
the rest I usually leave /
If users are actually logging into the box (not just using services) I will allocate a few gig to /home (again if it fills up it won't kill the system)

I usually leave a couple gig un-formatted in case i need to put it somewhere.

Table 3-2 at http://www.tldp.org/LDP/intro-linux/...ect_03_01.html shows each of the file systems and defines what goes in each. Maybe it will make it a bit clearer.

Network card:
/etc/sysconfig/network-scripts/ifcfg-eth1 is teh config file for a second nic.

It shouuld look something like this for static:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.255.0
GATEWAY=xxx.xxx.xxx.1

If Linux is not seeing your nic, I have not had much luck fixing that. I usually just put in a nic RHEL knows about. I'm sure there is a way, I'm just not quite to the level to give advice on it.

E-mail
I've never setup e-mail, so I can't help.

Dep
 
  


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
Mepis Rookie kraydl MEPIS 10 10-23-2005 06:37 PM
setting up VNC server on RHEL WS 3 nick1 Red Hat 1 10-24-2004 10:30 PM
hi, question of a rookie Killah Linux - Hardware 2 02-17-2004 02:10 PM
Linux Rookie woodyjohnson425 LinuxQuestions.org Member Intro 3 06-13-2003 07:57 PM
rookie questions TrevorW Linux - Newbie 2 04-26-2003 03:43 PM


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