Skip to content

Clearer instructions on how to load NetDisco on an Ubuntu server

Notifications You must be signed in to change notification settings

StewAlexander-com/NetDisco-Ubuntu-Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

NetDisco-Ubuntu-Install

Clearer instructions on how to load NetDisco on an Ubuntu server

Install Instructions

  1. Install an Ubuntu system (vm, kvm, using a live ISO, Virtualbox, etc)
  2. Run $sudo apt-get update, $sudo apt-get upgrade, sudo apt-get dist-upgrade on the Ubuntu system
  3. Reboot the system with $sudo shutdown -r now
  4. Install Cockpit, Cockpit-Docker, Cockpit-ws and Cockpit-packagekit (using the sudo apt-get install command)
  5. If docker is not yet installed, install it (using sudo apt-get install)
  6. Pull / install the latest docker image from https://hub.docker.com/r/netdisco/netdisco
  • You May have to look at the tags, for a recent install I needed to use $sudo docker pull netdisco/netdisco:latest-do
  1. Download docker-compose using $sudo apt-get install docker-compose
  2. Run commands listed in the NetDisco Dockerhub site: https://hub.docker.com/r/netdisco/netdisco
$sudo groupadd netdisco -g 901
$sudo useradd -u 901 -p x -g netdisco netdisco
$mkdir -p netdisco/{logs,config,nd-site-local}
$sudo chown -R netdisco:netdisco netdisco

and ...

 $sudo curl -Ls -o docker-compose.yml https://tinyurl.com/nd2-dockercompose
 $docker-compose up  

Be sure to use "sudo" first on the curl and docker-compose commands (i.e. $sudo curl -Ls -o ...) in Ubuntu, unless logged in as root

  1. If the "docker-compose" command is successful NetDisco should be up
  2. Once installed go to: <IP_ADD>:9090/system for the Cockpit management console, and <IP_ADD>/# for NetDisco (where <IP_ADD> is the IP address for the Ubuntu server)
  3. Go to the NetDisco website, then go to the menu Admin -> User Management
  4. Create users / passwords, be sure to click the save button (at the right, looks like an an old style disk icon, refresh the page to make sure), and add a password to the guest account (click save again of course, do not delete "guest" yet )
  5. Open a connection to the NetDisco server, and edit the deployment.yml file (using nano or vi) located here:
    /home/support/netdisco/config
  6. Change no_auth: true to no_auth: false in the deployment.yml file
  7. Stop the docker containers (multiple ways to do this, one way is to use the Cockpit Management GUI)
  8. From the server command line go to /home/support
  9. Issue the command $sudo docker-compose up -d (the "d" flag runs the command in the background), if everything goes well NetDisco should be back up
  10. If NetDisco does not request a login, but instead takes you to the guest account, go to the user name menu on the right, and select "Log Out"
  11. Login as one of the accounts that were created in step #12, go to Admin -> User Management (as above), and delete the guest account

Initial Setup

  • Log in to NetDsico, go to the Admin menu and click all of the following one at a time
Discover All
Arpnip All
Macsuck All
NBTstat ALL
Run Expire Job
Update Statistics
  • Then go to Admin -> Job Queue to watch the status of all the jobs, when done setup should be complete

About

Clearer instructions on how to load NetDisco on an Ubuntu server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published