Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verifying Squid

  1. Grant the permission on logs in the Squid installation directory.
    1
    chmod 777 /usr/local/squid/var/logs/
    
  2. Start Squid.
    1
    /usr/local/squid/sbin/squid
    

  3. Verify Squid.
    1
    ps -ef |grep squid
    

    If the Squid process is displayed, Squid is running properly.

    • Optional: Run the following command to stop Squid. Do not run this command when services are running.
      1
      /usr/local/squid/sbin/squid -k shutdown
      

    • Optional: Uninstall Squid and query the result.
      1
      2
      3
      rpm -qa |grep squid
      rpm -e --nodeps squid-4.8
      rm -rf /usr/local/squid/