LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition to use in a web server an e-mail server (https://www.linuxquestions.org/questions/linux-newbie-8/partition-to-use-in-a-web-server-an-e-mail-server-660879/)

ljgomez5 08-06-2008 09:28 AM

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!!!

The_Trooper 08-06-2008 01:26 PM

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.

ljgomez5 08-07-2008 08:24 AM

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!

netman4ttm 08-07-2008 03:49 PM

/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.

farslayer 08-07-2008 03:59 PM

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.

ljgomez5 08-08-2008 09:38 AM

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....

farslayer 08-08-2008 10:40 AM

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.

ljgomez5 08-08-2008 11:10 AM

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

prasanta 08-08-2008 02:33 PM

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


All times are GMT -5. The time now is 12:17 AM.