Home > centos > Question when installing CentOS on virtual box

Question when installing CentOS on virtual box

July 6Hits:1
Advertisement

I'm installing CentOS server on virtual box to test it out. I have little sysadmin and networking knowledge, so please elaborate as much as you can.

I'm following this tutorial, and I'm stuck on the following 2 steps (IP and DNS stuff). See the images, sorry couldn't insert images, the system wouldn't let me.

http://static.howtoforge.com/images/perfect_server_centos_5.5_x86_64_ispconfig3/10.png

http://static.howtoforge.com/images/perfect_server_centos_5.5_x86_64_ispconfig3/11.png

The tutorial uses IP 192.168.1.1 for the server. I checked my router and checked the next available IP address which was 192.168.1.51 I then entered 255.255.255.0 as the submask without knowing why.

My next (and main) problem now is the Hostname, Gateway, Primary DNS, and Secondary DNSin image 11:

http://static.howtoforge.com/images/perfect_server_centos_5.5_x86_64_ispconfig3/11.png

How do I decide what to put there? What if I put random IPs (as they appear to have done in this tutorial) and it pings that real IP or something similar.

Anyone can help me understand this better?

Answers

What to put there depends primarily on how you configure networking on VirtualBox. If you are using NAT (default), you should configure Centos to use DHCP. With other configurations (Bridged, Internal network, Host Only), you should set an IP address depending on the target network. Random addresses might be good for tutorials but not for real life, unless you don't mind connecting your Centos to something else.

If your host running VM is configured using DHCP, simplest solution would be let Centos use DHCP as well and use Bridged setting.

