Go to the table of contents Go to the previous page Go to the next page
Installing Websense Content Gateway > Installing Websense Content Gateway
Installing Websense Content Gateway
Deployment and Installation Center | Web Security Solutions | Version 7.7.x
Installing Websense Content Gateway
Complete these steps to install Websense Content Gateway (Content Gateway) on a server in a software-base deployment of Websense software. In a Websense-appliance-based deployment, Content Gateway is already installed on the appliance.
Before you begin, be sure to read Preparing to install Websense Content Gateway.
For example, if you are running IPTables:
At a command prompt, enter service iptables status to determine if the firewall is running.
Download the WebsenseCG77xSetup_Lnx.tar.gz tar archive, from mywebsense.com to a temporary directory.
mkdir wcg_v77
mv <installer tar archive> wcg_v77
cd wcg_v77
tar -xvzf <installer tar archive>s
su root
The installer installs Content Gateway in /opt/WCG. It is installed as root.
Warning: Websense Content Gateway requires at least 4 gigabytes of RAM.
Do you wish to continue [y/n]?
Enter n to end the installation, and return to the system prompt.
Enter y to continue the installation. If you choose to run Content Gateway after receiving this warning, performance may be affected.
Read the subscription agreement. At the prompt, enter y to continue installation or n to cancel installation.
Do you accept the above agreement [y/n]? y
Enter the administrator password for the Websense Content Gateway management interface.
Username: admin
Password:> (note: cursor will not move as you type)
Confirm password:>
This account enables you to log on to the management interface for Content Gateway, known as Content Gateway Manager. The default username is admin.
To create a strong password (recommended), use 8 or more characters, with at least 1 each of the following: capital letter, lower case letter, number, special character.
' (backtick; typically shares a key with tilde, ~)
Websense Content Gateway requires an email address for alarm notification.
Enter an email address using @ notation: [] >
Be sure to use @ notation (for example, user@example.com). Do not enter more than 64 characters for this address.
Enter the Policy Server IP address (leave blank if integrating with Data Security only): [] >
Use dot notation (i.e., xxx.xxx.xxx.xxx). The address must be IPv4. Press Enter to leave this field blank if this Content Gateway deployment is with Websense Data Security only.
Enter the Filtering Service IP address: [<Policy Server address>] >
The default is the same address as Policy Server. This field does not appear if you did not enter an IP address for Policy Server in Step 9.
Websense Content Gateway uses 11 ports on your server:
'1' Websense Content Gateway Proxy Port 8080
'2' Web Interface port 8081
'3' Auto config port 8083
'4' Process manager port 8084
'5' Logging server port 8085
'6' Clustering port 8086
'7' Reliable service port 8087
'8' Multicast port 8088
'9' HTTPS inbound port 8070
'N' HTTPS outbound port 8090
'M' HTTPS management port 8071
Enter the port assignment you would like to change:
'1-9,N,M,D' - specific port changes
'X' - no change
'H' - help
[X] >
Ports preceded by numbers in the list are considered the 9 ports for Content Gateway. Ports preceded by letters are needed if you have subscribed to Websense Web Security Gateway or Web Security Gateway Anywhere.
Change a port assignment if it will conflict with another application or process on the machine. Otherwise, leave the default assignments in place.
If you do not want to use these ports for Content Gateway, or if the installation program indicates that a port conflict exists, make any necessary changes. Any new port numbers you assign must be between 1025 and 65535, inclusive.
Websense Content Gateway requires at least 2 interfaces to support clustering. Only one active network interface is detected on this system.
Press ENTER to continue installation and skip to Step 14.
Websense Content Gateway Clustering Information
'1' - Select '1' to configure Websense Content Gateway
for management clustering. The nodes in the cluster
will share configuration/management information
'2' - Select '2' to operate this Websense Content Gateway
as a single node.
Enter the cluster type for this Websense Content Gateway installation:
[2] >
If you do not want this instance of Content Gateway to be part of a cluster, enter 2.
If you select 1, provide information about the cluster:
Enter the name of this Websense Content Gateway cluster.
Note: All members of a cluster must use the same cluster name.
Enter a network interface for cluster communication.
Available interfaces:
<interface, e.g., eth0>
<interface, e.g., eth1>
Enter the cluster network interface:
Enter a multicast group address for cluster <cluster_name>.
Address must be between -
[<default IP address>] >
No disks are detected for cache.
Websense Content Gateway will operate in PROXY_ONLY mode.
Content Gateway will operate as a proxy only and will not cache Web pages. Press ENTER to continue the installation and skip to Step 16.
Would you like to enable raw disk cache [y/n]? y
Select available disk resources to use for the cache. Remember that space used for the cache cannot be used for any other purpose.
Here are the available drives
(1) /dev/sdb 146778685440 0x0
Note: The above drive is only an example.
Although it might be listed as available, do not use an LVM (Logical Volume Manager) volume as a cache disk.
Choose one of the following options:
'A' - Add disk(s) to cache
'R' - Remove disk(s) from cache
'S' - Add all available disks to cache
'U' - Remove all disks from cache
'X' - Done with selection, continue Websense
Content Gateway installation.
Option: > A
[ ] (1) /dev/sdb 146778685440 0x0
Enter number to add item, press 'F' when finished:
[F] >1
Item '1' is selected
[F] >
Here is the current selection
[X] (1) /dev/sdb 146778685440 0x0
Continue based on your choice in Step b, pressing X when you have finished configuring cache disks.
Choose one of the following options:
'A' - Add disk(s) to cache
'R' - Remove disk(s) from cache
'S' - Add all available disks to cache
'U' - Remove all disks from cache
'X' - Done with selection, continue Websense
Content Gateway installation.
Option: >X
Websense Content Gateway has the ability to send usage statistics, information about scanned content and activated product features to Websense Inc. for the purpose of improving the accuracy of scanning, filtering and categorization.
Would you like to allow this communication with Websense, Inc. ? [y/n]
Configuration Summary
Websense Content Gateway Install Directory : /opt/WCG
Admin Username for Content Gateway Manager: admin
Alarm Email Address :
<email address>
Policy Server IP Address : <IP address>
Filtering Service IP Address : <IP address>
Websense Content Gateway Cluster Type : NO_CLUSTER
Websense Content Gateway Cache Type : LRAW_DISK
Cache Disk : /dev/sdb
Total Cache Partition Used : 1
* W A R N I N G *
Installer CANNOT detect all potential disk mirroring
systems. Please make sure the cache disks listed
above are not in use as mirrors of active file
systems and do not contain any useful data.
Do you want to continue installation with this configuration [y/n]?
If you want to make changes, enter n to restart the installation process at the first prompt. To continue and install Content Gateway configured as shown, enter y.
If you enter y to proceed but you decide you want to cancel the installation, do not attempt to quit the installer by pressing CTRL-C. Allow the installation to complete. Then uninstall it.
Note the location of the certificate required for Content Gateway Manager: /root/WCG/content_gateway_ca.cer. See the Getting Started section of the Content Gateway Manager Help for information on importing this certificate.
/opt/WCG/WCGAdmin status
All services should be running. These include:

Go to the table of contents Go to the previous page Go to the next page
Installing Websense Content Gateway > Installing Websense Content Gateway
Copyright 2016 Forcepoint LLC. All rights reserved.