diff --git a/README.md b/README.md index f79f1aa..965b2c8 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ Refer to the upstream documentation in case of doubts: [https://netbox.readthedo 1. Install and initialize PostgreSQL - ```shell + ``` sudo dnf -y install postgresql-server sudo -u postgres postgresql-setup --initdb ``` 2. Create a DB, user and grant priviledges - ```shell + ``` sudo -u postgres createuser netbox sudo -u postgres createdb netbox sudo -u postgres psql -c " @@ -26,7 +26,7 @@ Refer to the upstream documentation in case of doubts: [https://netbox.readthedo 4. Start the server - ```shell + ``` sudo systemctl enable --now postgresql ``` @@ -34,7 +34,7 @@ Refer to the upstream documentation in case of doubts: [https://netbox.readthedo It is possible to set up authentication, but this document is not touching it. -```shell +``` sudo dnf -y install redis sudo systemctl enable --now redis ``` @@ -45,7 +45,7 @@ sudo systemctl enable --now redis 1. Install Nginx - ```shell + ``` sudo dnf -y install nginx ``` @@ -73,7 +73,7 @@ sudo systemctl enable --now redis 3. Start the webserver - ```shell + ``` sudo systemctl enable --now nginx ``` @@ -91,6 +91,6 @@ Modify `/etc/netbox/conf/configuration.py`. The most interesting variables to ch Then start `netbox` and `netbox-rq` services: -```shell +``` sudo systemctl enable --now netbox netbox-rq ```