docs/README
author rejo
Mon, 16 Apr 2007 19:48:27 +0000
changeset 3 64525a2eb098
parent 1 58094faf794d
child 8 47dd15d8bb8c
permissions -rw-r--r--
[feladat @ 4] General update translation.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
1. What is PowerAdmin
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     3
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     4
PowerAdmin is a non commercial front-end for the PowerDNS (www.powerdns.com) nameserver.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     5
The goal of PowerAdmin is to manage the (MySQL) database behind PowerDNS, which contains
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     6
the DNS records.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     7
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     8
There have been some changes in this release, both of major and minor importance.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     9
Please read the following document to familiarize yourself with them. You are also
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    10
requested to report any bugs should you encounter them.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    11
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    12
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    13
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    14
2. Where to get PowerAdmin
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    15
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    16
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    17
The main location of PowerAdmin is http://www.poweradmin.org
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    18
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    19
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    20
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    21
3. Notes
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    22
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    23
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    24
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    25
3.1 Migrating
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    26
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    27
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    28
If you are running a stone-age version of PowerAdmin read the following information!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    29
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    30
Due to some major changes in this release the current version of PowerAdmin
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    31
supports gmysql backend. You are strongly advised to backup your data before running the
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    32
migrator.php tool in your poweradmin directory. This is to protect you against any data
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    33
loss should anything go wrong. We assume it all works properly, but due to a limited
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    34
number of betatesters we cannot guarantee our tool is 100% bug free.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    35
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    36
!! Please be sure you have a working backup of your data !! 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    37
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    38
Do the following to migrate: 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    39
- rename the file migrator.php-pa in your webdir to migrator.php.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    40
- Go here to migrate it.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    41
It is recommended to synchronize your database aswell after the update
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    42
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    43
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    44
3.2 DB Information
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    45
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    46
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    47
For now on PowerAdmin supports PowerDNS' MySQL back-end only. If there is demand for other
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    48
database layers support will be added in the near future. Of course, since the code is opensource,
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    49
everyone who cannot wait is encouraged to plug in their own database layer (and if you dare, send the 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    50
code to us so we can evaluate it and maybe integrate it with the current PowerAdmin).
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    51
We are still busy with PostGreSQL, but the experience needs a bit more tweaking for us.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    52
Time will release it, we cannot yet.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    53
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    54
By using PEAR::DB we are bound to have some way to keep track of indexes. This is done by using seperate
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    55
tables called users_seq and zones_seq. Also records_seq will be there. This means that if you manually
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    56
insert a record, chances are 90% that you will have corrupted workings of PowerAdmin (because the ID is
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    57
not in order.) The problem can be solved by running the Synchronize Database tool (select it or use the
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    58
seq_update.php url). This will let you resynch your indexes. It is also useful if you are migrating
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    59
from 1.0 to 1.1 or higher.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    60
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    61
Read more about this in README-Sequence
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    62
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    63
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    64
4. Documentation
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    65
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    66
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    67
PowerAdmin has the following core features:
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    68
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    69
- User Level dependant editing of domains. For example an administrator
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    70
  can edit all domains, while a user can for example only edit the domain(s)
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    71
  owned by him/her.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    72
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    73
- Simple administration of users that can access PowerAdmin.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    74
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    75
- Easy creating of domains. Next of that, the proper assignment of rights
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    76
  is simply and done within a few clicks.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    77
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    78
- Ability to apply a record-template when creating domains. For now, the template
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    79
  can only be configured in the config file, but this will be moved to a nice
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    80
  database-table soon.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    81
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    82
- Editting records in existing zones.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    83
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    84
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    85
5. Installation
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    86
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    87
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    88
!! If you are updating, you should necessarily read paragraph 3 !!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    89
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    90
What you need:
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    91
- PowerDNS (Duh!) (Versions 2.1 through 2.6 have been tested, others might work aswell)
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    92
  http://www.powerdns.com/
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    93
- MySQL
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    94
  http://www.mysql.com/
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    95
- An (Apache) webserver that supports php4 and php4-mysql. The PHP version must be at least 4.2.1.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    96
  http://www.apache.org/
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    97
  http://www.php.net/
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    98
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    99
First of all, install PowerDNS with it's MySQL Generic back-end.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   100
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   101
Next to the MySQL user you created for PowerDNS, you need a MySQL user for PowerAdmin that can do
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   102
the following actions on the PowerDNS database you created: SELECT, INSERT, DELETE, UPDATE, CREATE.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   103
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   104
Untar/gzip poweradmin-VERSION.tar.gz in your webdir. This will create a directory called
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   105
poweradmin-VERSION.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   106
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   107
In the 'inc' subdirectory of your newly created directory, you'll find a file called
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   108
config-block.inc.php. Edit this file to suit your environment. Then rename it to
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   109
config.inc.php to be able to load the site. The website will not work properly without a config,
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   110
so pay attention to your configuration!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   111
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   112
Next, go to http://www.yourdomain.com/poweradmin-VERSION/install.php
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   113
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   114
Fill in the required information to make an administrator login for your
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   115
PowerAdmin. If all goes well, the user is made, and you can log in using that username.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   116
WARNING! Be sure to remove install.php from the webdir!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   117
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   118
After you are done, run http://www.yourdomain.com/poweradmin-VERSION/test_setup.php to see if
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   119
everything is set up well.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   120
This test also includes the functionality testing of your PowerDNS records (whether you
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   121
have read/write access or not)
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   122
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   123
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   124
6. User levels explained
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   125
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   126
User levels explained:
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   127
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   128
[x] = yes
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   129
[ ] = no
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   130
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   131
User        Permission to           Permission to           Permission to           Permission to
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   132
Level       change own              change other            create domains          add/modify
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   133
            domain(s)               domain(s)                                       users
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   134
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   135
 1               [x]                     [ ]                     [ ]                     [ ]
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   136
 5               [x]                     [x]                     [x]                     [ ]
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   137
 10              [x]                     [x]                     [x]                     [x]
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   138
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   139
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   140
7. Further Info && Bugs
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   141
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   142
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   143
The latest contact information can always be found at http://www.poweradmin.org .
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   144
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   145
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   146
8. Links and more information
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   147
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   148
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   149
http://www.poweradmin.org   Our main site
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   150
http://www.powerdns.com		PowerDNS
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   151
http://www.ietf.org		Information about DNS
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   152
http://poweradmin.sf.net	PowerAdmin @ SourceForge
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   153
http://www.apache.org/          The Apache Webserver
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   154
http://www.php.net/             PHP programming language
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   155
http://www.mysql.com/           MySQL database server
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   156
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   157
9. Changes
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   158
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   159
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   160
Changes for this version are:
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   161
- Many many many bug fixes!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   162
- Enhanced sequence updater that is now smarter.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   163
- SOA Fields fixed.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   164
- Automatically SOA serial updating after each change in the DNS.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   165
- MASTER/SLAVE Functionality but that stays untested at the moment of writing. 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   166
  Use the toggles with care, see the config-block.inc.php for more information.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   167
- Search abilities added thanks to DeViCeD
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   168
- A lot of other stuff and minor details not worth mentioning that much.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   169
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   170
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   171
--------------------------------------------------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   172
Enjoy!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   173
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   174
There are some major changes, we would like feedback!
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   175
See paragraph 7 for contact information.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   176
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   177
Regards,
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   178
The PowerAdmin Team