Skip to content
Snippets Groups Projects
Commit 2d1d429a authored by Jakub Cegan's avatar Jakub Cegan
Browse files

Zacisteni dokumentace #1295

parent ddfc4764
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ A. Overview ...@@ -14,7 +14,7 @@ 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.
For more information about install.sh options run install.sh -h. For more information about install.sh options run install.sh -h.
...@@ -22,8 +22,8 @@ B. Pre-installation step ...@@ -22,8 +22,8 @@ B. Pre-installation step
------------------------ ------------------------
1) Install necessary packages 1) Install necessary packages
# aptitude install apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork # aptitude install apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork
C. Installation step C. Installation step
...@@ -31,11 +31,11 @@ C. Installation step ...@@ -31,11 +31,11 @@ C. Installation step
1) Install Warden server package (examples) 1) Install Warden server package (examples)
$ ./warden-server-2.2/install.sh -d /opt/warden-server -k /etc/ssl/private/server.key -c /etc/ssl/certs/server.pem -a /etc/ssl/certs/bundle.pem -e admin@domain.com $ ./warden-server-2.2/install.sh -d /opt/warden-server -k /etc/ssl/private/server.key -c /etc/ssl/certs/server.pem -a /etc/ssl/certs/bundle.pem -e admin@domain.com
or (if you want to create symlinks to Warden server control scripts during the installation process - optional) or (if you want to create symlinks to Warden server control scripts during the installation process - optional)
$ ./warden-server-2.2/install.sh -d /opt/warden-server -k /etc/ssl/private/server.key -c /etc/ssl/certs/server.pem -a /etc/ssl/certs/bundle.pem -e admin@domain.com -s /usr/local/bin $ ./warden-server-2.2/install.sh -d /opt/warden-server -k /etc/ssl/private/server.key -c /etc/ssl/certs/server.pem -a /etc/ssl/certs/bundle.pem -e admin@domain.com -s /usr/local/bin
D. Post-installation steps D. Post-installation steps
...@@ -43,7 +43,7 @@ D. Post-installation steps ...@@ -43,7 +43,7 @@ D. Post-installation steps
1) Enable of mod_ssl module 1) Enable of mod_ssl module
# a2enmod ssl # a2enmod ssl
2) Apache server configuration 2) Apache server configuration
...@@ -52,34 +52,34 @@ D. Post-installation steps ...@@ -52,34 +52,34 @@ D. Post-installation steps
- 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-enabled/warden # vim /etc/apache2/sites-enabled/warden
<VirtualHost *:443> <VirtualHost *:443>
... ...
Include /opt/warden-server/etc/warden-apache.conf
</VirtualHost>
Include /opt/warden-server/etc/warden-apache.conf
</VirtualHost>
b) Apache server performance configuration b) Apache server performance configuration
# vim /etc/apache2/apache2.conf # vim /etc/apache2/apache2.conf
- prefork module settings
- prefork module settings <IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 4
MaxSpareServers 8
ServerLimit 700
MaxClients 700
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_prefork_module> - connection settings
StartServers 2
MinSpareServers 4
MaxSpareServers 8
ServerLimit 700
MaxClients 700
MaxRequestsPerChild 0
</IfModule>
- connection settings Timeout 10
KeepAlive Off
Timeout 10
KeepAlive Off
3) MySQL database configuration 3) MySQL database configuration
...@@ -88,7 +88,7 @@ D. Post-installation steps ...@@ -88,7 +88,7 @@ D. Post-installation steps
b) Create new database structure b) Create new database structure
$ mysql -u <user> -h localhost -p < {warden-server_path}/doc/warden.mysql $ mysql -u <user> -h localhost -p < {warden-server_path}/doc/warden.mysql
4) Warden server configuration 4) Warden server configuration
...@@ -99,7 +99,7 @@ D. Post-installation steps ...@@ -99,7 +99,7 @@ D. Post-installation steps
5) Restart of Apache server 5) Restart of Apache server
# /etc/init.d/apache2 restart # /etc/init.d/apache2 restart
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
......
...@@ -42,7 +42,7 @@ A. Overall Information ...@@ -42,7 +42,7 @@ A. Overall Information
CHANGELOG CHANGELOG
INSTALL INSTALL
LICENSE LICENSE
MANIFEST MANIFEST
README README
UNINSTALL UNINSTALL
UPDATE UPDATE
...@@ -124,7 +124,7 @@ C. Installation ...@@ -124,7 +124,7 @@ C. Installation
-k /etc/ssl/private/server.key -k /etc/ssl/private/server.key
-c /etc/ssl/certs/server.pem -c /etc/ssl/certs/server.pem
-a /etc/ssl/certs/bundle.pem -a /etc/ssl/certs/bundle.pem
-e admin@domain.com -e admin@domain.com
-s /usr/local/bin -s /usr/local/bin
4. Configuration files 4. Configuration files
...@@ -235,10 +235,10 @@ E. Uninstallation ...@@ -235,10 +235,10 @@ E. Uninstallation
For more information about uninstall.sh options run uninstall.sh -h For more information about uninstall.sh options run uninstall.sh -h
Usage: uninstall.sh -d <directory> [-s <directory>] [-hV] Usage: uninstall.sh -d <directory> [-s <directory>] [-hV]
-d <directory> uninstallation directory of Warden server -d <directory> uninstallation directory of Warden server
-s <directory> directory for symlinks to Warden server control scripts (optional) -s <directory> directory for symlinks to Warden server control scripts (optional)
-h print this help -h print this help
-V print script version number and exit -V print script version number and exit
Example: $ uninstall.sh -d /opt/warden-server -s /usr/local/bin Example: $ uninstall.sh -d /opt/warden-server -s /usr/local/bin
......
...@@ -13,7 +13,7 @@ A. Overview ...@@ -13,7 +13,7 @@ A. Overview
----------- -----------
For uninstallation of warden-server package from local machine use uninstall.sh. For uninstallation of warden-server package from local machine use uninstall.sh.
For more information about uninstall.sh options run uninstall.sh -h. For more information about uninstall.sh options run uninstall.sh -h.
...@@ -22,24 +22,24 @@ B. Uninstallation step ...@@ -22,24 +22,24 @@ B. Uninstallation step
1) Stop Apache server 1) Stop Apache server
# /etc/init.d/apache2 stop # /etc/init.d/apache2 stop
2) Uninstall Warden server package (example) 2) Uninstall Warden server package (example)
$ /opt/warden-server/uninstall.sh -d /opt/warden-server $ /opt/warden-server/uninstall.sh -d /opt/warden-server
or (if you wanted to create symlinks to Warden server control scripts during the installation process - optional) or (if you wanted to create symlinks to Warden server control scripts during the installation process - optional)
$ /opt/warden-server/uninstall.sh -d /opt/warden-server -s /usr/local/bin $ /opt/warden-server/uninstall.sh -d /opt/warden-server -s /usr/local/bin
C. Post-uninstallation steps C. Post-uninstallation steps
---------------------------- ----------------------------
1) Disable of mod_ssl module 1) Disable of mod_ssl module
# a2dismod ssl # a2dismod ssl
2) Remove Apache server configuration 2) Remove Apache server configuration
...@@ -51,12 +51,12 @@ C. Post-uninstallation steps ...@@ -51,12 +51,12 @@ C. Post-uninstallation steps
# vim /etc/apache2/sites-enables/warden # vim /etc/apache2/sites-enables/warden
<VirtualHost *:443> <VirtualHost *:443>
... ...
Include /opt/warden-server/etc/warden-apache.conf Include /opt/warden-server/etc/warden-apache.conf
</VirtualHost> </VirtualHost>
b) remove Apache server performance configuration b) remove Apache server performance configuration
# vim /etc/apache2/apache2.conf # vim /etc/apache2/apache2.conf
...@@ -64,16 +64,16 @@ C. Post-uninstallation steps ...@@ -64,16 +64,16 @@ C. Post-uninstallation steps
- prefork module settings - prefork module settings
<IfModule mpm_prefork_module> <IfModule mpm_prefork_module>
StartServers 2 StartServers 2
MinSpareServers 4 MinSpareServers 4
MaxSpareServers 8 MaxSpareServers 8
ServerLimit 700 ServerLimit 700
MaxClients 700 MaxClients 700
MaxRequestsPerChild 0 MaxRequestsPerChild 0
</IfModule> </IfModule>
- connection settings - connection settings
Timeout 10 Timeout 10
KeepAlive Off KeepAlive Off
...@@ -81,18 +81,18 @@ C. Post-uninstallation steps ...@@ -81,18 +81,18 @@ C. Post-uninstallation steps
3) Drop MySQL database 3) Drop MySQL database
$ mysql -u <user> -h localhost -p <password> $ mysql -u <user> -h localhost -p <password>
mysql> DROP DATABASE warden; mysql> DROP DATABASE warden;
mysql> exit; mysql> exit;
4) Uninstall unnecessary packages (optional) 4) Uninstall unnecessary packages (optional)
# aptitude remove apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork # aptitude remove apache2 mysql-server libapache2-mod-perl2 apache2-mpm-prefork
5) Start Apache server 5) Start Apache server
# /etc/init.d/apache2 start # /etc/init.d/apache2 start
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
......
...@@ -22,11 +22,11 @@ B. Update steps ...@@ -22,11 +22,11 @@ B. Update steps
1) Update Warden server package (default destination path) 1) Update Warden server package (default destination path)
$ ./warden-server-2.2/update.sh -d /opt/warden-server $ ./warden-server-2.2/update.sh -d /opt/warden-server
or (if you want to create symlinks to Warden server control scripts during the installation process - optional) or (if you want to create symlinks to Warden server control scripts during the installation process - optional)
$ ./warden-server-2.2/update.sh -d /opt/warden-server -s /usr/local/bin $ ./warden-server-2.2/update.sh -d /opt/warden-server -s /usr/local/bin
C. Post-update steps C. Post-update steps
...@@ -34,7 +34,7 @@ C. Post-update steps ...@@ -34,7 +34,7 @@ C. Post-update steps
1) Upgrade Warden server database 1) Upgrade Warden server database
$ mysql -u <user> -h localhost -p <password> < {path_to_warden_server}/doc/warden21to22.patch $ mysql -u <user> -h localhost -p <password> < {path_to_warden_server}/doc/warden21to22.patch
ATTENTION: Running of the database update script may take a long time (in minutes - depending on the size of the database). ATTENTION: Running of the database update script may take a long time (in minutes - depending on the size of the database).
...@@ -43,7 +43,7 @@ During this process the database will be not available! ...@@ -43,7 +43,7 @@ During this process the database will be not available!
2) Restart Apache server 2) Restart Apache server
# /etc/init.d/apache2 restart # /etc/init.d/apache2 restart
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
......
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