Xen Paravirtualization
IBM X3105
Opteron 1212, Mem 1 GB
1. Cek compabilitas dari server
cat /proc/cpuinfo |grep svm
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 ht nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm extapic cr8legacy ts fid vid ttp tm stc
2. Download
http://www.jailtime.org/lib/exe/fetch.php?cache=cache&media=download%3Acentos%3Acentos.5-2.20080708.img.tar.
bz2
3. Ekstrak file di /vm/centos
isinya :
-rw-r--r-- 1 root root 2098200576 Jul 9 10:22 centos.5-2.img
-rw-r--r-- 1 root root 280 Dec 24 00:34 centos.5-2.xen3.cfg
4. Buat swap
dd if=/dev/zero of=swapimage.img bs=1024 count=128
mkswap swapimage.img
Edit file centos.5-2.xen3.cfg
kernel = "/boot/vmlinuz-2.6.18-92.el5xen"
memory = 256
name = "centos.5-2"
vif = [ 'mac=00:16:3e:13:e4:81, bridge=xenbr0', ]
#dhcp = "dhcp"
disk = ['file:/vm/centos/centos.5-2.img,sda1,w','file:/vm/centos/swapimage.img,sda2,w']
root = "/dev/sda1 ro"
5. Jalankan xm create -c centos.5-2.xen3.cfg
Sering error
mount: could not find filesystem '/dev/root'
Lakukan :
mkinitrd /boot/initrd-2.6.18-92.el5xen-centos5.2.img `uname -r` --with xenblk --with xennet --preload xenblk --preload xennet
Edit file cfg
kernel = "/boot/vmlinuz-2.6.18-92.el5xen"
ramdisk = "/boot/initrd-2.6.18-92.el5xen-centos5.2.img"
memory = 256
name = "centos.5-2"
vif = [ 'mac=00:16:3e:13:e4:81, bridge=xenbr0', ]
#dhcp = "dhcp"
disk = ['file:/vm/centos/centos.5-2.img,sda1,w','file:/vm/centos/swapimage.img,sda2,w']
root = "/dev/sda1 ro"
6. Aktifkan swap
#mount /vm/centos/centos.5-2.img /mnt/tmp/ -o loop
vim /mnt/tmp/etc/fstab/
ubah menjadi
[root@pjbekasi ~]# cat /mnt/tmp/etc/fstab
/dev/sda1 / ext3 defaults 1 1
/dev/sda2 none swap sw 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
7. Jalankan #xm create -c centos.5-2.xen3.cfg
Perlu diingat bahwa konfigurasi diatas menggunakan kernel yang sama dengan Domain0
dan initrd berada lokasi yang sama di /boot Domain0
# ls -l
total 19091
-rw-r--r-- 1 root root 65406 Jun 11 2008 config-2.6.18-92.el5
-rw-r--r-- 1 root root 65287 Jun 11 2008 config-2.6.18-92.el5xen
drwxr-xr-x 2 root root 1024 Dec 23 20:28 grub
-rw------- 1 root root 3116031 Jul 24 01:03 initrd-2.6.18-92.el5.img
-rw-r--r-- 1 root root 2830386 Jul 24 19:55 initrd-2.6.18-92.el5kdump.img
-rw------- 1 root root 3136131 Dec 23 23:30 initrd-2.6.18-92.el5xen-centos5.2.img
-rw------- 1 root root 3117050 Dec 24 2008 initrd-2.6.18-92.el5xen.img
drwx------ 2 root root 12288 Jul 24 00:55 lost+found
-rw-r--r-- 1 root root 80032 Nov 23 2007 message
-rw-r--r-- 1 root root 91734 Jun 11 2008 symvers-2.6.18-92.el5.gz
-rw-r--r-- 1 root root 93281 Jun 11 2008 symvers-2.6.18-92.el5xen.gz
-rw-r--r-- 1 root root 912686 Jun 11 2008 System.map-2.6.18-92.el5
-rw-r--r-- 1 root root 908390 Jun 11 2008 System.map-2.6.18-92.el5xen
-rw-r--r-- 1 root root 1806388 Jun 11 2008 vmlinuz-2.6.18-92.el5
-rw-r--r-- 1 root root 2161376 Jun 11 2008 vmlinuz-2.6.18-92.el5xen
Wednesday, December 24, 2008
Saturday, December 20, 2008


