Installing NetBox 10 minutes! WHAAAAAT?!?

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ค. 2024
  • Get the full KITS NetBox course here!: bit.ly/KITS-NetBox
    If you're interested in getting the course on the Proxmox Hypervisor go here: bit.ly/KITS-Proxmox
    NetBox is a fantastic platform for network documentation, but most folks get hung up during the extensive installation process. Let’s fix that: I’m going to show you how to get your own NetBox instantly up and running in less than 10 minutes. For those of you that have done this before, you may realize how impossible that sounds...just watch ;o).
    Exciting news!! My first full KITS course is out today, teaching you how to use NetBox! It's jam-packed with 20 lessons on everything you need to know to get started with an eye towards network automation as your next step. Learn more here: bit.ly/KITS-NetBox
    #KeepingITSimple
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 109

  • @sijoriasijoria
    @sijoriasijoria ปีที่แล้ว +3

    Hi Jeremy- happy to see you explaining Netbox, have been watching your videos since a long time now, did my ccna voice, ccna route switch with you at CBT nuggets. You are a great teacher!

  • @kristopherleslie8343
    @kristopherleslie8343 3 ปีที่แล้ว

    Did it again and thank you so much this worked out well. Was tired of the demo and was ready to do it in my home lab so I can get used to it more and deploy it for my job.

  • @shaitech128
    @shaitech128 3 ปีที่แล้ว +12

    Thanks Jeremy, loves your videos and explanations. I buy the full KITS course to support you and make more interesting videos (Please make CCIE Enterprise Infrastructure course)

  • @HiltonT69
    @HiltonT69 3 ปีที่แล้ว +3

    The Commodore Amiga, in its day (and for quite some time after) was an awesome piece of engineering.

  • @abhrajyotipaul9112
    @abhrajyotipaul9112 2 ปีที่แล้ว

    Thanks a lot for the detailed explanation. Could you please guide to configure SSO for NetBox using MS ADFS

  • @axxoaxx288
    @axxoaxx288 3 ปีที่แล้ว +4

    those who dont know how to start the netbox again after vm restart or shutdown or unexpected power down:
    1. ssh or console login
    2. enter ls . This will show you list of container folder.
    3. Enter "cd netbox-docker ". In my case netbox-docker is my folder.
    4. Enter "sudo docker-compose up"
    This will up your netbox docker...

  • @Fla2038
    @Fla2038 3 ปีที่แล้ว +1

    Been waiting for this Video 👍👍👍

  • @Spegarinos
    @Spegarinos ปีที่แล้ว

    Thank you for your video!
    I have a question how can we take backup from the whole Netbox database

  • @ajenks73
    @ajenks73 3 ปีที่แล้ว

    Thanks for the video Jeremy, I'm currently running an old version of Netbox. I want to spin up a new server and install the newest version and then migrate my database, is this doable?

  • @michaelcooper5490
    @michaelcooper5490 ปีที่แล้ว

    Hello Jeremy, Great job but your commands are not in the show notes, is there a place where we can get them? By The way if you would want a challenge Try upgrading netbox and doing a video there are a Ton of us who need to upgrade from an older version of netbox.

  • @mariembuenaventura1278
    @mariembuenaventura1278 3 ปีที่แล้ว +2

    You need to learn this NOW! I don't want to but I don't have a choice. Thanks sir! Can I do this on my XCP-NG?

  • @sitte24
    @sitte24 3 ปีที่แล้ว +1

    Can you please do a video on how to get netbox up and running on a synology box using their docker package?

  • @sitte24
    @sitte24 3 ปีที่แล้ว +3

    There is no need to use putty, you can use ssh via cmd or (the way i love it) with Windows Terminal

  • @MrEric377
    @MrEric377 3 ปีที่แล้ว

    Oh, I am trying to learn Azure and I was able to bring up a server, install netbox and start using netbox in about 10 - 15 min. but QQ, does the SSH have to keep running? as soon as I exited out the website went down. but that could be because I didn't setup the server in azure correctly???

  • @danielhimes9068
    @danielhimes9068 3 ปีที่แล้ว

    Very nice
    Is the data you put in perminate? I know Docker has issues with that some time, don't know if the docker file fixes that or not.

  • @HarimaKentaro
    @HarimaKentaro 6 หลายเดือนก่อน

    Is it possible to run multiple instances of netbox-docker within one VM? For example, in the above example that you have shown in the video, can you create a second instance? I tried doing it by creating a different project folder and download the files from git repo but when i run one instance, it just replaces the instance that is already running [I used different ports, tried even changing the project, container_name, network, etc. in the dock-compose.yml files]
    Thanks.

  • @hh-co3is
    @hh-co3is 11 หลายเดือนก่อน

    Great video, many thanks

  • @alexanderchemel5963
    @alexanderchemel5963 2 ปีที่แล้ว

    Great video!Thanks a lot!

  • @famdebruin687
    @famdebruin687 3 ปีที่แล้ว

    Hi. I have netbox running on Ubuntu with Docker. I want to move to another pc with Debian and Docker. How can I move the docker files ? Because it is a stack. Can’t find a good tutorial for this. Thanks

  • @damiondick7584
    @damiondick7584 3 ปีที่แล้ว +6

    version: '3.4'
    services:
    netbox:
    restart: unless-stopped
    netbox-worker:
    restart: unless-stopped
    nginx:
    restart: unless-stopped
    ports:
    - 8000:8080
    postgres:
    restart: unless-stopped
    redis:
    restart: unless-stopped
    redis-cache:
    restart: unless-stopped
    For the yml file

    • @stampeder1686
      @stampeder1686 2 ปีที่แล้ว

      Thanks for this. It worked like a charm.....

  • @johnmichaelechavez5979
    @johnmichaelechavez5979 3 ปีที่แล้ว +1

    thank you so much.. more promax videos..

  • @EoeSantinny
    @EoeSantinny 6 หลายเดือนก่อน

    This is just a great! thank you!

  • @eulisesluis9536
    @eulisesluis9536 ปีที่แล้ว

    Hello, how cHello, how could I make a daily backup of the changes that I am making? in case the machine fails to restore it, thank you very much for your help

  • @societyofnerds8662
    @societyofnerds8662 2 ปีที่แล้ว

    Hey, nice Tutorial but i get a Error when i use docker-compose pull "In file './docker-compose.override.yml', service must be a mapping, not a NoneType."
    Can anyone help?

  • @sicanu1981
    @sicanu1981 5 หลายเดือนก่อน

    Hi Jeremy, could you please show us how to update it as well, I have done a lot of work on my server and I do not want to lose all the work that I have done so far.

  • @MrRaru83
    @MrRaru83 2 ปีที่แล้ว

    Sorry if this is a dumb question, but is there any way to get this to work with HTTPS?

  • @avchernousov
    @avchernousov 2 ปีที่แล้ว

    Чисто восхитос! Thanks Jeremy!

  • @TheBenmcgee
    @TheBenmcgee ปีที่แล้ว

    Commodore Amiga :)
    Mine was an Atari 800 XL

  • @muntasirkonok9323
    @muntasirkonok9323 2 ปีที่แล้ว

    this is netbox 3.2.0 version. How can I update it after installation?

  • @jeffreyillescas2606
    @jeffreyillescas2606 8 หลายเดือนก่อน +1

    What did I do wrong? If when I enter netbox I get a username and password error, I can't log in with "user" admin and "against" admin

  • @Kestrel38
    @Kestrel38 2 ปีที่แล้ว

    Love this, but Jeremy when you created the LXC container you put the DNS IP in the domain field instead of the server field. Otherwise thanks so much for all the content you create for the network engineer community. Long time listener, first time caller.

  • @gibson60
    @gibson60 3 ปีที่แล้ว +3

    09:55 I think Dockerfile has nothing to do with Docker compose. Docker compose downloads the artifacts from docker registry on the cloud while Dockerfile is used to build a docker locally

  • @geogmz8277
    @geogmz8277 3 ปีที่แล้ว

    Greaaaaaat!! 🙌🏻🙌🏻🙌🏻

  • @oldshield
    @oldshield 3 ปีที่แล้ว +1

    Hey, if we use this via docker, where is the data stored? Am i going to reboot this box and all the work be gone?

    • @Nec89
      @Nec89 3 ปีที่แล้ว

      When you set up the docker container you declare a working directory to store it all. Default is / but generally its set to WORKDIR /app by the base image

  • @f.f.ivanovsky694
    @f.f.ivanovsky694 2 ปีที่แล้ว

    how do i set up ldap with netbox docker

  • @axxoaxx288
    @axxoaxx288 3 ปีที่แล้ว

    how to install the same in vmware workstation docker?

  • @harunaadoga
    @harunaadoga 2 หลายเดือนก่อน

    Thank you!

  • @wreckedzilla
    @wreckedzilla 3 ปีที่แล้ว +1

    mine running since about 2015,16?

  • @chrisvegas
    @chrisvegas 2 หลายเดือนก่อน

    i have a problem i can open netbox login page, but i cant log in with admin, admin, where ist the problem ?

  • @davidescolargodinez4931
    @davidescolargodinez4931 2 ปีที่แล้ว +1

    I execute: docker-compose pull , then it show this error: The Compose file is invalid because:
    Service nginx has neither an image nor a build context specified. At least one must be provided.
    Mi .yml:
    version: '3.4'
    services:
    nginx:
    ports:
    - 8000:8080

  • @dr.johannesmunch891
    @dr.johannesmunch891 2 ปีที่แล้ว

    Using the docker of my synology rackstation, I regard it more reliable and recoverable than my VM-ware esxi Hypervisor...

    • @denxos
      @denxos ปีที่แล้ว

      Hey, could you explain how you installed Netbox on a Synology? I've been trying to run Netbox on a Docker container in my Synology, but no luck so far.

  • @ositsitsigxitdkgzitsit5244
    @ositsitsigxitdkgzitsit5244 3 ปีที่แล้ว +1

    Got a vm for this to try in the morning

    • @martynch
      @martynch 3 ปีที่แล้ว

      Where did you get the VM from

    • @JoaoSilva-gs5jb
      @JoaoSilva-gs5jb 3 ปีที่แล้ว

      @@martynch try VirtualBox on windows, or virt manager on linux

  • @marianovallejos3115
    @marianovallejos3115 3 ปีที่แล้ว

    Hi, i'm new on Docker. I want start using Netbox on my laptop, then migrate all to another environment using Docker. I know Docker have volume so maybe this is missing on this course. Could anyone help me?

    • @KeepingITSimple
      @KeepingITSimple  3 ปีที่แล้ว

      You're giving me plenty of ideas for a Docker series :)

    • @marianovallejos3115
      @marianovallejos3115 3 ปีที่แล้ว

      ​@@KeepingITSimple First thanks you. I saw a NetworkChuck live video with you, so i decide to use Netbox with Docker and this is my first try with Docker.

  • @FranckEhret
    @FranckEhret 3 ปีที่แล้ว +1

    What about installing Netbox in a Windows (server) docker container ? 😊

    • @KeepingITSimple
      @KeepingITSimple  3 ปีที่แล้ว +2

      Totally possible

    • @FranckEhret
      @FranckEhret 3 ปีที่แล้ว +1

      @@KeepingITSimple I'd like to see that, I'm struggling to chose the right platform and I'm not a Linux guru AT ALL :P

    • @JoaoSilva-gs5jb
      @JoaoSilva-gs5jb 3 ปีที่แล้ว +1

      @@FranckEhret you don't need to be a Linux guru, the commands are all there, just try it out on VirtualBox and them try it out on windows server

    • @FranckEhret
      @FranckEhret 3 ปีที่แล้ว

      @@JoaoSilva-gs5jb in fact I have a netbox install on a small linux vm but not in a container, that is for my lab. But my speciality is Windows, so for the challenge... :-)

  • @jedilee
    @jedilee 3 ปีที่แล้ว

    Where is the docker-compose.override.yml text file copy and paste?
    I can't get the tabs right.

    • @KeepingITSimple
      @KeepingITSimple  3 ปีที่แล้ว

      Added it to the description of this video: th-cam.com/video/g8tC5fpk1Qk/w-d-xo.html

  • @curtish3481
    @curtish3481 ปีที่แล้ว

    I had the unfortunate issue of receiving the following error: The Compose file is invalid because: Service nginx has neither an image nor a build context specified. At least one must be provided.

    • @Rayzorc
      @Rayzorc ปีที่แล้ว +2

      For a quick answer, the docker-compose file must reflect this. So where nginx: was put netbox: Also dont forget the spacing
      tee docker-compose.override.yml

  • @squirrellysiege8361
    @squirrellysiege8361 3 ปีที่แล้ว +6

    Trying to get this working on a Raspberry Pi running Raspberry Pi OS. Everything seems to go well, until I do the docker-compose pull. I get an error:
    ERROR: The Compose file is invalid because:
    Service nginx has neither an image nor a build context specified. At least one must be provided.
    I haven't been able to find any information on the error, so I don't know if it is because of the OS or what. Anybody have success running Netbox on a Raspberry Pi OS?

    • @lanzevalencia6614
      @lanzevalencia6614 2 ปีที่แล้ว +1

      I'm having the same error, did you managed to resolve this?

    • @vitorhugopereiradesousa1721
      @vitorhugopereiradesousa1721 2 ปีที่แล้ว

      I am doing it all as he has (including Proxmox server, setup as he did) and getting the same error
      root@ubuntu18:~/netbox-docker# docker-compose pull
      ERROR: The Compose file is invalid because:
      Service nginx has neither an image nor a build context specified. At least one must be provided.

    • @vitorhugopereiradesousa1721
      @vitorhugopereiradesousa1721 2 ปีที่แล้ว +4

      @@lanzevalencia6614 I managed after all, go to the git url and copy the code from there (the tee part)

    • @lanzevalencia6614
      @lanzevalencia6614 2 ปีที่แล้ว +1

      @@vitorhugopereiradesousa1721 tnx, ill try this one

    • @vitorhugopereiradesousa1721
      @vitorhugopereiradesousa1721 2 ปีที่แล้ว

      @@lanzevalencia6614 also, remove the nginx part from the script provided by Jeremy, there's isn't nginx (still haven't figured what happened but that stopped me having "nginx" errors

  • @DanielKretsu
    @DanielKretsu 3 ปีที่แล้ว +2

    I want Netbox to auto start when I power on the VM after it's been shut down or rebooted, What do I need to do to make this work? Can't find any info online...

    • @brambruggers
      @brambruggers 3 ปีที่แล้ว +1

      same here? any tips? any one

    • @Nec89
      @Nec89 3 ปีที่แล้ว +2

      So you have two options
      1. use "docker run --restart=always"
      2. edit your "compose.yml" config file and edit or add "restart: always"

  • @marcesw35
    @marcesw35 3 ปีที่แล้ว

    can Netbox be installed on a Raspberry PI?

    • @cj_ames
      @cj_ames 3 ปีที่แล้ว +1

      I have not had any luck with trying this on a Pi4....

    • @thurmanpaul3501
      @thurmanpaul3501 3 ปีที่แล้ว +1

      I'm sure it could run on a container on a RasPi4! I have plenty of containers running on mine. I'm gonna try it out.

  • @julioccamara
    @julioccamara ปีที่แล้ว +1

    What is the username/ pass???? I'ved try admin/admin, netbox/netbox dont login

    • @adamboyd2570
      @adamboyd2570 9 หลายเดือนก่อน

      same issue. did you ever figure it out

    • @ErikRichardson1984
      @ErikRichardson1984 6 หลายเดือนก่อน

      i had to go into the docker container shell using docker exec -it /bin/bash and then i created an account using python manage.py createsuperuser then followed on the onscreen prompts

    • @ErikRichardson1984
      @ErikRichardson1984 6 หลายเดือนก่อน

      you can get the container name or id by doing docker ps

    • @bobmarsh-ql3wt
      @bobmarsh-ql3wt 6 หลายเดือนก่อน

      @@ErikRichardson1984 can you please give me the comments sir. Im new to this. thank you in advance!

    • @ErikRichardson1984
      @ErikRichardson1984 6 หลายเดือนก่อน

      @bobmarsh-ql3wt i used chatgpt which helped me resolve the issue.

  • @ErikRichardson1984
    @ErikRichardson1984 3 ปีที่แล้ว

    i dont often post but i am doing this behinde a proxy and had some issues this is how i fixed it
    For anyone who is changing the DNS but it is not getting results, check the proxy.
    You should setup a proxy for docker:
    stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy
    First, create a systemd drop-in directory for the docker service:
    mkdir /etc/systemd/system/docker.service.d
    Now create a file called /etc/systemd/system/docker.service.d/http-proxy.conf that adds the HTTP_PROXY environment variable:
    [Service]
    Environment="HTTP_PROXY=proxy.example.com:80/"
    If you have internal Docker registries that you need to contact without proxying you can specify them via the NO_PROXY environment variable:
    Environment="HTTP_PROXY=proxy.example.com:80/"
    Environment="NO_PROXY=localhost,127.0.0.0/8,docker-registry.somecorporation.com"
    Flush changes:
    $ sudo systemctl daemon-reload
    Verify that the configuration has been loaded:
    $ sudo systemctl show --property Environment docker
    Environment=HTTP_PROXY=proxy.example.com:80/
    Restart Docker:
    $ sudo systemctl restart docker
    Thanks to Evinhas github.com/docker/for-win/issues/611

  • @tikshuv-ccna
    @tikshuv-ccna 3 ปีที่แล้ว +3

    Thanks. I think it was too fast, confusing, and jumpy, maybe the clock made you (and me) dizzy. The all virtual and containers mixed and made it messy to understand - that is for me anyways.

  • @joostbosman1725
    @joostbosman1725 2 ปีที่แล้ว

    SSH config is not available for me

    • @MsRoflcopterman
      @MsRoflcopterman 2 ปีที่แล้ว +1

      apt install ssh, than try again. Had the same issue

  • @dennisweikel2566
    @dennisweikel2566 ปีที่แล้ว

    I wish this was a 20-minute video where you performed standard Ubuntu installation without using proxmox. The proxmox added a layer that I wasn't able to follow. I was not able to get the installation Netbox running using your recipe.

    • @lcrince
      @lcrince 4 หลายเดือนก่อน

      the normal installation, without proxmox, is just using docker. There are a ton of ways to do that none of which are difficult due to the plethora of documentation and tutorials available. The hard part is proxmox, that is what makes this video unique and so helpfull.

  • @kristopherleslie8343
    @kristopherleslie8343 3 ปีที่แล้ว +1

    Is it me or did he forget to install the virtualization drivers?

    • @JoaoSilva-gs5jb
      @JoaoSilva-gs5jb 3 ปีที่แล้ว

      probably proxmox doesn't need them

    • @kristopherleslie8343
      @kristopherleslie8343 3 ปีที่แล้ว +1

      @@JoaoSilva-gs5jb great thought. I don't know yet. I launched the environment in under an hour from download, setup usb, install hypervisor and docker. Sweet video ;)

    • @kristopherleslie8343
      @kristopherleslie8343 3 ปีที่แล้ว +1

      @@JoaoSilva-gs5jb it's one of those things, that wasn't explained :) but honestly, I don't think at this stage you have to install the QEMU drivers so far. Working fine and fast.

    • @MassivaMusic
      @MassivaMusic 2 ปีที่แล้ว

      qemu was not nessesary in this case but is advised.

  • @SH-fc7xp
    @SH-fc7xp 3 ปีที่แล้ว +1

    50 bucks? All the topics are in the docs, it should at least cover napalm, plugins, some api stuff etc

  • @danielkrajnik3817
    @danielkrajnik3817 3 ปีที่แล้ว

    is proxmox like vmware on steroids?

  • @aditya234567
    @aditya234567 2 ปีที่แล้ว

    This is lie.. you should start from turning on the PC lol

  • @montesdeocaaldo8604
    @montesdeocaaldo8604 3 ปีที่แล้ว +2

    Stop talking so much and explain the installation better

  • @sarmentinho
    @sarmentinho 5 หลายเดือนก่อน

    version: '3.4'
    services:
    netbox:
    restart: unless-stopped
    netbox-worker:
    restart: unless-stopped
    netbox:
    restart: unless-stopped
    ports:
    - 8000:8080
    postgres:
    restart: unless-stopped
    redis:
    restart: unless-stopped
    redis-cache:
    restart: unless-stopped
    For the yml file