Cara install Solusvm di KVM

Discussion in 'VPS (Virtual Private Server)' started by Mylo Sepz, 31 Mar 2015.

Thread Status:
Not open for further replies.
  1. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    Permisi semuanya, saya niatnya mau coba install solusvm di KVM dengan speksifikasi seperti berikut:

    • Operating System: CentOS 5.9
    • IPv4 Address: 3
    • Disk Space: 50 GB
    • Memory: 1 GB

    karena niatnya saya cuma buat belajar doang makannya speknya kecil hehe

    nah yang menjadi masalah, gimana caranya membuat Logical Volume Group (LVM) ? saya sudah baca sana-sini tetapi belum dapet pencerahan cara settingnya.

    nah saya kan punya 3 IP anggap saja dengan ekor .**1 .**2 dan ,**3 nah caranya bagaimana setting agar ip .**1 untuk main server dan 2 ip sisanya untuk vps di solusvm?

    catatan detail server
    Code:
    [root@localhost ~]# fdisk -l
    
    Disk /dev/vda: 53.6 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/vda1   *           1        6397    51377952+  83  Linux
    /dev/vda2            6397        6527     1048576   82  Linux swap / Solaris
    
    
    
    [root@localhost ~]# cat /proc/partitions
    major minor  #blocks  name
    
     253  0  52428800 vda
     253  1  51377952 vda1
     253  2  1048576 vda2
    
    
    
    
    [root@localhost ~]# df
    Filesystem  1K-blocks  Used Available Use% Mounted on
    /dev/vda1  49787740  956460  46262424  3% /
    tmpfs  517300  0  517300  0% /dev/shm
    
    
     
  2. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    LVM harus di dalam partition sendiri diluar root (/) partition.
     
  3. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    cara buatnya gimana om?
     
  4. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Satu lagi, hanya OpenVZ yang bisa 'dibuat' dalam VPS type KVM/HXen. Jadi, 'KVM dalam KVM' tidak bisa.
     
  5. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    iya om saya mau coba bikin vps openvz
     
  6. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Di VPS yang KVM/Xen anda install saja OpenVZ Web Panel. Cari yang versi 2.4 di github.
     
  7. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Jika anda pakai CentOS 6 64bit, jalankan:
    Code:
    yum clean all
    yum update
    yum install wget -y
    cd /etc/yum.repos.d/
    # by default for centos 6; need modified for centos 5
    wget http://download.openvz.org/openvz.repo
    cd /
    # ovzkernel for centos 5; vzkernel for centos 6
    yum install ovzkernel vzkernel vzctl vzquota -y
    yum update -y
    
    ### prevent for diskquota exit on nodes
    vzctl set <nodeid> --diskinodes 999999999 --save
    ## or change /etc/sysconfig/vz-scripts/*.conf-sample files
    
    reboot
    
    # 3. update sysctl.conf
    
    cp -rf /etc/sysctl.conf /etc/sysctl.conf._bck_
    
    echo '# packet forwarding enabled and proxy arp disabled' > /etc/sysctl.conf
    echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf
    echo 'net.ipv6.conf.default.forwarding = 1' >> /etc/sysctl.conf
    echo 'net.ipv6.conf.all.forwarding = 1' >> /etc/sysctl.conf
    echo 'net.ipv4.conf.default.proxy_arp = 0' >> /etc/sysctl.conf
    echo '' >> /etc/sysctl.conf
    echo '# Enables source route verification' >> /etc/sysctl.conf
    echo 'net.ipv4.conf.all.rp_filter = 1' >> /etc/sysctl.conf
    echo '' >> /etc/sysctl.conf
    echo '# Enables the magic-sysrq key' >> /etc/sysctl.conf
    echo 'kernel.sysrq = 1' >> /etc/sysctl.conf
    echo '' >> /etc/sysctl.conf
    echo '# We do not want all our interfaces to send redirects' >> /etc/sysctl.conf
    echo 'net.ipv4.conf.default.send_redirects = 1' >> /etc/sysctl.conf
    echo 'net.ipv4.conf.all.send_redirects = 0' >> /etc/sysctl.conf
    
    echo 'IPV6FORWARDING=yes' >> /etc/sysconfig/network
    
    # 5. Install OWP
    
    # stable, or
    cd /tmp
    wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh
    
    # dev
    cd /tmp
    wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh -s DOWNLOAD_URL=http://owp.softunity.com.ru/download/ovz-web-panel-latest.tgz
     
  8. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    saya mau install solusvm karena pengen mempelajari tentang API Solusvmnya om hehe
     
  9. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Oh. Rasanya SolusVM master hanya bisa diinstall di VPS yang OpenVZ.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...