User Tools

Site Tools


virtualizor:install-kvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
virtualizor:install-kvm [2018/02/25 02:33] kbadminvirtualizor:install-kvm [2018/02/25 05:24] – [Install KVM] kbadmin
Line 5: Line 5:
   * KVM tidak mendukung sistem operasi 32 bit   * KVM tidak mendukung sistem operasi 32 bit
  
-===== Centos 6.x 64 bit ===== 
-Sebelum anda melakukan installasi kvm pastikan anda menginstall beberapa paket pendukung. 
 ==== Partisi ==== ==== Partisi ====
  
Line 12: Line 10:
 | /               | 80-100 GB   | Partisi root berisi file sistem operasi dan template kvm | | /               | 80-100 GB   | Partisi root berisi file sistem operasi dan template kvm |
 | SWAP            | 4 GB +      | Partisi untuk persiapan apabila RAM anda habis | | SWAP            | 4 GB +      | Partisi untuk persiapan apabila RAM anda habis |
-| Storage         | Disk space yang akan digunakan untuk pembuatan VPS | This partition can be used to create either **Logical Volumes** or **File Based Storage** for the VPS (DomUs). \\ **NOTE for LVM** : You must NOT create any Logical Volume and MOUNT it. This must be an EMPTY VOLUME GROUP. \\ Virtualizor will not delete any pre-existing LVs in the Volume Group. But its recommended to have an empty Volume Group.\\            **NOTE for File Storage** : You must create and mount the folder. |+| Storage         | Disk space yang akan digunakan untuk pembuatan VPS | Anda bisa menggunakan sebagai **Logical Volume** untuk KVM atau **File Based Storage** untuk jenis qcow2 |
  
 +
 +===== Centos 6.x 64 bit =====
 +Sebelum anda melakukan installasi kvm pastikan anda menginstall beberapa paket pendukung.
  
 ==== Persiapan ==== ==== Persiapan ====
Line 22: Line 23:
 ==== Setting Bridge ==== ==== Setting Bridge ====
  
 +Anda menggunakan eth0 atau eth1 jika eth0 cek dengan cara seperti ini
 +<code>
 +root# cat /etc/sysconfig/network-scripts/ifcfg-eth0
 +DEVICE=eth0
 +BOOTPROTO=static
 +TYPE=Ethernet
 +HWADDR=00:25:90:98:35:90
 +IPADDR=105.94.182.93
 +NETMASK=255.255.255.248
 +GATEWAY=105.94.182.89
 +IPV6INIT=yes
 +IPV6_AUTOCONF=yes
 +ONBOOT=yes
 +</code>
 +
 +=== Backup setting eth0/1 ===
 +<code>
 +root# cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak
 +</code>
 +=== Buat File Bridge ===
 +<code>
 +root# nano /etc/sysconfig/network-scripts/ifcfg-viifbr0
 +</code>
 +isi seperti ilustrasi ini
 +<code>
 +DEVICE=viifbr0
 +TYPE=Bridge
 +BOOTPROTO=static
 +IPADDR=105.94.182.93
 +NETMASK=255.255.255.248
 +GATEWAY=105.94.182.89
 +ONBOOT=yes
 +</code>
 +
 +IP Address dan gateway diatas ganti sesuai dengan ip dan gateway anda.
 +
 +=== Edit eth0/1 ===
 +<code>
 +root# nano /etc/sysconfig/network-scripts/ifcfg-eth0
 +</code>
 +kira-kira seperti ini
 +<code>
 +DEVICE=eth0
 +HWADDR=00:25:90:98:35:90
 +IPV6INIT=yes
 +IPV6_AUTOCONF=yes
 +ONBOOT=yes
 +BRIDGE=viifbr0
 +</code>
 +=== Restart Network ===
 +<code>
 +root# service network restart
 +</code>
 +
 +dan anda akan menghasilkan setting seperti ini
 +<code>
 +root# ifconfig
 +eth0      Link encap:Ethernet  HWaddr F4:CE:46:B2:8A:58
 +          inet6 addr: fe80::f6ce:46ff:feb2:8a58/64 Scope:Link
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:194228 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:54875 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000
 +          RX bytes:230348239 (219.6 MiB)  TX bytes:7035156 (6.7 MiB)
 +          Memory:fbe60000-fbe80000
 +
 +lo        Link encap:Local Loopback
 +          inet addr:127.0.0.1  Mask:255.0.0.0
 +          inet6 addr: ::1/128 Scope:Host
 +          UP LOOPBACK RUNNING  MTU:16436  Metric:1
 +          RX packets:1776 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:0
 +          RX bytes:197690 (193.0 KiB)  TX bytes:197690 (193.0 KiB)
 +
 +viifbr0   Link encap:Ethernet  HWaddr F4:CE:46:B2:8A:58
 +          inet addr:192.111.153.250  Bcast:192.111.153.251  Mask:255.255.255.252
 +          inet6 addr: fe80::f6ce:46ff:feb2:8a58/64 Scope:Link
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:65 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:0
 +          RX bytes:4252 (4.1 KiB)  TX bytes:5626 (5.4 KiB)
 +</code>
 +
 +
 +==== Install KVM ====
 +<code>
 +wget -N http://files.virtualizor.com/install.sh
 +chmod 0755 install.sh
 +./install.sh email=your@email.com kernel=kvm
 +</code>
 +
 +kemudian **restart server**
 +==== Login ====
 +Selanjutnya untuk login ke port ini
 +
 +  * https://Your-IP:4085/
 +  * http://Your-IP:4084/
  
  

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
virtualizor/install-kvm.txt · Last modified: 2018/03/27 09:41 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki