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