In this case, installation is a two-part process:

1. Install Websense software.

On the designated machine or machines, install Websense components. See the Installation Guide for instructions.Websense Filtering Service must be installed on its machine before installing the Websense Squid plug-in on the Squid machine. Filtering Service must be installed as integrated with Squid Web Proxy Cache.Install Websense Network Agent to filter non-HTTP(S)/FTP traffic (e.g., instant messaging, streaming media, peer-to-peer, and so forth) which is not handled by Squid Web Proxy Cache. If Network Agent is installed on a separate machine, it must be connected to a bi-directional span port on a network switch (see the Deployment Guide for Websense Web Security Solutions for information about where to place Network Agent in your network). If Network Agent is installed on the Squid machine, connecting to a span port is not necessary.

2. Install the Websense Squid plug-in on the Squid machine.

Run the Websense installer on the Squid machine and choose to install the plug-in only. SeeInstalling the Squid plug-in, below.Installing the Squid plug-inThe Squid plug-in is installed on the Squid machine to allow Websense Filtering Service and Squid software to communicate.

Note The Squid plug-in is supported only on Linux.

If Filtering Service is installed on a separate machine from the Squid machine, it must be installed before you install the Squid plug-in. When it is installed, Filtering Service must be installed as integrated with Squid Web Proxy Cache. You must specify the location of Filtering Service when installing the Squid plug-in, otherwise the installer will not proceed.When installing the Squid plug-in, the installer checks for Squid Web Proxy Cache on the installation machine. If Squid Web Proxy Cache is detected, the installer continues.If Squid Web Proxy Cache is not detected, installation of the Squid plug-in cannot proceed.

Note The following instructions are a supplement to the full instructions in the Installation Guide. These instructions cover only those installer screens involved in installing the Websense Squid plug-in. Refer to the Installation Guide for full instructions on using the installer. TheIInstallation Guide refers you to this guide for instructions specific to integration with Squid Web Proxy Cache.

The Websense installer is used to install the Websense Squid plug-in on the Squid machine. The following procedure is performed on the Squid machine.

Note Websense Filtering Service must be installed on its machine before installing the Squid plug-in on this machine.
Important Make sure visible_hostname is set in the squid.conf file beforeinstalling the Squid plug-in. See your Squid documentation for instructions.
1. Download or copy the Websense installer to this machine.

See the Installation Guide for instructions on downloading the installer.

2. Close all applications and stop any antivirus software.
3. Start the Websense installer.

See the Installation Guide for instructions on starting the installer.

NotesThese instructions refer to GUI installer screens. There are GUI and command-line versions of the Websense installer for Linux. In the command-line version, prompts are displayed that correspond to each GUI screen. Instructions for a screen also apply to the corresponding command-line prompt. The main difference is how options are selected. Rather than clicking items in a screen, you will enter menu-item numbers or characters.To cancel the command-line installer, press Ctrl-C. However, do notcancel the installer, after the Pre-Installation Summary screen, as it is installing components. In this case allow the installation to complete and then uninstall the components you did not want to install.
4. On the Introduction screen, click Next.
5. On the Subscription Agreement screen, choose to accept the terms of the agreement and then click Next.
6. On the Installation Type screen, select Custom and then click Next.
7. On the Custom Installation screen, select Filtering Plug-in and then click Next.
8. On the Filtering Service Communication screen, enter the IP address of the machine on which Filtering Service is installed and the port Filtering Service uses to communicate with integration products and Network Agent (default is 15868). Then click Next.

The port used by Filtering Service to communicate with integration products and Network Agent must be in the range 1024-65535. Filtering Service may have been automatically configured to use a port other than the default 15868. When Filtering Service was installed, if the installation program found the default port to be in use, it was automatically incremented until a free port is found. To determine what port is used by Filtering Service, check the eimserver.ini file—located in C:\Program Files\Websense\bin (Windows) or /opt/Websense/bin (Linux)—on the Filtering Service machine. In this file, look for the WebsenseServerPort value.

Important Do not modify the eimserver.ini file.
9. On the Select Integration screen, select Squid Web Proxy Cache.
10. On the Squid Configuration screen, enter paths to the squid.conf and squid executable files, and then click Next.

The installation program will verify the path to squid.conf. A default path is automatically entered. Enter a different path if necessary or click Browse to navigate to the location. This path must be verified for the installation to continue. (Note: the path must include the file name.)Additionally, you must provide the path to the Squid executable so the installation program can shut it down to continue the installation.

Note The installer will automatically start Squid Web Proxy Cache once installation is complete. Verify it is running after installation is complete (Step 15 below).
11. On the Installation Directory screen, accept the default installation path, or click Choose to specify another path, and then click Next.
12. On the Pre-Installation Summary screen, verify the information shown.

Filtering Plug-in should be listed as the only component to be installed.

13. Click Next to start the installation. An Installing progress screen is displayed. Wait for the installation to complete.
14. On the Installation Complete screen, click Done.
15. Start Squid Web Proxy Cache if necessary.

The installer attempts to start Squid Web Proxy Cache once installation is complete. In some cases, it must be manually started:

a. Verify Squid Web Proxy Cache is running, for example, by using the command ps -ef | grep squid.
b. If it is not running, start it.

See Squid documentation or support resources for the start command appropriate to your installation of Squid Web Proxy Cache.

16. If you stopped antivirus software on this machine, restart it now.

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive