Note
HyperVM
by BhoMerT on May.17, 2012, under Copas, Note
source :
http://lxcenter.org/software/hypervm/hypervm-installation
Important Pre-Installation Step
Make sure that you open the ports 8888 and 8887 in the firewall. Otherwise you won’t be able to connect to HyperVM.
You have to disable selinux by editing /etc/sysconfig/selinux and changing the line to selinux=disabled and then running
# $ setenforce 0
HyperVM installation consists of downloading either the hypervm-install-master.sh or hypervm-install-slave.sh from http://download.lxcenter.org and execute it as root. It will download all the required files and do the complete installation on it’s own.
Install Commands
# $ setenforce 0
# $ wget http://download.lxcenter.org/download/hypervm/production/hypervm-install-master.sh
# $ sh ./hypervm-install-master.sh --virtualization-type=xen/openvz/NONE
You have to explicitly specify which virtualization type you want using the option –virtualization-type as either xen or openvz or NONE.
If you want to install hypervm on an existing system, just use virtualization-type=NONE, which will install just hyperVM components, and skip the virtualization components entirely.
When you run the command, you will presented with a menu from up2date, on which you can press .
HyperVM will currently install the openVZ/Xen kernel, but will not switch the default kernel to it. You will have to manually edit the /etc/grub.conf, and change the ‘default=1′ to ‘default=0′, and reboot the machine.
HyperVM supports the concept of multiple locations, and thus generally the question of harddisk partitioning is irrelevant. It is recommended to have a large / for openvz, since both /home and /vz will have files. You can just add another harddisk, mount it as a particular directory, and then add it to the list of locations. In other words, you can trivially distribute vpses across different harddisks/lvms. Also you can change the location of a vps from one harddisk to other from the CP itself. Go to vps home -> advanced -> change location.
You should never run any other control panel other than hyperVM on the host server. That will unncessarily introduce security risks, and in the case of openvz, since all the vps process are visible and accessible on the host server, starting and stopping of services on the host server will affect all the vpses too. If you need to run anything, create a special vps for it.
Once the machine boots back, just make sure you have the openVZ kernel by doing a ‘uname -a’, and after that you can connect to ‘http://machine-name:8888′, and you will be presented with a login screen – the password would be ‘admin’. Once you login, HyperVM will explicitly force you to change the password to something other than ‘admin’.
For those installing Xen, please read through the forum notes, and make sure that you meet all the requirements.
If you are installing hyperVM on a legacy operating system (Fedora 2, 3, 4), in an existing virtualization system, there are some things that you have to take care:
* Move /usr/bin/yum to /usr/bin/yum.old . HyperVM cannot use the old yum owing the fact that its configuration files are different from the latest version. If you move yum to yum.old, hyperVM will automatically use up2date.
* You can only install hyperVM, and installing of virtualization is not supported on legacy platforms. The legacy support is primarily meant to help existing installations to migrate to hyperVM. New installations are supported only on Centos-4.4 for openvz and fedora -6 for xen. So only –virtualization-type=NONE will work on the legacy platforms.
If you want to have a cluster, you have to run ‘hypervm-install-slave.sh’ in all the servers that you intend to make as slaves. Once ‘hypervm-install-slave.sh’ is completed, you can add the server from the ‘add server’ page in the master’s server page.
You will need to open port 8889 which is what’s used for communication between the master and slave. For file transfer, the slave will need to contact the master’s 8889 port, so you will need 8889 open on both master and the slave. All communication is fully encrypted and secure.
From then on, you can manage every aspect of Virtualization through our intuitive graphical interface.
===============================================================
UnInstall :
service hypervm stop
/etc/init.d/hypervm stop
chkconfig hypervm off
rpm -e lxphp lxzend lxlighttpd
rm -rf /usr/local/lxlabs/
rm -rf /home/hypervm/
rm -rf /etc/xen/hypervm
rm -rf /etc/rc.d/init.d/hypervm
rm -rf /var/cache/hypervm
rm -rf /home/lxlabs
rm -rf /root/.etc/xxwin/gtk/lxlabs
rm -rf /usr/sbin/lxrestart
rm -rf /usr/bin/lxxen
rm -rf /usr/bin/lxopenvz
rm -rf /etc/yum.repos.d/lxlabs.repo
rm -rf /root/.etc/misc/lxlabs.repo
rm -rf /boot/lxxen-initrd.img
rm -rf /var/log/lxint*
rm -rf /var/cache/yum/lxlabsupdate
rm -rf /var/cache/yum/lxlabslxupdate
Note :
- Not support for VPS Windows OS
Backup Switch Cisco
by BhoMerT on Dec.06, 2011, under Belajar IT, Keseharian, Ngoprek, Note
Kadang kita suka males kalo mau backup switch, kalau hanya satu atau dua switch cisco sih ga begitu masalah.. kalau ada lebih dari 20 switch ? pasti merepotkan juga kan….
Nah karena dasar itu saya coba iseng-iseng bikin program asal-asalan, sebenernya ni program cuman buat ngebantu kita meng exekusi beberapa printah di cisco, seperti memasukkan user name, password, enable password, password enable, printah-printah backup seperti :
copy runing-config tftp:
copy vlan.dat tftp:
copy config.text tftp:
Nah untuk membuat tools ini memerlukan beberapa program yaitu :
1. Telnet client ( by default sudah ada pada windows anda, kecuali windows 7 harus di aktifkan program telnet cliant-nya )
2. AutoIT ( bisa di download di sini )
3. TFTP-Server ( bisa di download di sini )
Setelah Telnet Client , AutoIT dan TFTP-Server di install sekarang ke proses selanjutnya yaitu pembuatan tools-nya contoh scrip-nya :
——————————START————————-
;;++++++++++++++++++++++++++++++++++
;+++++++++++++++++++++++++++++++++++
;++ ++
;++ Program Sederhana Back-UP Cisco ++
;++ Create-By AutoIt ++
;++ For More Question email me AT ++
;++ evan@bhomert.com ++
;;++++++++++++++++++++++++++++++++++
;;++++++++++++++++++++++++++++++++++
; Ganti ip.cisco.xxx.xxx dengan IP cisco yg akan di backup
Run(“telnet.exe ip.cisco.xxx.xxx”)
Sleep(1000)
; Ganti username dengan username kamu
Send(“username”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti password dengan password kamu
Send(“password”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
Send(“en”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti enablepassword dengan enable password switch kamu
send(“enablepassword”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
Send(“copy running-config tftp:”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti ip.TFTP-Server.xxx.xxx dengan IP TFTP-Server kamu
Send(“ip.TFTP-Server.xxx.xxx”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti namahost dengan hostname Switch
Send(“namahost-config”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
Send(“copy vlan.dat tftp:”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti ip.TFTP-Server.xxx.xxx dengan IP TFTP-Server kamu
Send(“ip.TFTP-Server.xxx.xxx”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti namahost dengan hostname Switch
Send(“namahost-vlan.dat”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
Send(“copy config.text tftp:”)
Send(“{ENTER}”)
Sleep(200)
; Ganti ip.TFTP-Server.xxx.xxx dengan IP TFTP-Server kamu
Send(“ip.TFTP-Server.xxx.xxx”)
Sleep(200)
Send(“{ENTER}”)
Sleep(200)
; Ganti namahost dengan hostname Switch
Send(“namahost-config.text”)
Sleep(200)
Send(“{ENTER}”)
Sleep(1000)
Send(“q”)
Send(“{ENTER}”)
Sleep(1000)
Send(“{ENTER}”)
——————————AND————————-
Ikuti petunjuk di scrip itu dan compile scrip tersebut dengan menekan CTRL+F7, setelah selesai siapkan TFTP-Server dan arahkan directory penyimpanannya. setelah semua selesai jalankan .exe yang tadi di compile.
Selamat Mencoba, semoga catatan kecil ini bisa bermanfaat buat kawan-kawan semua.
Silakan Download Contoh Script dan contoh telnet ke route-server
note: – untuk mendownload klik kanan lalu save-as
Share on FacebookAddress list routing OIXP APJII dan MCSIX
by BhoMerT on Jul.16, 2011, under Belajar IT, Ngoprek, Note
Update per Tgl 19 Oktober 2011
bagi temen-temen yang butuh address-list guna pembagian Bandwidth IIX, OIXP dan MCSIX, silakan download
Address-list MCSIX , OIXP dan APJII
and langsung aja upload ke dua file tersebut ( mcsix.rsc dan nice.rsc ) ke mikrotik => new terminal =>
/import mcsix.rsc
/import nice.rsc
Oh iya.. di dalam address-list tersebut untuk penamaan MCSIX adalah mcsix dan untuk OIXP+APJII adalah nice.
kalo mau generate sendiri silakan pake script ini :
:local bhomert [/ip route pr count-only];
:local bho 0;
:local mer 0;
:local mert;
:for bho from=0 to=$bhomert step=1 do={
:set mert [/ip route get $bho dst-address]
:if ($mer = 0) do={
/ip firewall address-list add list=nice address=$mert;}
}
nah kalo mau ngejalanin tinggal lewat telnet.. jangan lewat winbox
suka ga dapet full, oh iya.. sebelum-nya naikin dulu bgp / ospf buat dapetin prefix dari router mcsix dan router iix ( oixp+apjii )
[evan@mix-prefix] /routing bgp peer> print detail status
Flags: X – disabled, E – established
0 E name=”ke-MIX” === CUT ====
uptime=11h5m14s prefix-count=19813 updates-sent=9699
1 E name=”ke-IIX” === CUT ====
uptime=14h19m43s prefix-count=8584 updates-sent=41719
[evan@mix-prefix] /routing bgp peer>
Untuk Contohnya bisa di liat seperti ini :
Mangle :
[evan@sample-router] /ip firewall mangle> pr detail
Flags: X – disabled, I – invalid, D – dynamic
0 ;;; Mark-Internasional
chain=prerouting action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!nice in-interface=ether10
1 chain=prerouting action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!mcsix in-interface=ether10
2 chain=forward action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!nice in-interface=ether10
3 chain=forward action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!mcsix in-interface=ether10
4 chain=prerouting action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!nice in-interface=ether5
5 chain=prerouting action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!mcsix in-interface=ether5
6 chain=forward action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!nice in-interface=ether5
7 chain=forward action=mark-connection new-connection-mark=Conn-INTL passthrough=yes dst-address-list=!mcsix in-interface=ether5
8 ;;; Mark-IIX
chain=prerouting action=mark-connection new-connection-mark=Conn-IIX passthrough=yes dst-address-list=nice in-interface=ether10
9 chain=forward action=mark-connection new-connection-mark=Conn-IIX passthrough=yes dst-address-list=nice in-interface=ether10
10 chain=prerouting action=mark-connection new-connection-mark=Conn-IIX passthrough=yes dst-address-list=nice in-interface=ether5
11 chain=forward action=mark-connection new-connection-mark=Conn-IIX passthrough=yes dst-address-list=nice in-interface=ether5
12 ;;; Mark-MCSIX
chain=prerouting action=mark-connection new-connection-mark=Conn-MCSIX passthrough=yes dst-address-list=mcsix in-interface=ether10
13 chain=forward action=mark-connection new-connection-mark=Conn-MCSIX passthrough=yes dst-address-list=mcsix in-interface=ether10
14 chain=prerouting action=mark-connection new-connection-mark=Conn-MCSIX passthrough=yes dst-address-list=mcsix in-interface=ether5
15 chain=forward action=mark-connection new-connection-mark=Conn-MCSIX passthrough=yes dst-address-list=mcsix in-interface=ether5
16 ;;; Paket-INTL
chain=prerouting action=mark-packet new-packet-mark=INTL passthrough=yes connection-mark=Conn-INTL
17 chain=output action=mark-packet new-packet-mark=INTL passthrough=yes connection-mark=Conn-INTL
18 ;;; Paket-MCSIX
chain=prerouting action=mark-packet new-packet-mark=MCSIX passthrough=yes connection-mark=Conn-MCSIX
19 chain=output action=mark-packet new-packet-mark=MCSIX passthrough=yes connection-mark=Conn-MCSIX
20 ;;; Paket-IIX
chain=prerouting action=mark-packet new-packet-mark=IIX passthrough=yes connection-mark=Conn-IIX
21 chain=output action=mark-packet new-packet-mark=IIX passthrough=yes connection-mark=Conn-IIX
[evan@sample-router] /ip firewall mangle>
Simple Queue :
1 ;;; Radar TV MCSIX
name=”client-66-MCSIX” target-addresses=xxx.xxx.xxx/32 interface=all
packet-marks=MCSIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=22M/22M
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
2 ;;; Radar TV IIX
name=”client-66-IIX” target-addresses=xxx.xxx.xxx/32 interface=all
packet-marks=IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=40M/40M
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
2 ;;; Radar TV INTL
name=”client-66-INTL” target-addresses=xxx.xxx.xxx/32 interface=all
packet-marks=INTL direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=3M/3M
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
Semoga bisa membantu..
Share on FacebookCHMOD
by BhoMerT on May.31, 2011, under Belajar IT, Note
chmod = change file modes
| Permissions | Owner | Group | Others |
| chmod 777 | rwx | rwx | rwx |
| chmod 666 | rw- | rw- | rw- |
| chmod 555 | r-x | r-x | r-x |
| chmod 444 | r– | r– | r– |
| chmod 333 | -wx | -wx | -wx |
| chmod 222 | -w- | -w- | -w- |
| chmod 111 | –x | –x | –x |
| chmod 000 | — | — | — |
After chmoding a file you can use ls -l to view the permissions.
Using the above chart you can combine permissions.
chmod 644 = rw-r–r–
chmod 731 = rwx-wx–x
Owner = user that created the file
Group = users in the same group as owner
Others = the rest of the users on the system
Share on FacebookHOWTO: Backup files with tar
by BhoMerT on Feb.09, 2011, under Belajar IT, Copas, Note
Posted by Jason on Sunday July 01, @12:37PM
from the It’s-Sticky-Fun-Fun-Fun dept.
TAR is the Unix Tape ARchive utility. It can be used to either store data on a streaming tape device like a DAT drive, or store files in what is commonly called a tarball file- somewhat like a pkzip file, only compression is optional.
Source
[The basics]
In these examples, I will use the following file structure: a top level directory called DIR1 containing the files picture.jpg, document.doc and database.db.
DIR1/
DIR1/picture.jpg
DIR1/document.doc
DIR1/database.db
[Creating a tarball]
If we were in the directory DIR1 and wanted to backup all the files to a tarball called backup.tar, we could issue this command:
$ tar cvf backup.tar .
./
picture.jpg
doucment.doc
database.db
tar: backup.tar is the archive; not dumped
Note:
c=create (an archive)
v=verbose (just because)
f=filename (the name of our tarball)
.=current directory (what’s going to be backed up)
Also worth mentioning is that by default tar is recursive- meaning it will back up all files and subdirectories recursively unless you otherwise specify with the n flag (non-recursive)
[Displaying the Contents of a Tarball]
The current directory will now contain a file called backup.tar. To display the contents of the tarball file, we could issue this command:
$ tar tvf backup.tar
drwxr-xr-x root/gci 0 Jun 29 10:10 ./
-rw-r–r– root/gci 1 Jun 29 10:10 picture.jpg
-rw-r–r– root/gci 1 Jun 29 10:10 document.doc
-rw-r–r– root/gci 1 Jun 29 10:10 databse.db
Note:
t=table of contents (list)
v=verbose (display all info)
f=filename (backup.tar)
[Extracting Data from a Tarball]
To extract the entire contents of the tarball to the current directory, we can type:
$ tar xvf backup.tar
./
picture.jpg
doucment.doc
database.db
Note:
x=extract
v=verbose
f=filename (backup.tar)
To extract only the picture.jpg file from the archive, type the following command:
$ tar xvf backup.tar picture.jpg
Alternatively, you can use wild cards in either the creation or extraction of a tarball. To extract all jpg files from our archive, we can use a command like this:
$ tar xvf backup.tar *.jpg
[Using Compression]
If you would also like to add compression to your tarballs, you can combine the gzip utility with tar on the command line by adding the z switch to the command. Usually when this is done, we change the suffix of our tarball filename from .tar to either .tgz or .tar.gz. This will let whoever sees the file know that it is a gzipped tarball.
$ tar zcvf tarball.tgz .
Note:
z=gzip compression
c=create
v=verbose
f=filename (backup.tgz)
.=current directory (what to backup)
[Permissions with tar]
If you would like to preserve the permissions of the files you backup, use the p option with the tar command. This will save the uid, gid as well as the specific permission attributes of the files (read, write, execute etc.)
$ tar pzcvf tarball.tgz .
You should also use the p option with the tar extraction command:
$ tar pxvf tarball.tgz .
[Using tar with a Tape Drive]
I use tar in conjunction with my Seagate DAT drive. If you issue any of the previous commands in this HOW-TO without the f option and a tarball filename, you will find that tar will default to writing the files to the device /dev/rsa0 (raw sequential access device 0). Basically this is your first SCSI tape drive. If you have more than one tape drive you would like to use, you can issue the f option and the device name (rsa0, rsa1 etc.) of your specific tape drive instead of a filename.
Examples:
Backing up the current directory to Tape:
$ tar cv . <- default tape drive (rsa0)
$ tar cvf /dev/rsa1 . <- second tape drive (rsa1)
Restore files from Tape:
$ tar xv .
$ tar xvf /dev/rsa1
So, there are the basics of tar. If you would like more information on the tar command, try the man pages.
man tar
Share on FacebookLokasi Kediaman BhoMerT
by BhoMerT on Jan.07, 2011, under Note, Sosial
Langsung aja… kalo mau tau kediaman saya bisa langsung klik link ini
Detail lokasi :
Jl. Mampang Prapatan XI Rt.008 Rw.04 No.38
Jakarta Selatan
- Deket dengan SMK 28 Oktober
- Samping Pull Bajaj
- Deket Kelurahan Tegal Parang
- Deket Puskesmas
- Masuk gang kecil tanya aja kediaman evan atau tanya aja Pangkalan bajai
- Nah kalo mau jelasnya liat aja google map di bawah ini, klik aja map-nya trus pantengin aja lewat mana buat ke situ
Nah untuk penampakannya silakan di liat ( yang ada tanda A ):
View Larger Map
Mount Image ISO di Windows 7 / Vista
by BhoMerT on Dec.29, 2010, under Belajar IT, Copas, Note
Kadang kita bingung untuk mounting / membaca backup dari CD / DVD baik yg berupa *.ISO, *.BIN, *.CCD, *.DVD dll..
Nah ini adalah salah satu tools untuk membuat virtual CD/DVD keluaran slysoft dengan nama Virtual Clone Drive Silakan klik Download untuk mengambil-nya dan lakukan instalasi sesuai petunjuk-nya

Setelah terinstall pilih jumlah Drive yang dibutuhkan… dan untuk mounting-nya bisa di lihat di gambar berikut :

Demikian sedikit informasi yang sekiranya bisa menjadi salah satu alternatif untuk memudahkan membaca file dalam bentuk Image. Smoga membantu
Source :
www.howtogeek.com
www.slysoft.com
Niat dan di’Niat-kan
by BhoMerT on Dec.03, 2010, under Keseharian, Note, Sosial
Niat… bila kita akan melakukan sesuatu harus kita Niatkan walaupun hal tersebut kita pikir susah bahkan sangat sulit, apabila kita Niatkan InsyaAllah semua menjadi mudah… dan petunjuk-Nya pasti nyata.
Perhatikan sekitar’mu dan sekeliling’mu tanda-tanda kebesan-Nya pasti menunjukkan jalan dan arahan, bahkan peringatan-Nya pun nyata.
Baik perbuatan Buruk maupun perbuatan Mulia pasti petunjuk-Nya nyata, tinggal kita harus peka terhadap petunjuk-Nya.
Yang paling nyata adalah petunjuk-Nya di dalam hati kita, lalu akan menunjukkan kesekitaran kita.
Perhatikan dan cermati setiap kejadian di sekitar kita.
Semoga kita semakin dekat dan peka terhadap kehendak-Nya.
Share on FacebookUpdate Web evan.or.id
by admin on Dec.02, 2010, under Belajar IT, Hobi, Ngoprek, Note, Politik, Sosial
Alhamdulillah,
Hari ini hosting web evan.or.id susah mulai aktif lagi dan saya sengaja di hostingkan ke salah satu web hosting di indonesia yaitu MWN
Kenapa ga bikin server hostingan sendiri ?
Ribet boss, ia kalo servernya punya sendiri.. kan enak.. nah kalo servernya milik kantor ? ia kalo kantornya sendiri, la kalo kita cuman gawe di kantor orang ? kalo kita pindah kantor mindahin lagi dah data-datanya…
Jadi cari aman aja.. biar ga repot kalo mau pindah-pindah hostingan
Nah.. kalo mau ikutin ide kita.. silakan klik ini aja www.masterwebnet.com
Share on FacebookBismillahir Rahmanir Rahim
by admin on Dec.02, 2010, under Note

Alhamdulillah,
Dengan di awali bacaan basmalah, InsyaAllah akan menjadi awal yang lebih baik dan InsyaAllah menjadi berguna bagi kita semua.
Share on Facebook



