Sie sind auf Seite 1von 18

Squid Installation

Guide

Overview
This guideline explains step by step how to default
install squid using source code in Ubuntu Server 14.04
for Windows user.

Requirements
Windows client with WinSCP/PuTTy installed
Minimal installation of Ubuntu Server (install opensshserver)
Internet should be working on Ubuntu Server
Root level access

Workflow

Establish a
remote
access to
Ubuntu
Server from
Windows
client

Install Squid

Setup write
permissions
Log files
Cache
directory

Start Squid

Configure
browser to
use proxy

Establish a remote access


to Ubuntu Server from
Windows client

Install Squid

1. Install dependencies (apt-get install devscripts -y)


2. Download Squid source code (wget http://www.squidcache.org/Versions/v3/3.5/squid-3.5.22-20161010-r14098.tar.gz)
3. Extract Squid source code (tar xzf squid-3.5.22-20161010r14098.tar.gz)
4. Change directory to Squid source code (cd squid-3.5.22-20161010r14098)
5. Enable/disable features, select required OS specific settings (
./configure)
6. Compile Squid (make)
7. Install Squid (make install)

Setup Write
Permissions

chown -R nobody /usr/local/squid/var/logs


chown -R nobody /usr/local/squid/var/cache/squid

Start Squid

/usr/local/squid/sbin/squid

Configure Browser to
use Proxy

Test browsing

Questions?

Das könnte Ihnen auch gefallen