LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Need guidance for Hard disk partitions for squid server. (https://www.linuxquestions.org/questions/linux-networking-3/need-guidance-for-hard-disk-partitions-for-squid-server-856001/)

gardenair 01-12-2011 11:22 PM

Need guidance for Hard disk partitions for squid server.
 
Hi,
To use squid i want to install linux in my 200 GB hard disk. I need guidance regarding to installation phase. A server which will be dedicated for squid proxy what things should I keep while installing my red hat linux operating system.I mean the partition sizes for swap ,root ,boot and any partion for squid cache should I need during making partitions ?
thanks for help
garden

gardenair 01-13-2011 01:38 AM

well if I do as

boot - 100-150M
/ - 200M
/usr - 50G
/tmp - 2G
/var - 100G (since squid is going to store lost of caching files)
/home - Rest of the space


what is your opinion ?

tallship 01-13-2011 04:13 AM

Quote:

Originally Posted by gardenair (Post 4222590)
well if I do as

boot - 100-150M
/ - 200M
/usr - 50G
/tmp - 2G
/var - 100G (since squid is going to store lost of caching files)
/home - Rest of the space


what is your opinion ?

OMG man!

hey do you have like a 40GByte drive laying around? Unless you're running Varnish or Squid in front of a facebook or IBM I don't see you needing .2 TB

But then again, storage is cheap ;)

/boot = 2GB (ext2)

SWAP = 4GB (type 82)

/ = the rest (XFS) - unless you really have a need to save your /usr/local /usr/src /usr/share /var /opt and /home dirs on separate partitions, in which case you might want a partition to mount your /home /opt /usr and /var directories, and maybe even break out /usr/*** into the dirs shown above.

All you're doing is caching html pages and other small items, for the most part.

And I certainly wouldn't use Redhat - arggh!

If you really find that you *must* use an RPM based distro, then I recommend you look at CentOS - otherwise, man up and use Debian, Arch, or Slackware ;)

Hope that helps :)


All times are GMT -5. The time now is 10:09 AM.