From 3fb338149b764121aec746c2f2765d44a75bc3a0 Mon Sep 17 00:00:00 2001
From: Tomas Plesnik <plesnik@ics.muni.cz>
Date: Wed, 31 Oct 2012 11:19:25 +0100
Subject: [PATCH] soubor INSTALL pro warden-server-2.1

---
 src/warden-server/doc/INSTALL | 57 ++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 27 deletions(-)

diff --git a/src/warden-server/doc/INSTALL b/src/warden-server/doc/INSTALL
index 69a9a58..601ec97 100644
--- a/src/warden-server/doc/INSTALL
+++ b/src/warden-server/doc/INSTALL
@@ -1,8 +1,17 @@
 Installation process
 ====================
 
-Overview
---------
+Content
+
+ A. Overview
+ B. Pre-installation step
+ C. Installation step
+ D. Post-installation steps
+
+--------------------------------------------------------------------------------
+
+A. Overview
+-----------
 
 For installation of warden-server package on local machine use install.sh.
   
@@ -13,26 +22,37 @@ For more information about install.sh options run install.sh -h.
 You must be root for running this script.
 
 
-Post-installation steps
------------------------
+B. Pre-installation step
+------------------------
 
 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
+C. Installation step
+--------------------
+
+1) Install Warden server package
+
+	# ./warden-server-2.1/install.sh -d /opt -k /etc/ssl/private/server.key -c /etc/ssl/certs/server.pem -a /etc/ssl/certs/bundle.pem
+
+
+D. Post-installation steps
+--------------------------
+
+1) Enable of mod_ssl module
 
 	# an2enmod ssl 
 
 
-3) Apache server configuration
+2) 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
+	# vim /etc/apache2/sites-enables/default(-ssl)
 
 		<VirtualHost *:443>
 		...
@@ -62,7 +82,7 @@ Post-installation steps
 		        KeepAlive Off 
 
 
-4) MySQL database configuration
+3) MySQL database configuration
 
  a) Create new user acount (optional)
 
@@ -71,28 +91,11 @@ Post-installation steps
 	$ mysql -u <user> -h localhost -p <password> < {warden-server_path}/doc/warden.mysql
 
 
-5) Warden server configuration
+4) 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
+5) Restart of Apache server
 
 	# /etc/init.d/apache2 restart
-
-
-
-
-Uninstallation process
-======================
-
-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.
-- 
GitLab