Docs cleanup

This commit is contained in:
jeremystretch
2021-04-05 21:46:48 -04:00
parent 53585eaa6b
commit 9ac1219700
2 changed files with 7 additions and 9 deletions

View File

@@ -7,8 +7,6 @@ This section entails the installation and configuration of a local PostgreSQL da
## Installation
## Installation
=== "Ubuntu"
```no-highlight
@@ -26,14 +24,14 @@ This section entails the installation and configuration of a local PostgreSQL da
!!! info
PostgreSQL 9.6 and later are available natively on CentOS 8.2. If using an earlier CentOS release, you may need to [install it from an RPM](https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/).
CentOS configures ident host-based authentication for PostgreSQL by default. Because NetBox will need to authenticate using a username and password, modify `/var/lib/pgsql/data/pg_hba.conf` to support MD5 authentication by changing `ident` to `md5` for the lines below:
CentOS configures ident host-based authentication for PostgreSQL by default. Because NetBox will need to authenticate using a username and password, modify `/var/lib/pgsql/data/pg_hba.conf` to support MD5 authentication by changing `ident` to `md5` for the lines below:
```no-highlight
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
```
```no-highlight
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
```
Then, start the service and enable it to run at boot:
Once PostgreSQL has been installed, start the service and enable it to run at boot:
```no-highlight
sudo systemctl start postgresql