Membangun Vps part1.

entah alasannya dari segi keinginan, hoby, iseng, bisnis atau apa vps masih langka di indonesia apalagi membangun vps sendiri dengan komputer sendiri. ya percaya vps sudah banyak tapi itu sudah di kerjaan tenaga ahli yang profesional.
sekarang untuk membangun vps itu tidaklahsulit ada yang sudah opersource dan disini saya akan membahasnya dengan salah satu nya openvirtuozo meskipun ada cara lain dan packet lain disini.
disini saya memakai spesifikasi komputer sebagai berikut
petunjuk.
system ini adalah memakai fedora core 6
spesifikasi komputer
intelpentium 4 3giga(32bit), ram 2gb,hd 120gb,1lancard 100mbps
berikut file yang di butuhkan :
——————————————————————
openvz.repo
RPM-GPG-Key-OpenVZ
ovzkernel-devel-2.6.18-8.1.14.el5.028stab045.1.i686.rpm
vzctl-lib-3.0.18-1.i386.rpm
vzctl-3.0.18-1.i386.rpm
vzquota-3.0.11-1.i386.rpm
vzyum-2.4.0-11.noarch.rpm
vzpkg-2.7.0-18.noarch.rpm
vzrpm43-4.3.3-7_nonptl.6.i386.rpm
vzrpm43-python-4.3.3-7_nonptl.6.i386.rpm
vzrpm44-4.4.1-22.5.i386.rpm
vzrpm44-python-4.4.1-22.5.i386.rpm
—————————————————————–
bisa di ambil dari situsnya langsung openvz.org atau download packetnya dari salah satu penyedia file hosting berikut yang sudah saja kompres menjadi 1file beserta readmenya
link ini sudah komplit tinggal extract dalam satu directory lalu di install jangan lupa baca readmenya juga http://rapidshare.com/files/63068893/openvz.tar.gz
taruh dalam satu directory lalu instal dengan perintah:
cp openvz.repo /etc/yum.repos.d
rpm –import RPM-GPG-Key-OpenVZ
rpm -ivh *.rpm
————————————————————————————————————-
vi /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title OpenVZ (2.6.18-8.1.8.el5.028stab039.1)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5.028stab039.1 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-8.1.8.el5.028stab039.1.img
———————————————————————————————————-
vi /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# TCP Explict Congestion Notification
#net.ipv4.tcp_ecn = 0
# we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Enables the magic-sysrq key
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
————————————————————————————————————-
vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.
SELINUXTYPE=targeted
————————————————————————————————————-
vi /etc/modprobe.conf
alias eth0 8139too
alias eth1 8139too
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
options ip_conntrack ip_conntrack_enable_ve0=1
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r –ignore-remove snd-intel8x0
————————————————————————————————————-
lalu kita reboot dan coba kita ketik perintah berikut
service vz restart
jika tidak ada eror maka sudah berhasil di lanjutkan dengan perintah vzctl vzlist vzyum vzquota dan lainnya selanjutnya akan kita bahas di sesion selanjutnya

Administrator

Saya adalah saya, dimana saya tinggal disitu saya berada. Saya suka menulis disela kesibukan saya, tapi saat sibuk saya tidak bisa menyempatkan waktu untuk menulis.

2 thoughts to “Membangun Vps part1.”

Leave a Reply

Your email address will not be published. Required fields are marked *