Unverified Commit aa0f126d authored by mats Dufberg's avatar mats Dufberg Committed by GitHub
Browse files

Merge pull request #926 from matsduf/update-freebsd-installation

Updated instruction for FreeBSD due to updated indirect dependencies
parents 5ff9d196 dbef9094
......@@ -541,7 +541,10 @@ sed -i '' '/[[:<:]]engine[[:>:]]/ s/=.*/= MySQL/' /usr/local/etc/zonemaster/back
Install, configure and start database engine (and Perl bindings):
```sh
pkg install -y mysql57-server p5-DBD-mysql
pkg install mysql57-server p5-DBD-mysql
```
```sh
sysrc mysql_enable="YES"
service mysql-server start
```
......@@ -668,10 +671,29 @@ sed -i '' '/[[:<:]]engine[[:>:]]/ s/=.*/= PostgreSQL/' /usr/local/etc/zonemaster
```
> **Note:** See the [backend configuration] documentation for details.
Install, configure and start database engine (and Perl bindings):
Install, configure and start database engine and Perl bindings:
```sh
pkg install p5-DBD-Pg
```
The Perl bindings library (`p5-DBD-Pg`) has a dependency to a specific version
of `postgresql-client`. Determine what version was installed:
```sh
pkg info | grep postgresql | grep client
```
If the installed client is not version `13` then adjust the following command to
install `postgresql-server` with the same version as `postgresql-client`
installed.
```sh
pkg install postgresql13-server
```
Enable daemon, initiate and start:
```sh
pkg install -y postgresql12-server p5-DBD-Pg
sysrc postgresql_enable="YES"
service postgresql initdb
service postgresql start
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment