PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Partitions
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Partitions

Réponse
 
LinkBack Outils de la discussion
Vieux 04/10/2006, 15h49   #1
Jerim79
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Partitions

I am setting up a new Apache server on Linux. I am wondering what
partition scheme I should go with. This will be just a webserver. I
read recently that you should give certain directories their own
partitions. What partitions are the most important ones for Apache?

  Réponse avec citation
Vieux 04/10/2006, 17h22   #2
Jim Hayter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Partitions

Jerim79 wrote:
> I am setting up a new Apache server on Linux. I am wondering what
> partition scheme I should go with. This will be just a webserver. I
> read recently that you should give certain directories their own
> partitions. What partitions are the most important ones for Apache?
>


In my experience, you want to be careful where you put Apache's log
files. Someone hitting your server hard can cause rapid growth in the
log files. Better to fill a partition other than the root partition.

Jim
  Réponse avec citation
Vieux 04/10/2006, 23h36   #3
Stuart Miller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Partitions


"Jerim79" <mylek@hotmail.com> wrote in message
news:1159973376.707327.94890@i3g2000cwc.googlegrou ps.com...
>I am setting up a new Apache server on Linux. I am wondering what
> partition scheme I should go with. This will be just a webserver. I
> read recently that you should give certain directories their own
> partitions. What partitions are the most important ones for Apache?
>

My first question would be - what is you experience with Linux?

If you are experienced, I would suggest that your web-root be on its own
partition, and that you make the size for your /var partition reasonable for
the logs, and that is a function of the traffic you expect. Generally apache
rotates the logs monthly, so they can get quite big.

If you are new to linux, then I suggest you try mandrake/mandriva, which is
what I use.
/ can be about 10 gigs
/home about 10
/etc about 10
/var 5 to 10
/web all the rest
I happened to have a 250 gig drive free for this application, so my web
server has 200 gig of free space right now.


This departs from the tradition of not adding to the 'root'. All 'growable'
things should be in /var along with all the logs, but I do not like that.

The logs go to /var/log/httpd If the logs run wild, as mine did once, you
get your warnings that the /var partition is full, but no data is lost. If
your web root were there too, you might loose things or you might not find
out about the problems until way too late. Runaway logs files often indicate
a configuration error - like accidentally having an open proxy.

Ask if you would like more detail.

Stuart



  Réponse avec citation
Vieux 04/10/2006, 23h36   #4
Stuart Miller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Partitions


"Jerim79" <mylek@hotmail.com> wrote in message
news:1159973376.707327.94890@i3g2000cwc.googlegrou ps.com...
>I am setting up a new Apache server on Linux. I am wondering what
> partition scheme I should go with. This will be just a webserver. I
> read recently that you should give certain directories their own
> partitions. What partitions are the most important ones for Apache?
>

My first question would be - what is you experience with Linux?

If you are experienced, I would suggest that your web-root be on its own
partition, and that you make the size for your /var partition reasonable for
the logs, and that is a function of the traffic you expect. Generally apache
rotates the logs monthly, so they can get quite big.

If you are new to linux, then I suggest you try mandrake/mandriva, which is
what I use.
/ can be about 10 gigs
/home about 10
/etc about 10
/var 5 to 10
/web all the rest
I happened to have a 250 gig drive free for this application, so my web
server has 200 gig of free space right now.


This departs from the tradition of not adding to the 'root'. All 'growable'
things should be in /var along with all the logs, but I do not like that.

The logs go to /var/log/httpd If the logs run wild, as mine did once, you
get your warnings that the /var partition is full, but no data is lost. If
your web root were there too, you might loose things or you might not find
out about the problems until way too late. Runaway logs files often indicate
a configuration error - like accidentally having an open proxy.

Ask if you would like more detail.

Stuart



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h53.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12891 seconds with 12 queries