Installing CentOS 6.4 on VirtualBox

I would like to share with you a tool I have been using to monitor all our internal servers and applications. This monitoring tool is called Zabbix and I must say I am pleased with it. To begin with we need to install the Linux OS and thereafter deploy the tool as a package and demonstrate how it works in future post.

Requirement:

– Download CentOS 6.4 minimal installer

– Download and Install VirtualBox 4.2.12. Installing VirtualBox is straight forward so won’t cover that here

Setup:

– Launch VirtualBox and click on New button. Enter name of server, select Linux as type and select Red Hat (x86 or x64)

– Enter Minimum memory size

– Create a new Hard Drive

– Select VDI, next Dynamically allocated and ensure minimum disk size is 8GB

– Now click on Settings > Network and set it to either NAT (Default) or Bridged. We need to ensure the VM does have internet access

– Start the VM and the start-up disk box would appear. Click the yellow folder icon and locate the downloaded CentOS minimal iso file and click Start

– On the Welcome page, select ‘Install or upgrade an existing system‘ and press enter

– Wait for the install files to load and skip the Disc test

– On CentOS 6 screen click Next. Select desired Language and Keyboard. Under type of device, select Basic Storage Devices

– Select Yes to discard any data in detected storage

– Enter Hostname and next

– Lets quickly configure the networking by clicking on Configure Network, highlight appropriate network if you have more than one adapter enabled and click on Edit…

– Click on IPv4 Settings tab, now decide if you want to assign static IP or DHCP. Since I already configured the networking to be Bridged, I will leave as DHCP for now. Check the box ‘Connect automatically’ and set IPv6 to Ignore…

– Select Time Zone

– Enter root password

Note you may get the following message if password entered is weak

– Under Installation type, select ‘Use All Space

– Click Write changes to disk

– The installation will begin. This might take a little while

– After install is completed, click Reboot to reboot the system

– On the console screen, type the username ‘root’ and password. You should have a successful login…

– Next ping an external address to ensure you have access to the internet…

In my next post, I will install Zabbix package and configure it for use in later posts (exciting :))

 
comments powered by Disqus