Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts

Saturday, December 8, 2012

Install Archlinux on KVM, and ssh to play with it

Today, I've installed Archlinux on KVM virtual machine. I tried do it some times before but never done because the feeling something will be complicated with format HDD / config anything by hand. The truth is, it's nothing more than learn some simple command.

create a virtual machine and install archlinux on it:

root@lappy: ~ # virt-install --connect qemu:///system --name archfirst --ram 512 --disk path=~/archfirst.img,size=8 --cdrom=/home/hvn/Downloads/archlinux-2012.08.04-dual.iso

Tuesday, September 18, 2012

SSH into a VM from host machine

I'm using Virtualbox 4.1.2 on Ubuntu 12.04 LTS
After installed an Ubuntu server 12.04 into a VM machine, I want to ssh to it.

1. Config network
The fastest way to do this is enable a new adapter, attach it to Bridged Adapter. You have to turn off your VM. Then choose setting

Add caption


Start your VM. Now you need to config ip address for new interface: