From 911c16f392c8e656fc12b26d39cacde0e9fae72d Mon Sep 17 00:00:00 2001 From: Tomas Plesnik <plesnik@ics.muni.cz> Date: Thu, 13 Dec 2012 14:27:39 +0100 Subject: [PATCH] doplnen post-odinstalacni postup --- src/warden-server/doc/UNINSTALL | 67 +++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 4 deletions(-) diff --git a/src/warden-server/doc/UNINSTALL b/src/warden-server/doc/UNINSTALL index ea227b8..d9a61e4 100644 --- a/src/warden-server/doc/UNINSTALL +++ b/src/warden-server/doc/UNINSTALL @@ -24,13 +24,72 @@ You must be root for running this script. B. Uninstallation step ---------------------- -1) Uninstall Warden server package (default installation path) +1) Uninstall Warden server package (example for default installation path) # /opt/warden-server/uninstall.sh -d /opt C. Post-uninstallation steps --------------------------- +---------------------------- - # a2dismod ssl - # aptitude remove apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork +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 -- GitLab