1 | 2 | simandl | Informacni System - Databaze uzivatelu, financi a materialu |
2 | | | Verze : 0.0.1 |
3 | | | Autori : Master,simandl,sinda |
4 | | | Licence: GPL v3 |
5 | | | |
6 | | | Instalace: |
7 | | | rozbalit do /home/demois/ |
8 | | | cd /home/demois/keys |
9 | | | spustit genkeys a vygenerovat klice bez hesla |
10 | | | |
11 | | | vytvorit v MySQL databazi demois: |
12 | | | mysql -u root -p |
13 | | | create database demois; |
14 | | | grant all privileges on demois.* to demois@localhost identified by 'demois'; |
15 | | | quit; |
16 | | | mysql -u root -p demois < demois-0.0.1.sql |
17 | | | |
18 | | | pridat do konfigu Apache virtual host: |
19 | | | NameVirtualHost demois.jablonka.prosek.czf:443 |
20 | | | |
21 | | | <VirtualHost demois.jablonka.prosek.czf:443> |
22 | | | SSLEngine on |
23 | | | SSLCertificateFile /home/demois/keys/server.crt |
24 | | | SSLCertificateKeyFile /home/demois/keys/server.key |
25 | | | DocumentRoot "/home/demois/html" |
26 | | | ServerName demois.jablonka.prosek.czf |
27 | | | |
28 | | | <Directory "/home/demois/html"> |
29 | | | allow from all |
30 | | | Options +Indexes |
31 | | | AuthUserFile "/home/demois/html/.htpasswd" |
32 | | | AuthName "Prosim prihlaste se jako demois s heslem demois !" |
33 | | | AuthType Basic |
34 | | | Require valid-user |
35 | | | </Directory> |
36 | | | </VirtualHost> |
37 | | | |