How to assign static IP to virtual machine on VirtualBox

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • It's super easy.
    1. Choose Bridged Adapter
    2. Pick a fake MAC ID
    3. Allow all incoming connections
    4. Optionally, give your VM a name so you don't have type ip address
    I have two other videos on
    1. how to assign fixed IP address to a computer on your home network
    2. how to install VirtualBox on Fedora 32
    Feel free to check them out!

Комментарии • 22

  • @javi3830
    @javi3830 2 года назад

    All I did was;
    change adapter to host-only adapter.
    Allow all.
    I then boot the VM and navigated to the Staxx IP
    a small derivation from your approach, so thank you!

  • @bishalkrgautam
    @bishalkrgautam Год назад

    Thanks for this. This was super easy to setup.

  • @firstnamelastname5751
    @firstnamelastname5751 3 года назад

    Thank you for this upload!! Solved my issue perfectly!

  • @ManeelxAkosAdor
    @ManeelxAkosAdor Год назад +3

    man you don't event show where those screens are coming from, neither I have to guess

  • @VictorCamargoO
    @VictorCamargoO 2 года назад

    That's what I'm looking for. Thank you!

  • @milosveljkovic618
    @milosveljkovic618 3 года назад

    Nice video. Short and clear as cristalz ;)
    Hope you will record video for setting up GitLab on VM :)

    • @turingcs2001
      @turingcs2001  3 года назад +1

      I have set up GitLab on an Ubuntu VM at work, but there's nothing to do video about--it's quite straightforward. Just install PostgreSQL and GitLab and you are good. Did you encounter any issues?

    • @turingcs2001
      @turingcs2001  3 года назад +1

      Hey I just installed GitLab on my home computer (Ubuntu 21.04) without issues. FIrst install Postgres. The you need to manually download gitlab.deb file (ce or ee, I used ce or the community edition. enterprise should also work), then sudo apt install ./gitlabxxxxxx.deb. Gitlab will be served on port 80 (unless Apache2 server is already running, in that case you need to kill it first: sudo apache2 stop). Then you can create admin account using gitlab-rails console
      # find root user
      user = User.where(id: 1).first
      # modify your password
      user.password = 'secret_pass'
      user.password_confirmation = 'secret_pass'
      # save your password
      user.save!
      It's fairly straightforward. You can then login using root and whatever password you created. You should be able to configure port, etc. in config file.

    • @milosveljkovic618
      @milosveljkovic618 3 года назад

      @@turingcs2001 I am focused on automation lately, so I am wondering do we can to automate this installation proces with Go lang(sure we can with shell) - It will be nice to have FULL automatio which provision VM instal OS and all the following requirements to OS, then automatio should install gitlab etc...

  • @wushu1984
    @wushu1984 2 года назад

    Very nice video. much appreciated!

  • @OpenEDUonline
    @OpenEDUonline 8 месяцев назад

    Thanks for the video! I am trying to set up the following:
    example:
    10 VM's with different IP's and Macs.
    Each VM will basically be a digital "employee" with a unique identity.
    Will this method give that ability?
    For some reason I was thinking they would need dynamic IP, but if I can assign a staticIP which is distinct from the others with this method then awesome.
    I have the vision but not the technical experience!
    Any advice woulld be very much appreciated.
    Cheers!

    • @kam...3247
      @kam...3247 6 месяцев назад

      Yes it's totally possible. The only difference between an dynamic IP and a static IP is that the static IP is manually assigned.

  • @rakeshpanigrahi577
    @rakeshpanigrahi577 2 года назад

    Very Helpful!

  • @whazitcrease4455
    @whazitcrease4455 3 года назад

    It worked thanks bro

  • @Sparky_007
    @Sparky_007 3 года назад

    Thanks, but this method the VM doesn't take the assigned IP address from the router, only a DHCP determined one. EVEN if I manually assign it in my router, the VM doesn't care and uses some DHCP assigned one anyways.
    I tried to renew the IP address on the VM and it didn't care.

  • @CHOLOMBE
    @CHOLOMBE Год назад

    Helpful

  • @turingcs2001
    @turingcs2001  3 года назад

    If you did not configure your router, you will get a different IP address each time you reboot. The video shows router configuration. Please at least watch the video in full before leaving comments.

  • @nareshv9182
    @nareshv9182 3 года назад

    how to configure static ip in nat network in virtual box

  • @user-jo9jr1qc2k
    @user-jo9jr1qc2k Год назад

    omg
    it's you create dns row on you local machine
    I didn't see how u create static IP address

    • @turingcs2001
      @turingcs2001  Год назад

      Your IPS provider give you static IP if your internet service is on business plan. Most consumers don’t have static IP. This is for local static IP obviously.