Skip to content
Snippets Groups Projects
Commit 3fb33814 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

soubor INSTALL pro warden-server-2.1

parent 07d8a83f
No related branches found
No related tags found
No related merge requests found
Installation process 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. 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. ...@@ -13,26 +22,37 @@ For more information about install.sh options run install.sh -h.
You must be root for running this script. You must be root for running this script.
Post-installation steps B. Pre-installation step
----------------------- ------------------------
1) Install necessary packages 1) Install necessary packages
# aptitude install apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork libcrypt-x509-perl libmime-base64-perl # 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 # an2enmod ssl
3) Apache server configuration 2) Apache server configuration
a) VirtualHost section configuration a) VirtualHost section configuration
- include parameters from the Warden server configuration file (<warden-server_path>/etc/warden-apache.conf) - 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> <VirtualHost *:443>
... ...
...@@ -62,7 +82,7 @@ Post-installation steps ...@@ -62,7 +82,7 @@ Post-installation steps
KeepAlive Off KeepAlive Off
4) MySQL database configuration 3) MySQL database configuration
a) Create new user acount (optional) a) Create new user acount (optional)
...@@ -71,28 +91,11 @@ Post-installation steps ...@@ -71,28 +91,11 @@ Post-installation steps
$ mysql -u <user> -h localhost -p <password> < {warden-server_path}/doc/warden.mysql $ 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 - 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 # /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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment