Bu yazimizda Debian 4.0 etch uzerine VMware Server(version 1.0.2) kurulumu yapacagiz.  Oncelikle biraz VMware’ dan bahsedelim. VMware bir bilgisayar uzerinde birden cok isletim sistemi kurmamizi saglayan bir program. Benzerleri cok ornegin; XEN, Microsoft’ un kendi programi vs. VMware sayesinde windows isletim sistemimizin uzerinde linux isletim sistemine sahip olabilirz ya da tam tersini dusunebiliriz. Simdi ana serverimiza (Debian 4.0) VMware’ in free versiyonunu step-by-step kuracagiz.

Giris

Eger mevcut bir Debian 4.0 isletim sisteminiz yok ise ve bu makaleyi uygulamak istiyorsaniz ancak Debian 4.0′ in nasil kurulacagi hakkinda bir bilginiz yok ise lutfen onceki makalelerimiz arasinda Debian 4.0 Etch Kurulumu – Resimli Anlatim yazimizi okuyunuz.

Konumuza donecek olursak bu makalede de her zamanki 192.168.1.5 ip adresini servera verecegim, ayrica serverin hostname i debian.dinopsys.net olacak.

Sunucunuzda bir statik ip niz yok ise, yani ip yi dhcp servisinden aliyorsaniz oncelikle bunu statik olarak degistirmemiz lazim;

vi /etc/network/interfaces

# /etc/network/interfaces — configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card – this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.1.5
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

# Dosya sonu

Daha sonrasinda yaptigimiz degisikligin aktif olmasi icin network servisimizi yeniden baslatmamiz gerekir;

/etc/init.d/networking restart

Dns cozumleme isimizi resolv.conf dosyasi yapiyor bu dosyaya dogru dns adresleri girmemiz gerekir;

vi /etc/resolv.conf

search dinopsys
nameserver 212.175.22.98
nameserver 212.175.16.24

seklinde resolv.conf dosyamizida ayarladik.

hosts dosyasina yeni ayarladigimiz ip adresimizi girelim;

vi /etc/hosts

127.0.0.1       localhost.localdomain   localhost
192.168.1.5   debian.dinopsys.net     debian

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

# dosya sonu

Gerekli Paketlerin Kurulumu

Oncelikle paket databaseimizi guncelleyelim

apt-get update

ve vmware’ i sistemimize kuralim

apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential

 Ilgili sorulari asagidaki gibi cevapliyalim;

Please keep only the resolutions you would like the X server to use. Removing all of them is the same as removing none, since in both cases the X server will attempt to use the highest possible resolution.

Video modes to be used by the X server:

<–Accept the default values

Simdi virtual makinelerimi nereye kurmak istiyorsam orda bir dizin olusturuyorum

mkdir /vm

kok dizine vm isimli bir klasor olusturdum. Bu birazda partition sisteminizle alakali nerede cok yeriniz var ise orada dizin olusturmanizi tavsiye ederim.

VMware’ in Download Edilmesi

http://www.vmware.com/download/server/
sitesine girerek vmware server’ in ucretsiz versiyonunu kayit olup indirelim. Serial leri almayi unutmayin 🙂

cd /tmp

wget [ VMware Linux binary dosyasinin adresini buraya yazin ]

tar xvfz VMware-server-*.tar.gz

cd vmware-server-distrib
./vmware-install.pl

VMware size birkac soru soracak bu sorulari default sekliyle birakiyoruz;

Creating 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

The installation of VMware Server 1.0.2 build-39867 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]

….. snip [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

The path “/usr/share/icons” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]
<– yes

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

[…]

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

[…]

Please specify a port for remote console connections to use [902] <– 902

Restarting internet superserver: inetd.
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: <– serial’ i buraya giriniz

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.

Tebrikler VMware-Server kurulumunu tamamladiniz 🙂

Devami bir sonraki makalede…

Categories:

Tags:

One response

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir