Installing Nautobot in your lab environment
文章介绍了在实验室环境中安装Nautobot的步骤,包括检查Python版本、创建虚拟环境、安装依赖包以及配置PostgreSQL数据库。生产环境安装需参考官方文档。 2025-9-20 19:3:40 Author: www.adainese.it(查看原文) 阅读量:12 收藏

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 .


文章来源: https://www.adainese.it/blog/2024/07/10/installing-nautobot-in-your-lab-environment/
如有侵权请联系:admin#unsafe.sh