201208:0230 Gag bisa tidur...
mo coba download nessus gag berhasil..putus terus.
The Nessus® vulnerability scanner, is the world-leader in active scanners, featuring high speed discovery, configuration auditing, asset profiling, sensitive data discovery and vulnerability analysis of your security posture. Nessus scanners can be distributed throughout an entire enterprise, inside DMZs, and across physically separate networks.
The Nessus® vulnerability scanner, is the world-leader in active scanners, featuring high speed discovery, configuration auditing, asset profiling, sensitive data discovery and vulnerability analysis of your security posture. Nessus scanners can be distributed throughout an entire enterprise, inside DMZs, and across physically separate networks.
Tuesday, December 09, 2008
Indosat IM2
Lagi coba Indosat Internet IM2 paket Modem+Starter pack+voucher 100rb, sampai rumah langsung test di http://speedtest.indosatm2.com/ hasilnya :
9 Desember 2008 Pukul 13.00
Download : 328 kbps
Upload : 260 kbps
Lumayan cepat, kebetulan tempat tinggal di Pancoran.
Sekedar info.
Biaya bulanan 100rb/bulan
Quota 2 GB kec. up to 256 kbps, sampai dengan quota tersebut akan turun menjadi 64 kbps (yah coba kita lihat nanti).
Yang penting sekarang dah bisa browsing di rumah... mo testing linux Backtrack heee...
Lagi coba Indosat Internet IM2 paket Modem+Starter pack+voucher 100rb, sampai rumah langsung test di http://speedtest.indosatm2.com/ hasilnya :
9 Desember 2008 Pukul 13.00
Download : 328 kbps
Upload : 260 kbps
Lumayan cepat, kebetulan tempat tinggal di Pancoran.
Sekedar info.
Biaya bulanan 100rb/bulan
Quota 2 GB kec. up to 256 kbps, sampai dengan quota tersebut akan turun menjadi 64 kbps (yah coba kita lihat nanti).
Yang penting sekarang dah bisa browsing di rumah... mo testing linux Backtrack heee...
Sunday, December 07, 2008
Instalasi Virtualbox 2.0.6 di Ubuntu 8.04
Sebelumnya saya menggunakan Virtualbox untuk versi virtualbox-ose, lalu saya ingin mengupgrade virtualbox yang ada.
#apt-get install virtualbox
Tetapi disini hanya tersedia versi virtualbox-ose, dimana belum mendukung fasilitas usb
Kemudian saya download virtualbox 2.0.6
http://download.virtualbox.org/virtualbox/2.0.6/virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Install virtualbox
#apt-get -i virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
* akan ada error
trying to overwrite `/lib/modules/2.6.24-21-generic/misc/vboxdrv.ko', which is also in package virtualbox-ose-modules-2.6.22-14-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Coba kita perbaiki
#apt-get -f install
eading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libxalan110 libxerces27
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
darkforce@speculum:~/Desktop$ virtualbox
The program 'virtualbox' is currently not installed. You can install it by typing:
sudo apt-get install virtualbox-ose
bash: virtualbox: command not found
* Kita abaikan
#dpkg --force-overwrite -i virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Selesai
Sebelumnya saya menggunakan Virtualbox untuk versi virtualbox-ose, lalu saya ingin mengupgrade virtualbox yang ada.
#apt-get install virtualbox
Tetapi disini hanya tersedia versi virtualbox-ose, dimana belum mendukung fasilitas usb
Kemudian saya download virtualbox 2.0.6
http://download.virtualbox.org/virtualbox/2.0.6/virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Install virtualbox
#apt-get -i virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
* akan ada error
trying to overwrite `/lib/modules/2.6.24-21-generic/misc/vboxdrv.ko', which is also in package virtualbox-ose-modules-2.6.22-14-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Coba kita perbaiki
#apt-get -f install
eading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libxalan110 libxerces27
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
darkforce@speculum:~/Desktop$ virtualbox
The program 'virtualbox' is currently not installed. You can install it by typing:
sudo apt-get install virtualbox-ose
bash: virtualbox: command not found
* Kita abaikan
#dpkg --force-overwrite -i virtualbox-2.0_2.0.6-39765_Ubuntu_hardy_i386.deb
Selesai
Subscribe to:
Posts (Atom)
Mobile Device Deployment - CISSP (Domain 3)
Mobile Device Deployment Policies Mobile Device Deployment Policy harus diarahkan secara luas terkait penggunaan perangkat yang diizinkan da...
-
Server A : 192.168.0.1 (Server lama : Centos 7), port 80 Server B : 192.168.0.2 (Server baru : Centos 8), port 80 Nginx Load Balance : 192.1...
-
Beberapa hari yang lalu Subject email Zimbra selalu di tambahkan tulisan ***UNCHECKED***. Padahal tidak ada perubahan konfigurasi mail serv...
-
Security Model A. Bell-Lapadula Model (Confidentiality-Kerahasiaan) Simple Properties : No read up. Tidak boleh melihat/membaca data ke leve...