日历存档: 2020 年 1 月 14 日

Ubuntu 18.04 LTS安装NetBox v2.6.12

分类:运维技术日期:2020-01-14 - 23:59:13评论:0条作者:老谢

  NetBox是一款IP地址管理(IPAM)和数据中心基础结构管理(DCIM)工具,原本在用racktales,但是在某群看到有哥们发出NetBox的截图后,起码看起来比racktales的ui现代化一点,于是折腾一把试试看。

项目地址:https://github.com/netbox-community/netbox
官方文档:https://netbox.readthedocs.io/en/stable/
参考文档:https://computingforgeeks.com/how-to-install-netbox-on-centos-7-with-apache-and-supervisord/

  • IP address management (IPAM) – IP networks and addresses, VRFs, and VLANs
  • Equipment racks – Organized by group and site
  • Devices – Types of devices and where they are installed
  • Connections – Network, console, and power connections among devices
  • Virtualization – Virtual machines and clusters
  • Data circuits – Long-haul communications circuits and providers
  • Secrets – Encrypted storage of sensitive credentials
安装PostgreSQL
apt-get update
apt-get install -y postgresql libpq-dev
# sudo -u postgres psql
psql (9.4.5)
TYPE "help" FOR help.
 
postgres=# CREATE DATABASE netbox;
CREATE DATABASE
postgres=# CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
CREATE ROLE
postgres=# GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox;
GRANT
postgres=# \q
 
psql -U netbox -W -h localhost netbox

继续阅读…