<< PREVIOUSNEXT >>

 

 

APACHE HTTP SERVER


 

LINUX SERVER RHEL/CENTOS 7.X

  1. Log in to the Linux Host (RHEL/CentOS) that has Apache Server installed

  2. If the Apache Server is running, stop it using the below commands:

    1. service httpd stop

       

       

      OR

    2. <Apache_Directory>/httpd -k stop

       

       

  3. Verify that all the httpd processes are stopped using the below command:

    1. ps -ef | grep -i httpd

       

       

  4. If the httpd processes are still running, kill them using:

    1. kill -9 <httpd-pid>

       

       

  5. Start the httpd2.4 Server with VSP-2.2.0 protection using the below command:

    1. /opt/virsec/vsp_memory/vsp-memory <Apache_Directory>/httpd -k start

       

       

       

      OR

  6. Start the httpd2.4 Server with VSP-2.2.0 protection as a Service

    1. cd /usr/lib/systemd/system/

       

       

    2. vi httpd.service

       

       

    3. Append the below text to the ExecStar argument

      /opt/virsec/vsp_memory/vsp-memory

       

       

      1. Before Change:

         

        #Type=notify

        ExecStart=<Apache_Directory>/httpd $OPTIONS -DFOREGROUND

         

      2. After Change:

         

        #Type=notify

        ExecStart=/opt/virsec/vsp_memory/vsp-memory <Apache_Directory>/httpd $OPTIONS -DFOREGROUND

         

    4. Save the file httpd.service

    5. Execute the below commands to start the service:

      1. systemctl daemon-reload

         

         

      2. service httpd start

         

         

 

<< PREVIOUSNEXT >>