mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-15 12:36:05 +00:00
Move DB directions to that section of docs.
This commit is contained in:
@ -18,6 +18,11 @@ quit
|
||||
|
||||
## Install required packages:
|
||||
### Red-hat based systems:
|
||||
```
|
||||
yum install MariaDB-shared mariadb-devel mysql-community-devel
|
||||
```
|
||||
|
||||
If you use MariaDB ( from [MariaDB repositories](https://mariadb.com/resources/blog/installing-mariadb-10-on-centos-7-rhel-7/) )
|
||||
|
||||
### Debian based systems:
|
||||
```
|
||||
|
@ -53,4 +53,24 @@ docker run --name pdnsadmin-test -e BIND_ADDRESS=0.0.0.0
|
||||
-e SQLA_DB_HOST='192.168.0.100'
|
||||
-e SQLA_DB_NAME='powerdns_admin_test'
|
||||
-v /data/node_modules:/var/www/powerdns-admin/node_modules -d -p 9191:9191 ixpict/powerdns-admin-pgsql:latest
|
||||
```
|
||||
```
|
||||
|
||||
## Install required packages:
|
||||
### Red-hat based systems:
|
||||
```
|
||||
sudo yum install postgresql-libs
|
||||
```
|
||||
|
||||
### Debian based systems:
|
||||
```
|
||||
apt install libpq-dev python-dev
|
||||
```
|
||||
|
||||
### Install python packages:
|
||||
```
|
||||
pip3 install psycopg2
|
||||
```
|
||||
|
||||
## Known Issues:
|
||||
|
||||
** To fill in **
|
||||
|
Reference in New Issue
Block a user