UBUNTU SERVER 14.X ,16.X AND 18.X
-
Log in to the Ubuntu Host that has Apache Server installed
-
If the Apache Server is running, stop it using the below commands:
-
service apache2 stop
OR
-
<Apache_Directory>/apache2 -k stop
-
-
Verify that all the httpd processes are stopped using the below command:
-
ps -ef | grep -i apache2
-
-
If the httpd processes are still running, kill them using:
-
kill -9 <apache2-pid>
-
-
Start the Apache Server with VSP-2.2.0 protection using the below command:
-
/opt/virsec/vsp_memory/vsp-memory <Apache_Directory>/apache2 -k start
OR
-
-
Start the Apache Server with VSP-2.2.0 protection as a Service
-
cd /usr/sbin/
-
vi apachectl
-
Append the below to the HTTPD argument:
/opt/virsec/vsp_memory/vsp-memory
-
Before Change:
HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2}
-
After Change:
HTTPD="/opt/virsec/vsp_memory/vsp-memory ${APACHE_HTTPD:-/usr/sbin/apache2}"
-
-
Save the file
-
Execute the below commands to start the service:
-
systemctl start apache2
-
-