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