Categories

Category cover

Automation
155 posts

Category cover

Learning paths
119 posts

Category cover

CISO
22 posts

Category cover

Security
20 posts

Category cover

Notes
19 posts

Category cover

Personal Security
18 posts

Category cover

Infrastructure
12 posts

Category cover

OT/ICS
5 posts

Category cover

Books
3 posts

Category cover

UNetLab
3 posts

Category cover

Write-up
3 posts

Category cover

OSInt
2 posts

Category cover

My life
1 posts

Installing Nautobot in your lab environment

Andrea Dainese
July 10, 2024
Post cover

In this guide, we’ll walk through installing Nautobot in a lab environment. For production installation, please refer to the official documentation . Nautobot requires Python versions between 3.8 and 3.11. First, ensure you have the correct Python version:

$ python3 -V
Python 3.11.9

Next, create a dedicated Python environment:

mkdir /opt/nautobot
python3.11 -m venv /opt/nautobot/venv
source /opt/nautobot/venv/bin/activate
pip install --upgrade pip wheel setuptools
pip install --no-binary=pyuwsgi nautobot

We will use PostgreSQL as the database. After installing PostgreSQL, create a dedicated database and user for Nautobot:

$ psql postgres
create user nautobot with password '42f5de36abff';
create database nautobot;
grant all privileges on database nautobot to nautobot;

Continue reading the post on Patreon .