How to set up Squid - Proxy Server?
-
Hello ML people, So we have a project to set up the Squid - Proxy Serve. I understand that I can google and look for the source online, but I wanted to know if do you have the Best practice on how to set up.
I was still trying to figure out if i will set up on Linux server or Window server.
Would love to hear your opinion about this - -
Linux or Windows should not be a question unless there is outside pressure telling you that you need to do something special. Squid is native to Linux, more performant on Linux, all documentation assumes Linux, and Linux is free. No upsides to Squid on Windows, really should not even come up as a valid consideration unless there is additional information causing it to be so.
-
Another consideration is whether or not you want it to be transparent to the end-users or not.
-
And what is its purpose? Squid does many things, what will it be used for?
-
@scottalanmiller said:
And what is its purpose? Squid does many things, what will it be used for?
proxy and cache services for websites
-
@dafyre said:
Another consideration is whether or not you want it to be transparent to the end-users or not.
I'm not sure if they may want it to be transparent to end-users
-
@scottalanmiller said:
Linux or Windows should not be a question unless there is outside pressure telling you that you need to do something special. Squid is native to Linux, more performant on Linux, all documentation assumes Linux, and Linux is free. No upsides to Squid on Windows, really should not even come up as a valid consideration unless there is additional information causing it to be so.
No need to do something special, just server for Squid proxy is fine.
-
The update : I'm already finished installing the Squid Server, however after few testing in workstation I noticed its kinda slow.
-
@Joy said:
The update : I'm already finished installing the Squid Server, however after few testing in workstation I noticed its kinda slow.
Well, how have you set it up, what makes it slow and how are you using it?
-
Is it running as a VM? What platform? What OS did you use? What resources are you giving it?
-
Squid is one of those products where we could legitimately start talking about big RAID 0 consumer SSD arrays as the data is all about speed, not reliability. But SSD is valuable because we want all of the speed that we can get.
But Squid is only useful when you have multiple users hitting the same content that can be cached. If they are not doing that, it's just in the way.
-
@scottalanmiller said:
Is it running as a VM? What platform? What OS did you use? What resources are you giving it?
Yes, it is running as VM, Windows Server 2008 64bit.
-
@Joy said:
Yes, it is running as VM, Windows Server 2008 64bit.
Windows 2008? WHY WHY WHY!!!
That's a huge part of the problem. Windows 2008 is very old and very slow (that's Windows Vista, you know.) And Squid is not built to be run on there. This is wrong from so many angles. And then there is the unnecessary waste of money to consider.
Just install CentOS 7 or OpenSuse Tumbleweed.
-
No wonder you were having issues getting the install going in just a few seconds. Here is literally all that you need to install this on CentOS:
yum -y install squid
-
@scottalanmiller said:
@Joy said:
Yes, it is running as VM, Windows Server 2008 64bit.
Windows 2008? WHY WHY WHY!!!
That's a huge part of the problem. Windows 2008 is very old and very slow (that's Windows Vista, you know.) And Squid is not built to be run on there. This is wrong from so many angles. And then there is the unnecessary waste of money to consider.
Just install CentOS 7 or OpenSuse Tumbleweed.
it means we install it in CentOS 7.
-
@Joy said:
it means we install it in CentOS 7.
Of course, how did Windows even get suggested? I realize that Squid can run on Windows, but Linux is free, faster, and most importantly it is where Squid is native and where it is designed to run. Running Squid on Windows under the best of conditions makes little sense. Running it where you need a 2008 VM should never realistically get considered.
Why are you running Windows 2008 at all? What has caused that to be used for new installations?
-
@scottalanmiller said:
@Joy said:
it means we install it in CentOS 7.
Of course, how did Windows even get suggested? I realize that Squid can run on Windows, but Linux is free, faster, and most importantly it is where Squid is native and where it is designed to run. Running Squid on Windows under the best of conditions makes little sense. Running it where you need a 2008 VM should never realistically get considered.
Why are you running Windows 2008 at all? What has caused that to be used for new installations?
No one suggested to install proxy server on Windows 2008, I decided it in my own.
-
So i just Installed the proxy server on Centos. Now is the testing period
-
How is it doing?