All pastes #902821 Raw Edit

Untitled

public text v1 · immutable
·published 2008-02-13 19:48 UTC
rendered paste body
Debian 4.0r2 install w/ VMWare Server 2.x beta
1)
# configure primary storage partition
8GB /
rest on LVM called main
4GB swap
20GB /home
100GB /vm
# use ftp.us.debian.org for network install packages
# No packages installed by default

2)
# login as root

3)
a)
# optional to remove CD dependency
nano /etc/apt/sources.list

# comment out the line starting with "deb cdrom"
b)
# or stick in the CD and type:
##### replace this line with appropriate CD mount command

4)
# add some extra packages
apt-get install build-essential linux-headers-`uname -r` xinetd openssh-server sudo libxtst6 libxt6 libxrender1 psmisc tcl8.4

5)
# fetch vmware onto the system and extract it
wget http://download3.vmware.com/software/vmserver/VMware-server-e.x.p-63231.x86_64.tar.gz
tar xzf VMware-server-e.x.p-63231.x86_64.tar.gz

6)
# run the installer
cd vmware-server-distrib/
./vmware-install.pl

# Accept defaults on everything except VM files location.
# for vm files location use /vm
# note the default remote connection port is 902, default http/https are 80/443
# enter serial number from VMware

7)
# optional if you have another drive you'd rather use for iso storage or something
# find the disk on the system
fdisk -l | more

# in my example, my extra drive was /dev/sdb
pvcreate /dev/sdb
#  Physical volume "/dev/sdb" successfully created
vgcreate store1 /dev/sdb
#  Volume group "store1" successfully created
lvcreate -L 100G store1 -n iso
#  Logical volume "iso" created
# now you need to create the filesystem
mkfs.ext3 /dev/mapper/store1-iso
# create an empty folder to mount with
mkdir /iso
# finally add it to your fstab
/dev/mapper/store1-iso /iso     ext3    defaults        0       2
# update your mounting the easy way ( connects /iso to the /dev/mapper/store1-iso )
mount -a

8)
# Open the VMware Server URL
# login as your root user

# add datastore if you created another datastore for isos using "Add Datastore" link