Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-02-2007, 01:10 PM   #1
LQ Newbie
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0

Hello All,

I am a Solaris admin who has just been given a project that will involve Red Hat Enterprise 4. I have no experience and am feeling a bit dumb. I have a couple questions:
1-What is the best way to partition a Linux server? (IE. You have / …./var…../usr…/user/local…../tmp…..etc) Should they all be separate file systems?

2-As a Red hat nubie……where can I find a step by step guide on setting up a kick start server ( I would like to set up a environment like jumpstart for those are familiar with SUN Solaris)

I’m a lost here so the simpler it is the better : )
Old 05-02-2007, 02:03 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
I don't know about a "best" way, it all depends on what you are trying to achieve. As a rule, the all-in-one-partition approach has the advantage that you won't run out of space any time soon. The multiple partitions approach, however, tends to be somewhat more secure (if little providing that the box is well-secured). I like to use swap, /, /usr, /var, /tmp and /home partitions. It reduces the risk of anything or anyone breaking into a directory they should not have access to. It also reduces the risk of the whole system going down because a partition fills up for one reason or another. The most convenient solution is to use a Logical Volume Group, which allow for growing partitions as the need arises.

The best source of information I am aware of is a book, the "Fedora Core 5 and Red Hat Enterprise Linux 4 Bible". One piece of advise it offers is to install RHEL on one computer, then use the anaconda-ks.cfg file from the root directory as a basis to draw up your kickstart file. It also has tons of information on setting up any kind of server. I'm sure this information can be gathered from the net as well, I just haven't bothered doing the research after getting the book.

Last edited by jay73; 05-02-2007 at 02:05 PM.
Old 05-02-2007, 02:08 PM   #3
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
I have no experience
You'll get it in time, if you'll want.

am feeling a bit dumb.
You have no reason to.

For Q1: Well basically it depends on what you want to do with the system. For the bare minimum you should have two partitions: / (root partition) and a SWAP partition. Some like to keep it simple, and use the above "partitioning scheme", others (myself included) don't.

Personally I like to at least keep /home separate from the rest, as it allows me to reinstall/whatever without having to move around user's data.

I have the following partitions: /, /tmp, /usr, /var, /home, SWAP. I don't recommend this scheme to anyone. It works for me, for various, personal reasons.

Try to see where RedHat stores a lot of data before deciding on which partitions to make and of what sizes.

Take for example myself, wanting to make a /var partition, and running Gentoo Linux, I made it 2 GB big because portage (Gentoo's package management system) needs a relatively large /var when compiling big pieces of software. I've also made /usr pretty big as that's where the portage tree lies. And where all the distfiles are stored. Etc.

When I move to a new distribution, I try to find some people who already use it, ask them nicely to post the output of:

df -h
and specify a bit about what they have installed (i.e. big GUI applications, or a close to 100% CLI system etc.), and what they use it for; and if possible what the logic is behind their partitioning scheme.

I have never used RHEL so I can't help you from this point of view.

Many people have the opinion that the SWAP partition should usually be 2*(size of ram). However if you have 2GB of RAM I don't know if you really need 4GB SWAP. But for 128/256/512MB RAM .. seems to work pretty good.
Old 05-03-2007, 02:31 PM   #4
LQ Newbie
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0

Thank You all for the replies......Working now on reading (RTFM)



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
Nubie dvpatel Member Intro 3 04-16-2007 07:33 PM
nubie billairds Member Intro 2 02-10-2007 01:52 AM
Mail Server Nubie mblames Linux - General 1 07-21-2006 09:49 PM
Not-so-nubie Introduction dokpm0 Member Intro 1 07-13-2006 01:46 PM
qt + kdevelop help needed for nubie CrazyPilot Programming 1 03-25-2004 01:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 AM.

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