Historic archive

How to Launch CentOS 7.2 in VirtEngine

Introduction The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). CentOS Linux is deve…

VirtEngine by DET.io 1 minute

Hands holding a document during a verification step.

Introduction

The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). CentOS Linux is developed by a small but growing team of core developers. In turn the core developers are supported by an active user community including system administrators, network administrators, managers, core Linux contributors, and Linux enthusiasts from around the world.

This tutorial will guide you in setting up a CentOS VM in VirtEngine.

###Prerequisites

  • You are running Ubuntu 14.04 or Linux workstation.

  • Git installed on your server, which you can do by following the How To Install Git with Apt.

  • An account on GitHub, which is a Git repository host. To follow this tutorial :

  • You have to create a valid credential for accessing https://console.VirtEngine.com. How to create an account with VirtEngine

You have to install openssh-server for ssh access.

$ sudo yum install openssh-server

To check the ssh is properly installed in our system

$ ps aux | grep sshd

###Step - 1 Creating CentOS VM

This initial section contains everything you need to get CentOS and running on your server.

First, ensure the user can login to https://console.VirtEngine.com.

  • Go to the Market Places.

  • Select the CentOS, A window will pop up with for CPU, storage, RAM and SSHkey options.

  • You can choose the storage size, RAM capacity.

  • You can Create a new sshkey, use an existing sshkey or import your own sshkeys too.

  • click the Create button. it will create the virtual machine.

###Step - 2 Access the CentOS VM

Next, Go to the Dashboard and click the domain name a new window will open.

  • It contains the CPU, RAM and Network tab.

  • It shows the Metrics, VM Logs, IP address and SSH URL.

  • Metrics shows the CPU,RAM and Network usage.

  • VM Logs shows all the running process in VM.

  • You need to access the Virtual Machine from a terminal.

  • You can download the SSH Keys from SSH Keys tab or Overview page. Use this key to login to your virtual machine using the following command,

      $ ssh -i path to/<private_key filename> root@<ipaddress>
    

###Conclusion

These are the very simple steps to launch CentOS in virtual machine. This is a good head-start for launching CentOS in VirtEngine.

###Deploy your CentOS VM now

Continue reading

More from the archive

Shelves in a library, looking up through the stacks.
Historic archive

Creating Customized Images

title: Building your own VM Image (Dockerfile for VMs) layout: post og_image_url: “https://blog.virtengine.com/res/gotalk-intro.png” description: Building your own VM Image (Dockerfile fo…

Source code on a laptop screen.
Historic archive

Packet.net networking for opennebula host

Our need is to setup opennebula in packet.net , so we have a server for both opennebula-frontend and opennebula-host. We have a local working server for opennbula-host with openvswitch. B…