Commit 0404c6af0314d7a14c3334d8d272d36cba4465a8

Authored by Péter Szládovics
1 parent 3a641e0f

Update INSTALL.md

Showing 1 changed file with 11 additions and 0 deletions
INSTALL.md
1 # SMBind-ng Installation Guide 1 # SMBind-ng Installation Guide
  2 +
2 ## Requirements 3 ## Requirements
3 * Any kind of webserver with php usage abilities (tested on apache2, lighttpd, 4 * Any kind of webserver with php usage abilities (tested on apache2, lighttpd,
4 nginx) 5 nginx)
@@ -12,13 +13,17 @@ @@ -12,13 +13,17 @@
12 * dnssec-tools (optional for securing dns zones) 13 * dnssec-tools (optional for securing dns zones)
13 * acl (optional for securing dns zones) 14 * acl (optional for securing dns zones)
14 * SQL server (tested on MySQL) 15 * SQL server (tested on MySQL)
  16 +
15 ## Installation 17 ## Installation
  18 +
16 ### Bind 19 ### Bind
17 Set up your bind, and configure it to access other masters and enable zone 20 Set up your bind, and configure it to access other masters and enable zone
18 transfer for its slaves. 21 transfer for its slaves.
  22 +
19 ### SMBind-ng PHP code 23 ### SMBind-ng PHP code
20 Unpack contents to somewhere on your server (eg. /var/www/html/smbind-ng) and 24 Unpack contents to somewhere on your server (eg. /var/www/html/smbind-ng) and
21 setup your virtual server to access by default the index.php. 25 setup your virtual server to access by default the index.php.
  26 +
22 ### Configuration directories and files 27 ### Configuration directories and files
23 1. Create a subdirectory with full permission to user of your webserver for keeping 28 1. Create a subdirectory with full permission to user of your webserver for keeping
24 your zones. You need to make it readable for bind. 29 your zones. You need to make it readable for bind.
@@ -30,21 +35,27 @@ definitions; one for the masters, one for the slaves (eg. master.conf and @@ -30,21 +35,27 @@ definitions; one for the masters, one for the slaves (eg. master.conf and
30 slave.conf) - eg. touch master.conf. 35 slave.conf) - eg. touch master.conf.
31 3. Create a subdirectory for keeping zone files (for both of masters and 36 3. Create a subdirectory for keeping zone files (for both of masters and
32 slaves) with same permissions at the step 1. 37 slaves) with same permissions at the step 1.
  38 +
33 ### Modify bind configuration 39 ### Modify bind configuration
34 On your bind options set this folder to use with 'directory' option and 40 On your bind options set this folder to use with 'directory' option and
35 'managed-keys' option (folder created at the step 3 above). 41 'managed-keys' option (folder created at the step 3 above).
36 Include the master and slave configuration files into your bind config - what 42 Include the master and slave configuration files into your bind config - what
37 created at the step 2. 43 created at the step 2.
  44 +
38 ### Database 45 ### Database
39 Create a database user with full permission to access a non existing database 46 Create a database user with full permission to access a non existing database
40 with any name. 47 with any name.
41 Log in your database server with that user, and create an empty database. 48 Log in your database server with that user, and create an empty database.
42 Take the initial database dump, and load it to this schema with this newly 49 Take the initial database dump, and load it to this schema with this newly
43 created user. 50 created user.
  51 +
44 ### Setup the PHP app 52 ### Setup the PHP app
45 See configuration parameters below 53 See configuration parameters below
  54 +
46 ### DNSSEC related options 55 ### DNSSEC related options
  56 +
47 #### Bind options 57 #### Bind options
  58 +
48 #### Roller daemon 59 #### Roller daemon
49 Create a directory for keeping file of roller daemon, and add write permissions 60 Create a directory for keeping file of roller daemon, and add write permissions
50 for the webserver user group. eg. 61 for the webserver user group. eg.