Related Articles

  • Question when installing CentOS on virtual boxJuly 6

    I'm installing CentOS server on virtual box to test it out. I have little sysadmin and networking knowledge, so please elaborate as much as you can. I'm following this tutorial, and I'm stuck on the following 2 steps (IP and DNS stuff). See the image

  • How to install centos inside virtual box using iso image

    How to install centos inside virtual box using iso imageFebruary 1

    I am using oracle virtual box manager I created the virtual hard disk In Setting -> System -> Boot order selected CD/DVD-ROM has the first priority And in storage I did this changes while starting installtion its giving this error What is the mistak

  • Can't install CentOS on Virtual box December 7

    I've never had this problem before, I've build multiple VMs on my pc, and they all work. Today, when I try to deploy a new VM, it starts like normal, but ends with this: [<FFFFFFFF81c28929>] ? error +0x0/0x17 [<FFFFFFFF8100C200>] ? child_rip+0

  • When Installing Ubuntu through virtual box I get an error

    When Installing Ubuntu through virtual box I get an error December 1

    This question already has an answer here: Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error 3 answers When Installing Ubuntu through virtual box I get an error Thi

  • Unable to install CentOS in virtual machine on Windows 7 64-bit platform? Please give me suggestionsOctober 21

    I am unable to install CentOS in virtual machine on Windows 7 64-bit platform. Please give me suggestions... My laptop is a recent Lenovo G50 pentium Quad core. 4GB ram. I want to use it because want to learn Linux and want to run java programs in th

  • How can I install Gentoo on Virtual Box//(Ubuntu 12.04)September 5

    I'm googling for a while about how can I install Gentoo on Virtual Box. The hand book provides less information about installing it on virtual box rather on a real partition. I thought there will be a GUI tool to install Gentoo. [Now I think there is

  • How to enable windows 8 installed in VM Virtual box to use the laptop's build-in web cameraOctober 26

    How to enable the laptop's build-in web camera, to be available on windows 8 installed in VM Virtual box. My web cam is working fine in windows 7(host). For my linux VM box it works fine as well. Any suggestion? --------------Solutions------------- I

  • Trying to install kali on virtual box gets:VERR_NOT_SUPPORTED

    Trying to install kali on virtual box gets:VERR_NOT_SUPPORTEDOctober 26

    I am attempting to install kali using virtual box here is a picture of my setup: I have downloaded the iso file from https://www.kali.org/downloads/ However when i attempt to use the iso file i get the following message: Can anyone tell me what im do

  • Could I install ubuntu in Virtual Box using wubi?November 15

    I am installing virtual box on windows and want to install ubuntu on this box using wubi? Or simply when I run the wubi installer, can I indicate that install on virtual box? The problem is that I don't have nero on my machine so I can't burn the ubu

  • How do I install Ubuntu through virtual box?

    How do I install Ubuntu through virtual box? September 7

    This question already has an answer here: How do I install Ubuntu? 2 answers How to install Ubuntu on VirtualBox? 3 answers I have set up Ubuntu on virtual box. I have reached the stage where it says install or try Ubuntu. When I press try, it takes

  • installing xubu on 'virtual box'

    installing xubu on 'virtual box'April 20

    I am having a problem installing xubu 13.10 as a VM in KVM, but running as live disk in 'virtual box' seems to work good. So I guess I will go ahead for now and run 13.10 as VM in virtual box, but I have a question regarding the installation: when th

  • Replace laptop pre-installed with windows with ubuntu and install windows on virtual box as genuine windows

    Replace laptop pre-installed with windows with ubuntu and install windows on virtual box as genuine windowsOctober 24

    I was always wanted to try this. I want to purchase laptop with windows(win 8.1 as latest) pre-installed. And then dual boot into ubuntu where I would like to install same copy of windows into virtual machine/VirtualBox without getting genuine error.

  • How can I install ubuntu on virtual box with just command promptNovember 7

    My laptop does not a lot of RAM. I have installed Virtual box on my windows 7 machine. How can I install a Ubuntu environment with just console? Thank you. --------------Solutions------------- Download from ubuntu.com the ubuntu server 12.04 LTS .iso

  • I want to install Fedora in Virtual Box with a Usb stickJuly 19

    I managed to install Virtual Box on my Ubuntu system; now I want to install Fedora within the virtual machine. I have a Fedora image installed on a usb stick that is accessible by a vmdk file - an image used to install Fedora on a system if no OSes w

  • ubuntu 14.10 install fail in virtual boxMarch 18

    I have tried to do a fresh install of Ubuntu 14.10 32Bit I am able to install through virtual-box, but it fails after install and gives error: - 0x7103e88e memory written fail is happened --------------Solutions------------- Have you tried completely

  • Error while installing packages (for Virtual Box builds)August 8

    I am trying to install the following packages - Linux Packages (Website is down for some reasons. Here is the PDF copy of the website - Virtual Box Build Instructions) Here is the code I'm trying to execute - apt-get install gcc g++ bcc iasl xsltproc

  • Use SSH on RedHat installed on Oracle Virtual boxSeptember 1

    I have installed Oracle Virtual Box and RedHat on it. Can I use SSH or PuTTy from my local PC (Windows 7) to access RedHat locally? If yes then what will I enter in field of Host name? And if no then what is best way to connect to it? --------------S

  • need help installing ubuntu on virtual boxMay 24

    can someone help or tell me how to get Ubuntu 14.04.4 LTS installed and running on my mac in virtual box version Version 5.0.10 r104061 --------------Solutions------------- Tried just about everything messing around to get the right settings the righ

  • "No root system defined" while installing ubuntu on Virtual boxMarch 31

    i continuously get the error "No root System defined" in the last installation step and it asks for partitioning but under the condition of erasing everything on the disk !!! --------------Solutions------------- well by "erase and use the e

  • Error When Install Ubuntu on Virtual Box February 5

    This question already has an answer here: How can I install on a non-PAE CPU? (error "Kernel requires features not present on the CPU: PAE") 7 answers I`m wanting to install Ubuntu 13.10 on virtual machine(VirtualBox) but I got an error when I w

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.895 s.