LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-06-2008, 09:28 AM   #1
ljgomez5
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Post Partition to use in a web server an e-mail server


Hello, I need to know what will be the better basic partition to use in a web server and mail server. Thanks!!!
 
Old 08-06-2008, 01:26 PM   #2
The_Trooper
Member
 
Registered: Jan 2008
Distribution: Fedora Core 9
Posts: 33

Rep: Reputation: 15
Well the "best" file system for something seems to be opinion based. To the best of my knowledge ext3 is a slight bit slower than xfs or jfs but xfs and jfs are not quite as secure. I hear reiser3 is a mess when something goes wrong but it fast. I tried reiser3 and haven't had any problems but that doesn't mean they won't happen to you. I've used reiser4 also, while it's nice and all (every time I accidentally corrupted it it was easy to fix and no files were corrupted) you have to recompile a kernel with a reiser4 patch when a new one comes out and reiser4 (this is for most distros anyway), along with reiser3, is unsupported. It really depends on what you are looking for in a file system.

Last edited by The_Trooper; 08-06-2008 at 01:31 PM.
 
Old 08-07-2008, 08:24 AM   #3
ljgomez5
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Partition

Hello, thanks for your answer. But my question is about in how many basic FS I have to configure, for example /var, /home, /usr... etc...
there is a best practices for web and mail server???
thanks again!
 
Old 08-07-2008, 03:49 PM   #4
netman4ttm
Member
 
Registered: Aug 2007
Distribution: FreeBSD 8.0 xubuntu
Posts: 49

Rep: Reputation: 16
/var should always be on a separate partition; even better a separate disk as this is where your logs and other temporary files go to. applies to mail and web.
/home Is not important on a web server and probably not needed on a mail server but check where mail is stored for your users by the MTA you are planning to use. It does need to exist even if it is small.

When you create / any other needed directory you don't specifically create will be created there.

I generally use 40% of a single drive for /var and format as xfs. I create a swap file that is 2 times the size of the ram. I create a 200MB partition for /boot and format it as ext2. The remainder of file system / is xfs. (xfs is secure)

If you run Zimbra as your mail server create a partition for /opt; since that is where all the mail goes.
Basically, create your directories as dictated by the programs you plan to run.

Last edited by netman4ttm; 08-07-2008 at 03:51 PM. Reason: additions
 
Old 08-07-2008, 03:59 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
My mail server stores mail in the user home directories (postfix with Maildir) so /home needed to be rather large.

a webserver typically defaults to having the website files in /var/www so var would need to be a decent size.

You need to have a basic understanding of the application you are installing and how it will be configured to know where the data will be stored so you can plan your file system accordingly.
 
Old 08-08-2008, 09:38 AM   #6
ljgomez5
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
installation problem

hello, I am installing red hat 5 enterprise edition. The installation finished good but after the first reboot appear a screen to do some installations additionals, in Setup software updates I can't continue because the server can't connected to internet to verify the license. What can I do in this case....
 
Old 08-08-2008, 10:40 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Without a License or support subscription I don't think you can get updates to RHEL.(RHEL is a COMMERCIAL distro, not a FREE Distro.)
You could always purchase a support subscription from RedHat

If you are not going to spend the money on a support subscription, I would recommend you run Centos 5 instead, at least then you could get security updates.

Quote:
CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor (**cough** Redhat **cough**). CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. (CentOS mainly changes packages to remove upstream vendor branding and artwork.) CentOS is free. CentOS is now accepting donations via PayPal, please click the button for more information.
 
Old 08-08-2008, 11:10 AM   #8
ljgomez5
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
web browser problem

hello, I already install red hat 5 but I can't use the web broser, when I try to open does not happend. From a terminal session I can ping any web site. I have to install mozilla or what can I do?... thanks
 
Old 08-08-2008, 02:33 PM   #9
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
You can have the /home,/var and /tmp on different partitions. Mail normally will be in your /var ( /home in case you are not using Maildir format).

Better you use a text based browser like elinks. It is better not to run X on a server box.

Regards,

--
Prasanta
 
  


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 monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
Perl/Web (www) server needs to use mail server for sending forms. dskv Linux - Server 4 04-08-2008 12:34 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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