{"id":42723,"date":"2026-08-14T02:24:56","date_gmt":"2026-08-14T02:24:56","guid":{"rendered":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/linux-operating-systems\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/"},"modified":"2026-08-14T04:19:25","modified_gmt":"2026-08-14T04:19:25","slug":"how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server","status":"publish","type":"docs","link":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/","title":{"rendered":"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server"},"content":{"rendered":"<article>NetBox is an Infrastructure Resource Modelling (IRM) designed for network automation and infrastructure engineering. Initially, it was created by the DigitalOcean team, and now become an open-source project released under the Apache 2 License.NetBox was created in the Python Django Web framework with PostgreSQL as the default database, and the installation of NetBox is quite similar to other Python Django web applications.This tutorial will show you how to install NetBox IRM on the Ubuntu 24.04 server with PostgreSQL as the database and Apache as a reverse proxy. You&#8217;ll also secure Netbox with HTTPS through Certbot and Let&#8217;s Encrypt.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<p>Before moving on, make sure you have the following:<\/p>\n<ul>\n<li>An Ubuntu 24.04 server<\/li>\n<li>A non-root user with administrator privileges<\/li>\n<li>A domain name pointed to a server IP address<\/li>\n<\/ul>\n<h2 id=\"installing-dependencies\">Installing Dependencies<\/h2>\n<p>To install NetBox, you must ensure dependencies are installed on your Ubuntu server. This includes Python3, PostgreSQL server, Apache web server, Redis, and system libraries. In this section, you&#8217;ll install those packages with the APT package manager.<\/p>\n<div>\n<div id=\"div-gpt-ad-1527185271042-6\">First, run the following command to update your Ubuntu package index.<\/div>\n<\/div>\n<pre class=\"command\">apt update<\/pre>\n<p>Once updated, install dependencies for NetBox with the following command. In this example, you&#8217;ll install PostgreSQL, Apache, Python, Redis, Certbot, build dependencies, and some libraries.<\/p>\n<pre class=\"command\">apt install apache2 postgresql postgresql-common libpq-dev redis-server git certbot python3 python3-pip python3-venv python3-dev build-essential libxml2-dev libxslt1-dev libffi-dev libssl-dev zlib1g-dev<\/pre>\n<p>Enter &#8216;<strong>Y<\/strong>&#8216; to confirm the installation.<\/p>\n<p>After the installation is finished, run the &#8216;systemctl&#8217; command below to verify the Apache web server status.<\/p>\n<pre class=\"command\">systemctl is-enabled apache2\r\nsystemctl status apache2<\/pre>\n<p>In the following output, you can see that Apache is running and enabled.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-42731\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png\" alt=\"\" width=\"1020\" height=\"399\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png 1020w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9-300x117.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9-768x300.png 768w\" sizes=\"(max-width: 1020px) 100vw, 1020px\" \/><br \/>\nLastly, check the PostgreSQL server status with the following:<\/p>\n<pre class=\"command\">systemctl is-enabled postgresql\r\nsystemctl status postgresql<\/pre>\n<p>In the output below, you can see that PostgreSQL is enabled and running with the status exited (systemd cannot find the service to monitor).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-42733\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-5.png\" alt=\"\" width=\"1015\" height=\"235\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-5.png 1015w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-5-300x69.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-5-768x178.png 768w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<h2 id=\"setting-up-postgresql\">Setting up PostgreSQL<\/h2>\n<p>After dependencies are installed, you need to set up the PostgreSQL server by creating a new user and database that NetBox will use.<\/p>\n<p>Log in to the PostgreSQL server using the command below.<\/p>\n<pre class=\"command\">sudo -u postgres psql<\/pre>\n<p>Now run the following queries to create a new user &#8216;<strong>netbox<\/strong>&#8216; with the password &#8216;<strong>green12345<\/strong>&#8216; and the new database &#8216;<strong>netboxdb<\/strong>&#8216;.<\/p>\n<pre class=\"command\">CREATE USER netbox LOGIN CREATEDB PASSWORD '<strong>green12345<\/strong>';\r\nCREATE DATABASE netboxdb OWNER netbox;<\/pre>\n<p>Once the database and user are created, verify the list of databases and users in PostgreSQL with the following.<\/p>\n<pre class=\"command\">\\l\r\n\\du<\/pre>\n<p>You can see below that the database &#8216;<strong>netboxdb<\/strong>&#8216; and user &#8216;<strong>netbox<\/strong>&#8216; are created.<\/p>\n<p>Type &#8216;<strong>quit<\/strong>&#8216; to exit from the PostgreSQL server.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-42735\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-6.png\" alt=\"\" width=\"1018\" height=\"369\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-6.png 1018w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-6-300x109.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-6-768x278.png 768w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42737\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-3.png\" alt=\"\" width=\"976\" height=\"153\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-3.png 976w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-3-300x47.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-3-768x120.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/p>\n<h2 id=\"downloading-configuring-netbox\">Downloading Configuring Netbox<\/h2>\n<p>Now that the PostgreSQL database is ready, you&#8217;ll download and install NetBox on your Ubuntu machine. You&#8217;ll set up the domain name, secret key, and database for NetBox.<\/p>\n<p>First, run the command below to create a new user &#8216;netbox&#8217; on your Ubuntu machine.<\/p>\n<pre class=\"command\">useradd -r -d \/opt\/netbox -s \/usr\/sbin\/nologin netbox<\/pre>\n<p>Now run the command below to download the NetBox source code with the &#8216;<em>git<\/em>&#8216; command, and change the ownership to the &#8216;<em>netbox<\/em>&#8216; user.<\/p>\n<pre class=\"command\">git clone -b main --depth 1 https:\/\/github.com\/netbox-community\/netbox.git \/opt\/netbox\r\nchown -R netbox:netbox \/opt\/netbox<\/pre>\n<p>Move to the &#8216;<em>\/opt\/netbox\/netbox\/netbox<\/em>&#8216; directory and execute the &#8216;<em>generate_secret_key.py<\/em>&#8216; file. Copy the secret key to your note.<\/p>\n<pre class=\"command\">cd \/opt\/netbox\/netbox\/netbox\r\nsudo -u netbox python3 ..\/generate_secret_key.py\r\n8p6bK4B1bD2Q*2$r-gL70H=#-Z$tv*kMV=f=yaDDoiXbTW_gYx<\/pre>\n<p>Next, copy the &#8216;<em>configuration.py<\/em>&#8216; file and modify it using the &#8216;<em>nano<\/em>&#8216; editor.<\/p>\n<pre class=\"command\">sudo -u netbox cp configuration_example.py configuration.py\r\nsudo -u netbox nano configuration.py<\/pre>\n<p>Add your local IP address and domain name to the &#8216;<strong>ALLOWED_HOSTS<\/strong>&#8216;.<\/p>\n<pre>ALLOWED_HOSTS = ['netboxgreencloud.example.net', '64.44.x.x']<\/pre>\n<p>Enter your PostgreSQL database name, user, and password in the &#8216;<strong>DATABASE<\/strong>&#8216; section.<\/p>\n<pre># database configuration\r\nDATABASE = {\r\n'NAME': 'netboxdb', # Database name\r\n'USER': 'netbox', # PostgreSQL username\r\n'PASSWORD': 'netboxpassword', # PostgreSQL password\r\n'HOST': 'localhost', # Database server\r\n'PORT': '', # Database port (leave blank for default)\r\n'CONN_MAX_AGE': 300, # Max database connection age (seconds)\r\n}<\/pre>\n<p>Paste your secret key into the &#8216;<strong>SECRET_KEY<\/strong>&#8216; section.<\/p>\n<pre>SECRET_KEY = '8p6bK4B1bD2Q*2$r-gL70H=#-Z$tv*kMV=f=yaDDoiXbTW_gYx'<\/pre>\n<p>Save the file and exit the editor when finished.<\/p>\n<h2 id=\"migrating-netbox-and-setting-up-administrator\">Migrating Netbox and setting up administrator<\/h2>\n<p>Now that you&#8217;ve configured NetBox with the PostgreSQL server, you&#8217;re ready to migrate the database and create an administrator user for the NetBox installation.<\/p>\n<p>Execute the &#8216;<em>upgrade.sh<\/em>&#8216; script using the command below. This will create a Python environment, install dependencies for NetBox, migrate the NetBox database, connect to Redis, and then generate static files.<\/p>\n<pre class=\"command\">sudo -u netbox \/opt\/netbox\/upgrade.sh<\/pre>\n<p><a id=\"img-screenshot_at_2024-11-26_13-51-40\" class=\"fancybox\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_netbox_irm_on_ubuntu_2404_server\/big\/screenshot_at_2024-11-26_13-51-40.png\"><\/a>After the process is finished, you need to create a new admin user for NetBox through the &#8216;<em>manage.py<\/em>&#8216; script.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42739\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-10.png\" alt=\"\" width=\"1020\" height=\"708\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-10.png 1020w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-10-300x208.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-10-768x533.png 768w\" sizes=\"(max-width: 1020px) 100vw, 1020px\" \/><br \/>\nRun the following command to activate the NetBox virtual environment. Once activated, your shell will become such as &#8216;<strong>(venv) user@hostname<\/strong>&#8216;.<\/p>\n<pre class=\"command\">source \/opt\/netbox\/venv\/bin\/activate<\/pre>\n<p>Go to the &#8216;<em>\/opt\/netbox\/netbox<\/em>&#8216; directory and execute the &#8216;<em>manage.py<\/em>&#8216; script like the following:<\/p>\n<pre class=\"command\">cd \/opt\/netbox\/netbox\r\npython3 manage.py createsuperuser<\/pre>\n<p>Enter your username, email address, and password for the NetBox administrator.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42741\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-7.png\" alt=\"\" width=\"1017\" height=\"230\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-7.png 1017w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-7-300x68.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-7-768x174.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><br \/>\nOnce complete, execute the &#8216;<strong>deactivate<\/strong>&#8216; command to exit from the NetBox virtual environment.<\/p>\n<h2 id=\"running-netbox-as-a-service\">Running NetBox as a service<\/h2>\n<p>In this section, you&#8217;ll copy NetBox configurations that will be used to run NetBox as a systemd service. You need to ensure that Netbox is running under Gunicorn, and then copy Netbox service files to the &#8216;<em>\/etc\/systemd\/system<\/em>&#8216; directory.<\/p>\n<p>First, copy the &#8216;<em>gunicorn.py<\/em>&#8216; script to the &#8216;<em>\/opt\/netbox<\/em>&#8216; directory. This script contains the configuration for NetBox to run under the Python WSGI server.<\/p>\n<pre class=\"command\">cp \/opt\/netbox\/contrib\/gunicorn.py \/opt\/netbox\/gunicorn.py<\/pre>\n<p>Now run the command below to copy service files for Netbox to the &#8216;<em>\/etc\/systemd\/system<\/em>&#8216; directory and reload the systemd manager.<\/p>\n<pre class=\"command\">cp -v \/opt\/netbox\/contrib\/*.service \/etc\/systemd\/system\/\r\nsystemctl daemon-reload<\/pre>\n<p>Once systemd is reloaded, run the &#8216;<em>systemctl<\/em>&#8216; command below to start and enable NetBox services.<\/p>\n<pre class=\"command\">systemctl enable --now netbox netbox-rq<\/pre>\n<p>Lastly, verify NetBox services to ensure it is running with the following command.<\/p>\n<pre class=\"command\">systemctl status netbox netbox-rq<\/pre>\n<h2 id=\"configuring-apache-as-a-reverse-proxy\">Configuring Apache as a reverse proxy<\/h2>\n<p>At this point, Netbox is running in the background as a service under the Python WSGI server. To make it accessible from outside, you need to configure Apache as a reverse proxy. Before that, you also need to generate SSL certificates to secure Netbox installation.<\/p>\n<p>First, run the command below to stop the &#8216;<em>apache2<\/em>&#8216; service.<\/p>\n<pre class=\"command\">systemctl stop apache2<\/pre>\n<p>Now generate SSL certificates from Let&#8217;s Encrypt with the &#8216;<em>certbot<\/em>&#8216; command below. Make sure to change the domain name and email address to your information.<\/p>\n<pre class=\"command\">certbot certonly --standalone --preferred-challenges http -d netboxgreencloud.example.net<\/pre>\n<p>After the process is finished, your SSL certificates will be available in the &#8216;<em>\/etc\/letsencrypt\/live\/domain.com<\/em>&#8216; directory.<\/p>\n<p>Next, copy the Apache configuration for Netbox to the &#8216;<em>\/etc\/apache2\/sites-available\/netbox.conf<\/em>&#8216; file and modify it using the &#8216;<em>nano<\/em>&#8216; editor.<\/p>\n<pre class=\"command\">cp \/opt\/netbox\/contrib\/apache.conf \/etc\/apache2\/sites-available\/netbox.conf\r\nnano \/etc\/apache2\/sites-available\/netbox.conf<\/pre>\n<p>Replace the domain name within the &#8216;<strong>ServerName<\/strong>&#8216; option and change the path of your SSL certificates.<\/p>\n<pre>&lt;VirtualHost *:80&gt;\r\n# CHANGE THIS TO YOUR SERVER'S NAME\r\nServerName netboxgreencloud.example.net\r\n\r\n...\r\n&lt;\/VirtualHost&gt;\r\n\r\n&lt;VirtualHost *:443&gt;\r\nProxyPreserveHost On\r\n\r\n# CHANGE THIS TO YOUR SERVER'S NAME\r\nServerName netboxgreencloud.example.net\r\n\r\nSSLEngine on\r\nSSLCertificateFile \/etc\/letsencrypt\/live\/netboxgreencloud.example.net\/fullchain.pem\r\nSSLCertificateKeyFile \/etc\/letsencrypt\/live\/netboxgreencloud.example.net\/privkey.pem\r\n...\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Save the file and exit the editor when done.<\/p>\n<p>Now run the command below to activate Apache modules and the virtual host file &#8216;<em>netbox.conf<\/em>&#8216;.<\/p>\n<pre class=\"command\">a2enmod ssl proxy proxy_http headers rewrite\r\na2ensite netbox.conf<\/pre>\n<p>After the virtual host is activated, run the following command to restart Apache and apply your changes. With this, your Netbox installation should be running under the Apache reverse proxy with HTTPS enabled.<\/p>\n<pre class=\"command\">systemctl restart apache2<\/pre>\n<p>Lastly, visit https:\/\/netboxgreencloud.example.net\/ with your web browser, and you&#8217;ll be redirected to the Netbox login page. Enter your admin username and password, then click <strong>Sign In<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42743\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-11.png\" alt=\"\" width=\"1017\" height=\"728\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-11.png 1017w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-11-300x215.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-11-768x550.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><br \/>\nYou&#8217;ll see the following NetBox dashboard if you&#8217;ve proper admin credentials.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42745\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-8.png\" alt=\"\" width=\"1015\" height=\"889\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-8.png 1015w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-8-300x263.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_2-8-768x673.png 768w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><br \/>\nClick on the\u00a0<strong>Admin &gt; System<\/strong> menu to see information on your NetBox installation. In the following output, you can see NetBox v4.1.7 is installed with the PostgreSQL database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42747\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-4.png\" alt=\"\" width=\"1015\" height=\"886\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-4.png 1015w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-4-300x262.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_3-4-768x670.png 768w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>Congratulations! You&#8217;ve finished the installation of Netbox IRM on the Ubuntu 24.04 server. You&#8217;ve got Netbox up and running with PostgreSQL as the database server and Apache as a reverse proxy. You&#8217;ve also secured Netbox with HTTPS through Certbot.<\/p>\n<\/article>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>NetBox is an Infrastructure Resource Modelling (IRM) designed for network automation and infrastructure engineering. Initially, it was created by the DigitalOcean team, and now become an open-source project released under the Apache 2 License.NetBox was created in the Python Django Web framework with PostgreSQL as the default database, and the installation of NetBox is quite [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"parent":17817,"menu_order":443,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-42723","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation\" \/>\n<meta property=\"og:description\" content=\"NetBox is an Infrastructure Resource Modelling (IRM) designed for network automation and infrastructure engineering. Initially, it was created by the DigitalOcean team, and now become an open-source project released under the Apache 2 License.NetBox was created in the Python Django Web framework with PostgreSQL as the default database, and the installation of NetBox is quite [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/\" \/>\n<meta property=\"og:site_name\" content=\"GreenCloud Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-14T04:19:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"399\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/\",\"name\":\"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot_1-9.png\",\"datePublished\":\"2026-08-14T02:24:56+00:00\",\"dateModified\":\"2026-08-14T04:19:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot_1-9.png\",\"contentUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot_1-9.png\",\"width\":1020,\"height\":399},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GreenCloud Documents\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/docs\\\/greencloud-documents\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Linux Operating Systems\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/linux-operating-systems\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\",\"name\":\"GreenCloud Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/green.cloud\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation","og_description":"NetBox is an Infrastructure Resource Modelling (IRM) designed for network automation and infrastructure engineering. Initially, it was created by the DigitalOcean team, and now become an open-source project released under the Apache 2 License.NetBox was created in the Python Django Web framework with PostgreSQL as the default database, and the installation of NetBox is quite [&hellip;]","og_url":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/","og_site_name":"GreenCloud Documentation","article_modified_time":"2026-08-14T04:19:25+00:00","og_image":[{"width":1020,"height":399,"url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/","url":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/","name":"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server - GreenCloud Documentation","isPartOf":{"@id":"https:\/\/green.cloud\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/#primaryimage"},"image":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/#primaryimage"},"thumbnailUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png","datePublished":"2026-08-14T02:24:56+00:00","dateModified":"2026-08-14T04:19:25+00:00","breadcrumb":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/#primaryimage","url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png","contentUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2026\/08\/Screenshot_1-9.png","width":1020,"height":399},{"@type":"BreadcrumbList","@id":"https:\/\/green.cloud\/docs\/how-to-install-netbox-irm-infrastructure-resource-modelling-tool-on-ubuntu-24-04-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/green.cloud\/docs\/"},{"@type":"ListItem","position":2,"name":"GreenCloud Documents","item":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/"},{"@type":"ListItem","position":3,"name":"Linux Operating Systems","item":"https:\/\/green.cloud\/docs\/linux-operating-systems\/"},{"@type":"ListItem","position":4,"name":"How to Install NetBox IRM (Infrastructure Resource Modelling Tool) on Ubuntu 24.04 Server"}]},{"@type":"WebSite","@id":"https:\/\/green.cloud\/docs\/#website","url":"https:\/\/green.cloud\/docs\/","name":"GreenCloud Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/green.cloud\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/42723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/comments?post=42723"}],"version-history":[{"count":4,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/42723\/revisions"}],"predecessor-version":[{"id":42749,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/42723\/revisions\/42749"}],"up":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/17817"}],"wp:attachment":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/media?parent=42723"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/doc_tag?post=42723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}