Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zonemaster
zonemaster-backend
Commits
aa0f126d
Unverified
Commit
aa0f126d
authored
Dec 17, 2021
by
mats Dufberg
Committed by
GitHub
Dec 17, 2021
Browse files
Merge pull request #926 from matsduf/update-freebsd-installation
Updated instruction for FreeBSD due to updated indirect dependencies
parents
5ff9d196
dbef9094
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/Installation.md
View file @
aa0f126d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment