From 8012d6a0d7457273ff0b125eaaa50a7c16c8670f Mon Sep 17 00:00:00 2001
From: Tomas Plesnik <plesnik@ics.muni.cz>
Date: Mon, 16 Jul 2012 15:13:37 +0200
Subject: [PATCH] doplneny post-instalacni kroky pro instalaci
 warden-server-2.0.0

---
 src/warden-server/doc/INSTALL | 80 ++++++++++++++++++++++++++++++++++-
 1 file changed, 78 insertions(+), 2 deletions(-)

diff --git a/src/warden-server/doc/INSTALL b/src/warden-server/doc/INSTALL
index 33a7942..69a9a58 100644
--- a/src/warden-server/doc/INSTALL
+++ b/src/warden-server/doc/INSTALL
@@ -1,5 +1,8 @@
 Installation process
---------------------
+====================
+
+Overview
+--------
 
 For installation of warden-server package on local machine use install.sh.
   
@@ -10,8 +13,81 @@ For more information about install.sh options run install.sh -h.
 You must be root for running this script.
 
 
+Post-installation steps
+-----------------------
+
+1) Install necessary packages
+    
+	# aptitude install apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork libcrypt-x509-perl libmime-base64-perl
+
+
+2) Enable of mod_ssl module
+
+	# an2enmod ssl 
+
+
+3) Apache server configuration
+
+ a) VirtualHost section configuration
+
+  - include parameters from the Warden server configuration file (<warden-server_path>/etc/warden-apache.conf)
+
+	# vim /etc/apache2/sites-enables/default
+
+		<VirtualHost *:443>
+		...
+
+		Include /opt/warden-server/etc/warden-apache.conf
+		</VirtualHost>
+
+    
+ b) 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) MySQL database configuration
+
+ a) Create new user acount (optional)
+
+ b) Create new database structure
+
+	$ mysql -u <user> -h localhost -p <password> < {warden-server_path}/doc/warden.mysql
+
+
+5) Warden server configuration
+
+ - configure warden-server.conf, warden-client.conf and warden-apache.conf placed in <warden-server_path>/etc directory
+
+
+6) Restart of Apache server
+
+	# /etc/init.d/apache2 restart
+
+
+
+
 Uninstallation process
-----------------------
+======================
+
+Overview
+--------
 
 For uninstallation of warden-server package from local machine use uninstall.sh.
   
-- 
GitLab