WANGuard Console Installation Instructions
Step 1. Installing dependencies
First make sure you have the required packages installed. On CentOS and Fedora systems you should use the yum command. On RedHat Enterprise systems you should use the up2date command.
[root@localhost ~]# yum install mysql mysql-server httpd php php-mysql perl-MailTools perl-DBD-MySQL perl-Net-Telnet quagga libart_lgpl php-snmp wget
[root@localhost ~]# wget http://www.andrisoft.com/files/utils/perl-rrdtool-1.2.23-1.el4.rf.i386.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/utils/rrdtool-1.2.23-1.el4.rf.i386.rpm
[root@localhost ~]# rpm -Uvh ./perl-rrdtool-1.2.23-1.el4.rf.i386.rpm ./rrdtool-1.2.23-1.el4.rf.i386.rpm
Step 2. Configure the MySQL server
By default, the MySQL server does not have any password set. You must start the MySQL server, set a password for the MySQL root user, and make sure that old_passwords=0 in /etc/my.cnf ! If you deploy WANGuard Sensor or WANGuard Filter on remote systems, make sure that the MySQL server is accessible by opening port 3606 in the firewall.
[root@localhost ~]# vi /etc/my.cnf # set old_passwords=0
[root@localhost ~]# /etc/init.d/mysqld start
[root@localhost ~]# /usr/bin/mysqladmin -u root password 'new-password'
[root@localhost ~]# /etc/init.d/mysqld restart
[root@localhost ~]# chkconfig --level 345 mysqld on
Step 3. Install WANGuard Controller and WANGuard Console
Install the WANGuard Controller and WANGuard Console packages.
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Controller-3.1-0.i686.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Console-3.1-0.noarch.rpm
[root@localhost ~]# rpm -Uvh ./WANGuard-Controller-3.1-0.i686.rpm ./WANGuard-Console-3.1-0.noarch.rpm
Step 4. Configure WANGuard Console
Configure WANGuard Console by running the /opt/wanguard/install_console script. You will have to enter the MySQL root password you set on step 2, and provide a new WANGuard Console database password.
[root@localhost ~]# /opt/wanguard/bin/install_console
Step 5. Configure and start WANGuard Controller
The WANGuard Controller daemon must be installed and started on all systems. You have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password you set on step 4. If WANGuard Controller and WANGuard Console are installed on the same system, don't use for WANGuard Console's IP address the loopback address 127.0.0.1. Use the IP address of the server instead.
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
[root@localhost ~]# chkconfig --level 345 WANGuardController on
Step 6. Access WANGuard Console
The WANGuard Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard, where <hostname> is the name of the machine where WANGuard Console is running.
WANGuard Sensor Installation Instructions
Step 1. Install, configure and start WANGuard Controller
This step is required if you haven't previously installed and configured WANGuard Controller on the target system. In order to configure WANGuard Controller, you have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password.
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Controller-3.1-0.i686.rpm
[root@localhost ~]# rpm -Uvh ./WANGuard-Controller-3.1-0.i686.rpm
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
[root@localhost ~]# chkconfig --level 345 WANGuardController on
Step 2. Install WANGuard Sensor
Install the WANGuard Sensor package.
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Sensor-3.1-0.i686.rpm
[root@localhost ~]# rpm -Uvh ./WANGuard-Sensor-3.1-0.i686.rpm
Step 3. Setup WANGuard Sensor
Log into WANGuard Console to setup WANGuard Sensor(s). WANGuard Sensors are started, monitored and stopped by the WANGuard Controller daemon, so make sure the WANGuardController service is running.
WANGuard Filter Installation Instructions
Step 1. Installing dependencies
Make sure you have dependencies installed.
[root@localhost ~]# yum install quagga perl-Net-Telnet perl-DBD-MySQL
[root@localhost ~]# service bgpd start
Step 2. Install, configure and start WANGuard Controller
This step is necessary if you haven't previously installed and configured WANGuard Controller on the target system. In order to configure WANGuard Controller, you have to run the /opt/wanguard/bin/install_controller script to enter the WANGuard Console's IP address and the WANGuard Console's database password.
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Controller-3.1-0.i686.rpm
[root@localhost ~]# rpm -Uvh ./WANGuard-Controller-3.1-0.i686.rpm
[root@localhost ~]# /opt/wanguard/bin/install_controller
[root@localhost ~]# service WANGuardController start
[root@localhost ~]# chkconfig --level 345 WANGuardController on
Step 3. Install WANGuard Filter
Install WANGuard-BGPSupport and WANGuard Filter packages.
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-BGPSupport-3.1-0.noarch.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/WANGuard-Filter-3.1-0.i686.rpm
[root@localhost ~]# rpm -Uvh ./WANGuard-BGPSupport-3.1-0.noarch.rpm ./WANGuard-Filter-3.1-0.i686.rpm
Step 4. Setup WANGuard Filter
Log into WANGuard Console to setup WANGuard Filter(s). WANGuard Filters are started, monitored and stopped by the WANGuard Controller daemon, so make sure the WANGuardController service is running.
|