Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hello guys, I would like to put together a proxy server to do DHCP and run Squid as proxyserver for cache purposes. Ive read some intro infos I read on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167

    Linux Squid Server


    Hello guys,

    I would like to put together a proxy server to do DHCP and run Squid as proxyserver for cache purposes. Ive read some intro infos I read on the web, and I have some questions:

    I would want it to run on Linux.
    Q1. which Linux distro is best for squid, i mean in terms of use and configuration, manageability(distro and squid) especially for newbies.

    Q2. I have RH9 installed on one of my pcs. As you know RH9 has a lot of packages I might not need on my proxy-server., etc. Im asking that do I have to install all the packages of a particular distro - just to get something like squid running, for ex: since my server is just going to be a proxy, and would do caching. I would be doing nothing on the server. Im thinking of how best to manage disk space.

    Q3. I read of the importance of having a large HD space for the cache_dirs. For ex: can I have 2Hard-disks on my server, for example, a 20GB disk where Linux(the necessary packages) will be installed, and a 40GBHD just for the caching?

    Q4 - from sample squid.conf settings, I read about the parent-child proxyings etc...and that if your parent proxy is down, all requests from your server will not go through.....
    - what if im not interested in any parent proxy or whatever, I just want my proxy server to have direct access to the internet?, but it'll still be caching.


    thanks
    Toks

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    A1. Your RH9 is quite a good distro for Squid and DHCP,
    AFAIK you could use any one that fits your knowledge and "look-a-like" needs.
    I do strongly suggest you to have a look into Webmin as for your easy management

    A2. When you do the installation, you should just choose those pakages that you are needed to have, that is Squid-Proxy, DHCP, Webmin, SSH.

    A3. It is allways a good practice to have a different hard disk for your proxy caching, since it is quite time consuming on this issue. However, Squid is also quite memory (RAM) consuming as well. And there are a few examples of configurations depending on the network size behind your proxy server.

    A4. No, there is no need to have a parent proxy, that is just an example of how you could build your proxy network. To do a chain proxy solution is good when it comes to very large network, where you might want to split out the caching on different proxy servers.

  3. #3
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167
    hello swemic,

    re A1 - pls whats AFAIK?
    re A2 - when I do a fresh Installation, how can I choose the packages......when I did my RH9 installation, I wasnt prompted to choose any packages, I just installed everything.

    cheers
    Toks

  4. #4
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167
    hello swemic,

    re A1 - pls whats AFAIK?
    re A2 - when I do a fresh Installation, how can I choose the packages......when I did my RH9 installation, I wasnt prompted to choose any packages, I just installed everything.

    cheers
    Toks

  5. #5
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167
    hello swemic,

    re A1 - pls whats AFAIK?
    re A2 - when I do a fresh Installation, how can I choose the packages......when I did my RH9 installation, I wasnt prompted to choose any packages, I just installed everything.

    cheers
    Toks

  6. #6
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    AFAIK == As Far As I Know

    Well, it was a while ago when I installed a RH9 my self, but I am very sure that you will during the setup have an option to do a customized installation.
    And that's where you actually specify what packets you wish to install. Otherwise, if this is a fresh installation, are there any specific reason why you choosed RH9? It is quite old in it's release from April of 2003.
    Well, even though I am sure for fact that you would have an opion to choose customized installation.

  7. #7
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167
    ok, thanks

    im not new to Linux, but new in the sense that ive just installed it myself....thats the RH9.

    Yes it will be a fresh installation and I have no reason for choosing RH9. In fact, ive not decided which distro I would use. I had actually asked in my first post for advice as to which distro would be best for such purposes as I had listed(first post).

    so pls, what distro would u advise.....if you could include hardware recommendations, t'would be great.

    thanks
    Toks

  8. #8
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    The distro is kind of free of your own choice
    I think and beleive that when you've done your own choice you have tested a few different distros, and foud your favorite distro, rather than listen to some1 elses pref.

    As fo HW pref, you should consider having quite a lot of memory if you beleive it will be a rush proxy with a lot of users. Since Proxy will first of all try to cache all current sessions/hits in memory, and as long as your cache file fits into your memory, the cache process will be rather fast. Never the less, a good set of fast hard drives will also be a good choice. Squid is not that rough on your CPU, unless you intend to have a lot of AntiVirus check, blacklist and so on. If you plan for a fully controlled Proxy, then you should have a good set of CPU as well. There are a few good practical examples how you should calculate your memory consumption and so on, just do a quick google and you'll find tons of good examples.

    But please do not be afraid of reading the squid.conf since it is very good commented and described on each setting. And you'll find a lot of good tuning tips in the example config file.

  9. #9
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    167
    yeah, I know that im free to choose a distro of my wish, I was just asking for recommendations from pros.......currently using/familiar with such distros/who have set up such servers before.....so that once I begin, I could get first hand help.

    anyway, suppose I would use RedHat9, could you list which/all the packages I would install, from the customized option.....or rather the most important packages for proxy etc.

    How about Suse, can it be used for such a proxy/squid/dhcp server?

    You said "Squid is not that rough on your CPU, unless you intend to have a lot of AntiVirus check"

    Yes pls, I would like to have an Antivirus check, block porn sites, blacklist etc. I would have about 10pcs in my small office. From your experience, what kinda board/cpu chipset will be best for the above/more.

    sorry for the whole lot of questions, I just want to get it right from the beginning.

    thanks
    Toks

  10. #10
    Just Joined!
    Join Date
    Aug 2004
    Location
    South Africa
    Posts
    17
    Distro, everyone has their favorites......

    Hardware, my server for a network of 15 PCs does Squid, Samba and print serving and serves as my X desktop. The only noticable lagg that I get is when I restart Squid and it reloads all of squidGuard's definitions. My system is 512Meg RAM, P4 2.4, the rest on board, nothing special at all.

    BTW I would not recommend Webmin, it has only given me headaches, and in the end you need to know how to fix the .conf files when Webmin or you (me) stuff up

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •