Tuesday, September 7, 2010

Yusuv

Another Part of My Life

VMware Management Interface

Posted by admin On May - 30 - 2010

Setelah menginstall VMware server, langkah selanjutnya adalah dengan menginstall VMware Management Interface. ini diperlukan untuk mempermudah dalam mengontrol segala sesuatu dalam VMware server. VMware Management Interface merupakan sebuah interface web yang di dalamnya terdapat fungsi-fungsi untuk membuat, menghapus, menjalankan dan lain sebagainya terkait dengan virtual machine. VMware Management Interface yang digunakan adalah VMware-mui-1.0.9-156507 yang dapat diunduh di sini. Langkah-langkah instalasinya adalah sebagai berikut:

  1. ekstrak VMware Management Interface for linux:
  2. tar xzvf VMware-mui-1.0.9-156507.tar.gz

  3. masuk ke direkori ekstraksi:
  4. cd vmware-server-mui-distrib/

  5. install vmware Management Interface:
  6. ./vmware-install.pl

  7. proses instalasi akan menampilkan:
  8. Creating a new installer database using the tar3 format.
    You must read and accept the End User License Agreement to continue.
    Press enter to display it. <-- [ENTER]
    ... license text ...
    Do you accept? (yes/no) <-- yes
    Thank you.
    Installing the content of the package.
    In which directory do you want to install the binary files?
    [/usr/bin] <-- /usr/bin
    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc] <-- /etc
    What is the directory that contains the init scripts?
    [/etc/init.d] <-- /etc/init.d
    In which directory do you want to install the VMware Management Interface
    files? [/usr/lib/vmware-mui] <-- /usr/lib/vmware-mui
    The path "/usr/lib/vmware-mui" does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes] <-- yes
    In which directory would you like to install the documentation files?
    [/usr/lib/vmware-mui/doc] <-- /usr/lib/vmware-mui/doc
    The path "/usr/lib/vmware-mui/doc" does not exist currently. This program is
    going to create it, including needed parent directories. Is this what you want?
    [yes] <-- yes
    The installation of VMware Management Interface 1.0.1 build-29996 for Linux
    completed successfully. You can decide to remove this software from your system
    at any time by invoking the following command:
    "/usr/bin/vmware-uninstall-mui.pl".
    Before running VMware Management Interface for the first time, you need to
    configure it by invoking the following command:
    "/usr/bin/vmware-config-mui.pl". Do you want this program to invoke the command
    for you now? [yes] <-- yes
    Configuring httpd.conf to run Apache as:
    User: www-data and Group: nogroup
    Set the number of minutes before a http session times out. (This is the length
    of time before someone connecting to VMware Management Interface will be logged
    out) [60] <-- 60
    Generating SSL Server Certificate
    Starting httpd.vmware: done
    The configuration of VMware Management Interface completed successfully.

  9. untuk mengakses nya, buka browser lalu isikan alamatnya:
  10. https://192.168.10.245:8333

  11. masukkan username=root dan password rootnya
  12. vmware management console ini tidak otomatis start setelah komputer booting, untuk mengaktifkannya lakukan:
  13. /etc/init.d/httpd.vmware start

  14. untuk aktif secara otomatis setelah booting, lakukan:
  15. vim /etc/init.d/httpd.vmware

  16. cari “start)” lalu tambahkan dibawahnya:
  17. if [ ! -d /var/run/vmware/httpd ]
    then
    mkdir /var/run/vmware/httpd
    chown www-data:nogroup /var/run/vmware/httpd
    chmod 700 /var/run/vmware/httpd
    fi

    Done.

Demikian tutorial ini dibuat. semoga bisa membantu.

VMware Server Installation on Debian Etch

Posted by admin On August - 29 - 2009

vmware

