Langsung ke konten utama

How to Install Configure and Create Virtual Machine on Ubuntu with KVM

1Check whether CPU has hardware virtualization support.

KVM only works if your CPU has hardware virtualization support – 
either Intel VT-x or AMD-V. To determine whether your CPU includes these features, 
run the following command:

#sudo grep -c "svm\|vmx" /proc/cpuinfo

A 0 indicates that your CPU doesn’t support hardware virtualization, 
while a 1 or more indicates that it does.


2Install KVM and supporting packages. 

Virt-Manager is a graphical application for managing your virtual machines — 
you can use the kvm command directly, but libvirt and Virt-Manager simplify the process.

#sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager

3Create User.

Only the root user and users in the libvirtd group have permission to use KVM virtual machines. 
Run the following command to add your user account to the libvirtd group:

#sudo adduser saju  
#sudo adduser saju libvirtd

After running this command, log out and log back in as saju 

4Check whether everything is working correctly. 

Run following command after logging back in as saju and you should see an empty list of virtual machines. 
This indicates that everything is working correctly.

#virsh -c qemu:///system list

5Open Virtual Machine Manager application and Create Virtual Machine

#virt-manager

http://virt-tools.org/
http://virt-manager.org/


Komentar

Postingan populer dari blog ini

Catatan Kehidupan 1 Jadilah orang baik by Mario Teguh

Jangan bergaul dengan orang yang tidak sopan, kasar, malas, sombong tapi pesimis. Mereka menarik Anda turun ke kelas-kelas moral yang rendah, baik karena meniru mereka atau karena terluka oleh hinaan, fitnah, dan kekejian mereka. Hiduplah sebagai pelajar dan pekerja yang baik hati, jujur, rajin, dan sopan. Di masa dewasa Anda, mereka akan menjadi oran g-orang kecil yang tidak dihargai oleh masyarakat, dan menua di dalam ketidak-jelasan pekerjaan dan sumber pendapatan. Di saat Anda berbahagia dalam kesyukuran, mereka menyesal dalam kelemahan hidup. Kalau kebaikan itu tidak ada gunanya, mengapa orang jahat pun tidak suka dijahati? Kebaikan adalah insting sejati jiwa Anda. Bahagialah menjadi orang baik. by Mario Teguh

Kopi berguna untuk kesehatan

Secangkir kopi di pagi hari baik untuk kesehatan kita. Kandungan kafein di dalam kopi dipercayai mampu memacu semangat kita untuk memulai kegiatan di pagi hari. Namun perlu diingat, konsumsi kopi yang berlebihan memiliki efek yang kurang baik bagi kesehatan juga lho :-)

Partitioning Drive in Linux

To create the first partition, the  root  partition, select the free space (the shrink space from Windows created earlier) and hit on the  +  icon below. On partition settings use the following configurations and hit  OK  to apply changes: 1.   Size = at least  20000  MB 2.   Type for the new partition =  Primary 3.   Location for the new partition =  Beginning 4.   Use as =  EXT4  journaling file system 5.   Mount point =  / Create the  home  partition using the same steps as above. Use all the available free space left for home partition size. The partition settings should look like this: 1.   Size = all remaining free space 2.   Type for the new partition =  Primary 3.   Location for the new partition =  Beginning 4.   Use as =  EXT4  journaling file system 5.   Mount point =  /home