Skip to content
Snippets Groups Projects
Select Git revision
  • d2cffbe6e625c325c6647d21f14dcdb6d3f9ad7d
  • master default protected
  • devel
  • hruska-feature-clients-api
  • malostik-#5066-deduplicate-idea-ids
  • warden-postgresql-port
  • hruska-feature-#6799-filter-keys
  • hruska-feature-5066-duplicateIdeaID
  • warden-client-3.0-beta3
  • warden-server-3.0-beta3
  • warden-client-2.2-final
  • warden-server-2.2-final
  • warden-client-3.0-beta2
  • warden-server-3.0-beta2
  • warden-client-2.2
  • warden-server-2.2-patch3
  • warden-client-3.0-beta1
  • warden-server-3.0-beta1
  • warden-server-2.2-patch1
  • warden-client-3.0-beta0
  • warden-server-3.0-beta0
  • warden-server-2.2
  • warden-server-2.1-patch1
  • warden-client-2.1
  • warden-server-2.1
  • warden-server-2.1-beta6
  • warden-server-2.1-beta5
  • warden-server-2.1-beta4
28 results

UNINSTALL

Blame
  • Forked from 713 / Warden / Warden - archive
    Source project has a limited visibility.
    UNINSTALL 2.19 KiB
    Uninstallation process
    ======================
    
    Content
    
     A. Overview
     B. Uninstallation step
     C. Post-uninstallation steps
    
    --------------------------------------------------------------------------------
    
    A. Overview
    -----------
    
    For uninstallation of warden-server package from local machine use uninstall.sh.
      
    Default uninstallation directory is /opt/warden-server/.
              
    For more information about uninstall.sh options run uninstall.sh -h.
    
    You must be root for running this script.
    
    
    B. Uninstallation step
    ----------------------
    
    1) Uninstall Warden server package (example for default installation path)
    
    	# /opt/warden-server/uninstall.sh -d /opt
    
    
    C. Post-uninstallation steps
    ----------------------------
    
    1) Stop Apache server
    
    	# /etc/init.d/apache2 stop
    
    
    2) Disable of mod_ssl module
    	
    	# a2dismod ssl
    
    
    3) Remove Apache server configuration
    
     a) VirtualHost section configuration
    
      - remove include parameters from the Warden server configuration file (<warden-server_path>/etc/warden-apache.conf)
    
            # vim /etc/apache2/sites-enables/default(-ssl)
    
                    <VirtualHost *:443>
                    ... 
    
                    Include /opt/warden-server/etc/warden-apache.conf
                    </VirtualHost>
    
        
     b) remove Apache server performance configuration
    
            # vim /etc/apache2/apache2.conf
    
                      - prefork module settings
    
                            <IfModule mpm_prefork_module>
                                    StartServers          2   
                                    MinSpareServers       4   
                                    MaxSpareServers       8   
                                    ServerLimit           700 
                                    MaxClients            700 
                                    MaxRequestsPerChild   0   
                            </IfModule>
    
                     - connection settings
        
                            Timeout 10
                            KeepAlive Off
    
    
    4) Drop MySQL database
    
            $ mysql -u <user> -h localhost -p <password>
    	mysql> DROP DATABASE warden;
    	mysql> exit
    
    
    5) Uninstall unnecessary packages (optional)
     
    	# aptitude remove apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork
    
    
    6) Start Apache server
    
    	# /etc/init.d/apache2 start