VMware server merupakan produk dari VMware yang gratis dan instalasinya pun cukup mudah karena sudah terdapat skrip instalasi yang akan secara otomatis menginstal VMware server. VMware server yang akan diinstal yaitu VMware server 1.0.9. VMware server ini dapat diunduh di sini. Instalasi debian etch menggunakan paket-paket yang standar. Langkah-langkah instalasi Vmware server 1.0.9 adalah sebagai berikut:

  1. Instal paket-paket yang dibutuhkan:
  2. apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers m4 make openssl perl perl-modules zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ zip unzip

  3. Instal paket x windows:
  4. apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential

  5. Ekstrak file vmware server :
  6. tar xzvf VMware-server-1.0.9-156507.tar.gz

  7. Masuk ke direktori ekstraksi:
  8. cd vmware-server-distrib/

  9. Instal VMware Server:
  10. ./vmware-install.pl

  11. Proses instalasi akan menampilkan:
  12. reating a new installer database using the tar3 format.
    Installing the content of the package.
    In which directory do you want to install the binary files?
    [/usr/bin] <-- /usr/bin
    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc] <-- /etc
    What is the directory that contains the init scripts?
    [/etc/init.d] <-- /etc/init.d
    In which directory do you want to install the daemon files?
    [/usr/sbin] <-- /usr/sbin
    In which directory do you want to install the library files?
    [/usr/lib/vmware] <-- /usr/lib/vmware
    The path "/usr/lib/vmware" does not exist currently. This program is going to
    create it, including needed parent directories. Is this what you want?
    [yes] <-- yes
    In which directory do you want to install the manual files?
    [/usr/share/man] <-- /usr/share/man
    In which directory do you want to install the documentation files?
    [/usr/share/doc/vmware] <-- /usr/share/doc/vmware
    The path "/usr/share/doc/vmware" does not exist currently. This program is
    going to create it, including needed parent directories. Is this what you want?
    [yes] <-- yes
    he installation of VMware Server 1.0.9 build-156507 for Linux completed
    successfully. You can decide to remove this software from your system at any
    time by invoking the following command: "/usr/bin/vmware-uninstall.pl".
    Before running VMware Server for the first time, you need to configure it by
    invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
    program to invoke the command for you now? [yes] <-- yes
    Making sure services for VMware Server are stopped.
    Stopping VMware services:
    Virtual machine monitor done
    You must read and accept the End User License Agreement to continue.
    Press enter to display it. <-- [ENTER]
    ..... bla3 [LICENCE TEXT] ......
    Do you accept? (yes/no) <-- yes
    Configuring fallback GTK+ 2.4 libraries.
    In which directory do you want to install the mime type icons?
    [/usr/share/icons] <-- /usr/share/icons
    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications] <-- /usr/share/applications
    In which directory do you want to install the application's icon?
    [/usr/share/pixmaps] <-- /usr/share/pixmaps
    Trying to find a suitable vmmon module for your running kernel.
    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes] <-- yes
    Using compiler "/usr/bin/gcc". Use environment variable CC to override.
    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.18-4-486/build/include]<-- /lib/modules/2.6.8-2-386/build/include
    [...] <--- bla bla bla
    Do you want networking for your virtual machines? (yes/no/help) [yes] <-- yes
    Configuring a bridged network for vmnet0.
    The following bridged networks have been defined:
    . vmnet0 is bridged to eth0
    Do you wish to configure another bridged network? (yes/no) [no] <-- no
    Do you want to be able to use NAT networking in your virtual machines? (yes/no)
    [yes] <-- yes
    Configuring a NAT network for vmnet8.
    Do you want this program to probe for an unused private subnet? (yes/no/help)
    [yes] <-- yes
    Probing for an unused private subnet (this can take some time)...
    The subnet 172.16.191.0/255.255.255.0 appears to be unused.
    The following NAT networks have been defined:
    . vmnet8 is a NAT network on private subnet 172.16.191.0.
    Do you wish to configure another NAT network? (yes/no) [no] <-- no
    Do you want to be able to use host-only networking in your virtual machines?
    [yes] <-- yes
    Configuring a host-only network for vmnet1.
    Do you want this program to probe for an unused private subnet? (yes/no/help)
    [yes] <-- yes
    Probing for an unused private subnet (this can take some time)...
    The subnet 172.16.98.0/255.255.255.0 appears to be unused.
    The following host-only networks have been defined:
    . vmnet1 is a host-only network on private subnet 172.16.98.0.
    Do you wish to configure another host-only network? (yes/no) [no] <-- no
    [...] <-- bla bla bla
    Please specify a port for remote console connections to use [902] <-- 902
    Configuring the VMware VmPerl Scripting API.
    Building the VMware VmPerl Scripting API.
    Using compiler "/usr/bin/gcc". Use environment variable CC to override.
    Installing the VMware VmPerl Scripting API.
    The installation of the VMware VmPerl Scripting API succeeded.
    Generating SSL Server Certificate
    In which directory do you want to keep your virtual machine files?
    [/var/lib/vmware/Virtual Machines] <-- /var/vm
    Please enter your 20-character serial number.
    Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: <-- VMware Server serial number
    Starting VMware services:
    Virtual machine monitor done
    Virtual ethernet done
    Bridged networking on /dev/vmnet0 done
    Host-only networking on /dev/vmnet1 (background) done
    Host-only networking on /dev/vmnet8 (background) done
    NAT service on /dev/vmnet8 done
    The configuration of VMware Server 1.0.2 build-39867 for Linux for this running
    kernel completed successfully.

  13. Jika “successfully” berarti instalasi berjalan lancar