Installing the Squid service

To install the Squid service:

  1. If you are using the SUSE Linux Enterprise Server 15 SP1 operating system, connect the Server Applications Module. To do so, execute the command:

    SUSEConnect -p sle-module-server-applications/15.1/x86_64

  2. Install the Squid service package. To do so, run one of the following commands depending on the utilized operating system:
    • CentOS or Red Hat Enterprise Linux:

      yum install -y squid

    • SUSE Linux Enterprise Server:

      zypper install squid

    • Ubuntu or Debian:

      apt-get install squid

  3. Add the Squid service to autostart. To do so, execute the command:

    systemctl enable squid

  4. Start the Squid service. To do so, execute the command:

    service squid start

  5. Check the status of the Squid service. To do so, execute the command:

    service squid status

    The Active parameter must contain the active (running) value.

The Squid service is installed.

Page top