Skip to content
Snippets Groups Projects
Select Git revision
  • acad04cb412c9e8d7896d24b1d50ef1490f06f2c
  • 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

INSTALL

Blame
  • INSTALL 2.17 KiB
    Installation process
    ====================
    
    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.
      
    Default destination directory is /opt/warden-server/.
              
    For more information about install.sh options run install.sh -h.
    
    You must be root for running this script.
    
    
    B. Pre-installation step
    ------------------------
    
    1) Install necessary packages
        
    	# aptitude install apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork
    
    
    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
    
    	# a2enmod ssl 
    
    
    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(-ssl)
    
    		<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 
    
    
    3) 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
    
    
    4) Warden server configuration
    
     - configure warden-server.conf, warden-client.conf and warden-apache.conf placed in <warden-server_path>/etc directory
    
    
    5) Restart of Apache server
    
    	# /etc/init.d/apache2 restart