Step by Step Install Squid Proxy Server on Fedora 11

 

Step by Step Install Squid Proxy Server on Fedora 11.

 

   The step by step below show how to install squid proxy server on Fedora 11 system.  The example on step by step install squid proxy server below use the Fedora 11 DVD (Fedora 11 installation DVD) as source of installation package.  If your Fedora 11 system connected to internet, you may skip step no 3 and step no 4.  Please note that these squid proxy server installation on Fedora 11 is done for educational purpose only and its done in step by step manner... so some of step just for informational purpose only and if you wish... you may skip these step..

 

Install Squid Fedora 11.

 

1.  Open Fedora 11 x terminal, (Applications -> System Tools -> Terminal)

GNOME Fedora 11 terminal

 

2.  Execute the su command as show on example below to and enter root user password to become as root user. 

 

[fedora11@localhost ~]$  su -

Password:   <-- key in root user password here and hit Enter key

[root@localhost ~]#

 

3.  To install squid using Fedora 11 DVD, you must edit the Fedora11 yum configuration file so that yum will use the Fedora 11 DVD as software package installation source.  Make sure that you mount the Fedora 11 DVD on Fedora 11 system before you proceed to next step.

 

4.  If you do not have internet connection to your Fedora 11 system, you must disable all other Fedora 11 software package repository... if you got good internet connection just proceed with step 5 

 

5.  Check if squid proxy server already install on your Fedora 11 system.

check squid installation on Fedora 11

[root@localhost ~]# yum list installed *squid*

Loaded plugins: refresh-packagekit

Error: No matching Packages to list

[root@localhost ~]#

 

6.  List available squid proxy server package that comes with your Fedora 11 DVD, or if you connected to internet... the yum command below going to list available squid proxy server software package for your Fedora 11 system.

squid proxy server package Fedora 11

[root@localhost ~]# yum list *squid*

Loaded plugins: refresh-packagekit

Available Packages

squid.i386         7:3.0.STABLE13-1.fc11         fedora-dvd

[root@localhost ~]#

 

7.  You can use yum info squid command if you want to get more information about squid package for Fedora 11 that we are going to install on these step by step example.  The command example below show the output from yum info squid command... you can proceed to the squid installation process on step 8 without executing the yum info squid command... the yum info squid just for informational purpose only...

information about squid package for Fedora 11

[root@localhost ~]# yum info squid

Loaded plugins: refresh-packagekit

Available Packages

Name       : squid

Arch       : i386

Epoch      : 7

Version    : 3.0.STABLE13

Release    : 1.fc11

Size       : 1.6 M

Repo       : fedora-dvd

Summary    : The Squid proxy caching server

URL        : http://www.squid-cache.org

License    : GPLv2+

Description: Squid is a high-performance proxy caching server for Web clients,

           : supporting FTP, gopher, and HTTP data objects. Unlike traditional

           : caching software, Squid handles all requests in a single,

           : non-blocking, I/O-driven process. Squid keeps meta data and especially

           : hot objects cached in RAM, caches DNS lookups, supports non-blocking

           : DNS lookups, and implements negative caching of failed requests.

           :

           : Squid consists of a main server program squid, a Domain Name System

           : lookup program (dnsserver), a program for retrieving FTP data

           : (ftpget), and some management and client tools.

 

[root@localhost ~]#

 

8.  Execute yum install command below to start install squid on Fedora 11 system... your squid proxy server version may vary than show on the output of the command example below, but not to worry because you may got the latest version of squid proxy server available for your Fedora 11 system.

Step by Step Install Squid Proxy Server on Fedora 11

[root@localhost ~]# yum install squid*

Loaded plugins: refresh-packagekit

fedora-dvd                                       | 3.7 kB     00:00

fedora-dvd/primary_db                            | 1.7 MB     00:00

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package squid.i386 7:3.0.STABLE13-1.fc11 set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

========================================================================

 Package    Arch      Version                     Repository       Size

========================================================================

Installing:

 squid      i386      7:3.0.STABLE13-1.fc11       fedora-dvd      1.6 M

 

Transaction Summary

========================================================================

Install      1 Package(s)

Update       0 Package(s)

Remove       0 Package(s)

 

Total download size: 1.6 M

Is this ok [y/N]: y   <-- type in 'y' to agree and hit Enter key

Downloading Packages:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2

fedora-dvd/gpgkey                                | 1.6 kB     00:00

Importing GPG key 0xD22E77F2 "Fedora (11) <fedora@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

Is this ok [y/N]: y   <-- type in 'y' to agree and hit Enter key

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : squid                                            1/1

 

Installed:

  squid.i386 7:3.0.STABLE13-1.fc11

 

Complete!

[root@localhost ~]#

 

9.  Verify that squid proxy server successfully installed on your Fedora 11 by executing yum list squid command as show on example below...

squid installed on Fedora 11

[root@localhost ~]# yum list squid

Loaded plugins: refresh-packagekit

Installed Packages

squid.i386         7:3.0.STABLE13-1.fc11          installed

[root@localhost ~]#

 

10.  Now you can start configure squid proxy server on Fedora 11 by edit and configuring squid.conf configuration file.  Use cd command as show on example below to go to /etc/squid/ directory where the default squid configuration file (squid.conf) located and start configure squid :-).

Squid proxy configuration files squid.conf

[root@localhost ~]# cd /etc/squid/

cachemgr.conf          mime.conf.default

cachemgr.conf.default  msntauth.conf

errors/                msntauth.conf.default

icons/                 squid.conf

mib.txt                squid.conf.default

mime.conf

[root@localhost ~]#

 

Keywords: install squid fedora 11, install squid fedora 11 dvd, install squid proxy fedora 11, install squid proxy server fedora 11, install proxy fedora 11, install proxy server fedora 11, squid fedora 11 

 

aaaaaaaaaaa