LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-04-2005, 11:05 AM   #1
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Rep: Reputation: 15
RHL4 Partitioning + Rolling ApacheSSL/MySQL/PHP


I have a machine with 40GB of space. I am going to install RHL4 on it and need some partition suggestions. I have installed several linux boxes for my own use and always used the system automatic partitioning.

The first time you install linux you normally have options to install Apache Web Server, MySQL, PHP. Should I install this options separately or I would be better off doing it at the time of first installation?


Thanks.

Last edited by ceci2; 03-04-2005 at 02:58 PM.
 
Old 03-06-2005, 04:29 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Well, everything depends on what do you want to use it for. If the versions in RH are OK for you, use them - packages make it easier to maintain. If you have a specific needs and the versions in the packages lack them - you need to install on your own.

Partitioning...depends on how much you want for the pages and where Apache and MySQL will be installed. A suggestion:
/ 5GB
/home 1GB
/boot 200MB
swap 512MB max
/var the rest
But...it may be a good idea to have WWW (usually /var/www), MySQL (/var/lib/mysql) and logs (/var/log) separately. So you may also have /var in /, but the three dirs on separate partitions.
 
Old 03-11-2005, 10:07 AM   #3
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Mara,

thank you for your recommendation. I have another question. I am looking for secure and stable Unix version of Apache and MySQL, any thoughts?

I have heard that apache_1.3.9 and 4.01 MySQL are very reliable but before I make my final decision, I need some input.

Thanks.
 
Old 03-11-2005, 01:28 PM   #4
tinmaddog
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
I have had a lot of luck with MySQL 4 and above. Very good read performance.

I only run Apache 2 (current), which I have also found very stable. Other people, however, do indeed prefer the 1.3x version for php apps, although I run a few php installations myself and have not yet had a problem with apache 2.

tmd
 
Old 03-11-2005, 01:51 PM   #5
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Thank you!
 
Old 03-18-2005, 09:21 AM   #6
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
recomended mount point for 2nd Hard Drive

Forgot that my PC has a Primary and a 2nd Hard Drive with 40GB each and 1GB memory.

The recommendation below would work well for the Primary Hard Drive.
I would like to use the Second HD to store Data.

If I want to do this, what is the recommended Mount Point? If I also use the 1st hard drive, will I still be able to use the second hard drive later after the installation is complete?

Since I have 1GB of memory, 'swap' will have to have twice that amount which would be 2GB, right?

Thanks again.



/ 5GB
/home 1GB
/boot 200MB
swap 512MB max
/var the rest
 
Old 03-23-2005, 03:27 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Re: recomended mount point for 2nd Hard Drive

Quote:
Originally posted by ceci2
I would like to use the Second HD to store Data.

If I want to do this, what is the recommended Mount Point? If I also use the 1st hard drive, will I still be able to use the second hard drive later after the installation is complete?
It's up to you and the data you wnat to store. You can name the mount point in any way you wish.
Linux sees all drives available in the sytem, no matter which it is installed on.

Quote:
Since I have 1GB of memory, 'swap' will have to have twice that amount which would be 2GB, right?
The rule 'swap=2xRAM' is quite old and was true for older machines, but now make such swap only if you really need it. If you want a server, make swap small (512MB) and start thinking about more memory when more than 10% of swap is used, because performance drop is uncceptable.
 
Old 03-23-2005, 04:41 PM   #8
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for your response.
 
  


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
mysql-server4.1 and mod php-mysql conflig kernelvn *BSD 0 06-18-2005 11:52 AM
RHL4 contains a file with errors. ceci2 Linux - General 2 03-04-2005 12:58 PM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 08:54 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:22 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
Open Source Consulting | Domain Registration