Skip to content
Snippets Groups Projects
Select Git revision
  • 489686812650f7f273d999fb261b2fd86eb41eb6
  • master default protected
  • e-infra2
  • ci-megalinter-speedup
  • egi-fixes
  • e-infra
  • envri-hub-new-aai
  • egi-b2drop-no-collapse
  • lfs
  • gpu_staging
  • resurrect-testing-ownloud
  • experiments/collab
  • update_claim_group_keys
  • envri-hub
  • enable_rtc
  • eosc-ui
  • future/jupyterhub-5.x
  • versioning
  • eosc-templating
  • staging1-raw-image
  • token-exchange
21 results

vms.tf

Blame
  • UNINSTALL 2.38 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.
              
    For more information about uninstall.sh options run uninstall.sh -h.
    
    
    B. Uninstallation step
    ----------------------
    
    1) Stop Apache server
    
    	# /etc/init.d/apache2 stop
    
    
    2) Uninstall Warden server package (example)
    
    	$ /opt/warden-server/uninstall.sh -d /opt/warden-server
    
    	or (if you wanted to create symlinks to Warden server control scripts during the installation process - optional)
    
    	$ /opt/warden-server/uninstall.sh -d /opt/warden-server -s /usr/local/bin
    
    
    C. Post-uninstallation steps
    ----------------------------
    
    1) Disable of mod_ssl module
    	
    	# a2dismod ssl
    
    
    2) 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/warden
    
                    <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
    
    
    3) Drop MySQL database
    
            $ mysql -u <user> -h localhost -p <password>
    	mysql> DROP DATABASE warden;
    	mysql> exit;
    
    
    4) Uninstall unnecessary packages (optional)
     
    	# aptitude remove apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork
    
    
    5) Start Apache server
    
    	# /etc/init.d/apache2 start
    
    
    --------------------------------------------------------------------------------
    Copyright (C) 2011-2014 Cesnet z.s.p.o