ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to set up Squid - Proxy Server?

    IT Discussion
    3
    19
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoyJ
      Joy
      last edited by

      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 -

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        JoyJ 1 Reply Last reply Reply Quote 3
        • dafyreD
          dafyre
          last edited by

          Another consideration is whether or not you want it to be transparent to the end-users or not.

          JoyJ 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            And what is its purpose? Squid does many things, what will it be used for?

            JoyJ 1 Reply Last reply Reply Quote 1
            • JoyJ
              Joy @scottalanmiller
              last edited by

              @scottalanmiller said:

              And what is its purpose? Squid does many things, what will it be used for?

              proxy and cache services for websites

              1 Reply Last reply Reply Quote 0
              • JoyJ
                Joy @dafyre
                last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • JoyJ
                  Joy @scottalanmiller
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • JoyJ
                    Joy
                    last edited by

                    The update : I'm already finished installing the Squid Server, however after few testing in workstation I noticed its kinda slow.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Joy
                      last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Is it running as a VM? What platform? What OS did you use? What resources are you giving it?

                        JoyJ 1 Reply Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 2
                          • JoyJ
                            Joy @scottalanmiller
                            last edited by

                            @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.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Joy
                              last edited by

                              @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.

                              JoyJ 1 Reply Last reply Reply Quote 2
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                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
                                
                                1 Reply Last reply Reply Quote 3
                                • JoyJ
                                  Joy @scottalanmiller
                                  last edited by Joy

                                  @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.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Joy
                                    last edited by

                                    @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?

                                    JoyJ 1 Reply Last reply Reply Quote 1
                                    • JoyJ
                                      Joy @scottalanmiller
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • JoyJ
                                        Joy
                                        last edited by

                                        So i just Installed the proxy server on Centos. Now is the testing period 😉

                                        1 Reply Last reply Reply Quote 2
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          How is it doing?

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post