Apps :: VMware Server



Right here:  :;):

Creation of "DamnSmallVirtualMachine" (Pre Alpha)
------------------------------------
used:
a vmware virtual machine with:
256 MB Ram
SCSI HDD 1 GB (ext3)
SCSI HDD 1 GB  (swap)
dsl-3.0.1.iso to boot directly from the iso-file
bridged Ethernet
and
FileZilla Server for getting the created iso from
virtual to my windows machine.. (shame on me)
Router with Internet Access..


#let's start:
#boot up Virtual Machine with the dsl iso...

#quit fluxbox

#make ext3 with fdisk and so on... (/dev/sda1)

#make swap:
sudo fdisk /dev/sdb
#Linux Swap Code 82
sudo mkswap -c -v1 /dev/sdb

sudo mount /dev/sda1 /mnt/sda1
sudo swapon /dev/sdb
sudo mkdir /mnt/sda1/KNOPPIX
sudo mkdir /mnt/sda1/newcd

#Cloop the cdrom to make a copy of the files
sudo mkdir /mnt/cloop
sudo mount -o ro,loop=/dev/cloop1 /cdrom/KNOPPIX/KNOPPIX /mnt/cloop

sudo cp -Rp /mnt/cloop/* /mnt/sda1/KNOPPIX/
sudo cp -Rp /KNOPPIX/.bash_profile /mnt/sda1/KNOPPIX/
sudo umount /mnt/cloop

sudo mkdir /mnt/sda1/newcd
sudo mkdir /mnt/sda1/newcd/KNOPPIX
cp -Rp /cdrom/boot /mnt/sda1/newcd/
cp /cdrom/index.html /mnt/sda1/newcd/
cp -Rp /cdrom/lost+found /mnt/sda1/newcd/lost+found

#lets rock:
sudo  mount --bind /dev /mnt/sda1/KNOPPIX/dev
sudo chroot /mnt/sda1/KNOPPIX
mount -t proc /proc proc
netcardconfig #(DHCP not working???But static IP does?)
su dsl
sudo mount /dev/sda1 /mnt/test

mkdir /mnt/sda1/plugins
#(get the dsl files (dsl-dpkg.dsl, gcc1.dsl, kernelsource.dsl) here:
#  ftp://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system
cd /mnt/test/plugins
mydsl-load dsl-dpkg.dsl
sudo apt-get update

sudo apt-get install gcc #(installs binutils2.12.90.0.1-4_i385.deb,cpp-2.95.4-11woody1__i386.deb, gcc-2.95.4-11woody1_i386.deb from ftp.us.debian.org oldstable/main)
#Ignore Warning Message
mydsl-load gcc1.dsl
mydsl-load kernelsource.dsl

sudo rm /dev/parport0 /dev/parport1 /dev/parport2
#(uncompress vmware-player.tar.gz to sda1)
#cd to uncompressed vmware-player.tar.gz dir
sudo ./vmware-install.pl
#Standard Install
#(PGDown for faster License Agreement)
#ready...
#?where is vmmon? In /dev?? Sure it is! Great!

#clean up the crap...
sudo apt-get remove gcc
sudo rm -rf /usr/src/*
sudo apt-get clean
sudo apt-get autoclean

exit #(user dsl ctrl+d)

#Remove Progs to make it smaller:
sudo find * -name firefox | xargs rm -rf
sudo find * -name siag | xargs rm -rf
sudo find * -name sylpheed | xargs rm -rf
sudo find * -name Ted | xargs rm -rf
sudo find * -name xpaint | xargs rm -rf
sudo find * -name xpdf | xargs rm -rf
#Any hints what we could remove too?

#Modify/Delete Shortcuts in /mnt/test/KNOPPIX/etc/skel/.xtdesktop
vi Aterm.lnk #edit line: command: sudo aterm -T "Bash" --> I like it to have a root shell on the Desktop.
#vmware icons in /usr/share/icons/hicolor/48x48/mimetypes Make Shortcut if you like? Not tested..

copy /etc/vmware /etc/skel/vmware
rm -rf /etc/vmware
ln -s /ramdisk/home/dsl/vmware /etc/vmware #/ramdisk doesn't but will exist when booting from CD..

#edit fluxbox behavior:
nano /etc/skel/.fluxbox/init
nano /etc/skel/.fluxbox/menu #run vmplayer as {sudo vmplayer} I hate it to get trouble with file-system access..

#Remove Dillo Popup + Autostart VMPlayer:
vi /etc/skel/.xintrc
#dd line with the .html file
#insert these two lines at the beginning:  
#(don't forget the & at End of Line!!!!)
sudo rm /ramdisk/home/dsl/vmware/not_configured &
vmplayer &

cd /
umount /mnt/test
umount -l -f /proc
exit #(user root ctrl+d)
#(now user dsl again. non chroot environment)

#Create the custom compressed image file:
sudo su
mkisofs -R /mnt/sda1/KNOPPIX/ | create_compressed_fs - 65536 > /mnt/sda1/newcd/KNOPPIX/KNOPPIX

#Create the iso-image:
mkisofs -pad -l -r -J -v -V KNOPPIX -no-emul-boot -boot-load-size 32 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o test.iso newcd

#Finished.. Works just fine for me...
#Hint? If you boot with cheatcode: dsl toram
#the whole thing is running in ram..

#Thanks to "ReMastering HOWTO for DSL, Also for newbies and other enthusiasts"
#http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=12;t=7177;st=285
#of getting an idea how to start.

@300c_pilot:
Could you post your Install Manual too?

Hi,
I played this weekend a little bit with implementing vmware server into dsl.. Seems to work.. But again pre-alpha.. :)
Here are my install steps..

Creation of "DamnSmallVirtualServer" (Pre Alpha)
------------------------------------
used:
a vmware virtual machine :OD with:
256 MB Ram
SCSI HDD 2 GB (ext3)
SCSI HDD 1 GB  (swap)
dsl-3.0.1.iso to boot directly from the iso-file
bridged Ethernet
and
FileZilla Server for getting the created iso from
virtual to my windows machine and getting the vmware archives into
the virtual world.. (shame on me...)
Router with Internet Access..

#let's start:
#boot up Virtual Machine with the dsl iso...

#quit fluxbox

#make ext3 with fdisk and so on... (/dev/sda1)

#make swap:
sudo fdisk /dev/sdb
#Linux Swap Code 82
sudo mkswap -c -v1 /dev/sdb

sudo mount /dev/sda1 /mnt/sda1
sudo swapon /dev/sdb
sudo mkdir /mnt/sda1/KNOPPIX
sudo mkdir /mnt/sda1/newcd

#Cloop the cdrom to make a copy of the files
sudo mkdir /mnt/cloop
sudo mount -o ro,loop=/dev/cloop1 /cdrom/KNOPPIX/KNOPPIX /mnt/cloop

sudo cp -Rp /mnt/cloop/* /mnt/sda1/KNOPPIX/
sudo cp -Rp /KNOPPIX/.bash_profile /mnt/sda1/KNOPPIX/
sudo umount /mnt/cloop

sudo mkdir /mnt/sda1/newcd
sudo mkdir /mnt/sda1/newcd/KNOPPIX
cp -Rp /cdrom/boot /mnt/sda1/newcd/
cp /cdrom/index.html /mnt/sda1/newcd/
cp -Rp /cdrom/lost+found /mnt/sda1/newcd/lost+found

#lets rock:
sudo  mount --bind /dev /mnt/sda1/KNOPPIX/dev
sudo chroot /mnt/sda1/KNOPPIX
mount -t proc /proc proc
netcardconfig #(DHCP not working???But static IP?)
su dsl
sudo mount /dev/sda1 /mnt/test

mkdir /mnt/sda1/plugins
#(get the dsl files (dsl-dpkg.dsl, gcc1.dsl, kernelsource.dsl) here:
#  ftp://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system/
# and gtk2-0705.dsl for some PERL stuff here:
# http://distro.ibiblio.org/pub....tk2

cd /mnt/test/plugins
mydsl-load dsl-dpkg.dsl
sudo apt-get update

sudo apt-get install gcc #(installs binutils2.12.90.0.1-4_i385.deb,cpp-2.95.4-11woody1__i386.deb, gcc-2.95.4-11woody1_i386.deb from ftp.us.debian.org oldstable/main)
#Ignore Warning Message
mydsl-load gcc1.dsl
mydsl-load kernelsource.dsl
mydsl-load gtk2-0705.dsl

sudo rm /dev/parport0 /dev/parport1 /dev/parport2

Don't forget to get your 100 free Serialnumbers from vmware Homepage!!!!!
(http://register.vmware.com/content/registration.html)
90H80-YAC8C-2DQCN-49HV1
92H00-Y8GAZ-24Q1M-4LN1H
92424-Y2YAV-26K9M-4L2KJ

#(uncompress VMware-server-1.0.0-28343.tar.gz to sda1)
sudo gunzip VMware-server-1.0.0-28343.tar.gz
sudo tar -xvf VMware-server-1.0.0-28343.tar.gz
sudo rm -rf VMware-server-1.0.0-28343.tar.gz

#same thing for mui
sudo gunzip VMware-mui-1.0.0-28343.tar.gz
sudo tar -xvf VMware-mui-1.0.0-28343.tar.gz
sudo rm -rf VMware-mui-1.0.0-28343.tar.gz

#cd to uncompressed VMware-server-1.0.0-28343 dir
sudo ./vmware-install.pl
#Standard Install
#(PGDown for faster License Agreement)
BusyBox Error? Important? Don't know
#ready...

#cd to uncompressed VMware-mui-1.0.0-28343.tar.gz dir
sudo ./vmware-install.pl
#Standard Install
#(PGDown for faster License Agreement)
#ready...

exit #(user dsl ctrl+d)

#clean up the crap...
sudo rm -rf /usr/src/*
sudo apt-get remove gcc
sudo apt-get clean
sudo apt-get autoclean

#Remove Progs if you like to make it smaller:
find * -name firefox | xargs rm -rf
find * -name siag | xargs rm -rf
find * -name sylpheed | xargs rm -rf
find * -name Ted | xargs rm -rf
find * -name xpaint | xargs rm -rf
find * -name xpdf | xargs rm -rf

#Modify/Delete Shortcuts in /mnt/test/KNOPPIX/etc/skel/.xtdesktop
vi Aterm.lnk #edit line: command: sudo aterm -T "Bash" --> I like it to have a root shell on the Desktop. :)
#vmware icons in /usr/share/icons/hicolor/48x48/mimetypes Make Shortcut if you like? Not tested..

copy /etc/vmware /etc/skel/vmware
ln -s /ramdisk/home/dsl/vmware /etc/vmware #/ramdisk doesn't but will exist when booting from CD..
rm -rf /etc/vmware

copy /etc/vmware /etc/skel/vmware-mui
ln -s /ramdisk/home/dsl/vmware-mui /etc/vmware-mui #/ramdisk doesn't but will exist when booting from CD..
rm -rf /etc/vmware-mui

#edit fluxbox behavior:
nano /etc/skel/.fluxbox/init
nano /etc/skel/.fluxbox/menu #run vmware server as {sudo vmware} I hate it to get trouble with file-system access..

#Remove Dillo Popup & autostart vmware:
vi /etc/skel/.xintrc
dd line dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
#insert these line at the beginning:  
#(don't forget the & at End of Line!!!!)
sudo rm /ramdisk/home/dsl/vmware/not_configured &
sudo netcardconfig & #if you like...
sudo vmware &

cd /
umount /mnt/test
umount -l -f /proc
exit #(user root ctrl+d)
#(now user dsl again. non chroot environment)

#Create the custom compressed image file:
sudo su
copy VMware-server linux/Win32 Client files to /mnt/sda1/newcd if you like.. :)

mkisofs -R /mnt/sda1/KNOPPIX/ | create_compressed_fs - 65536 > /mnt/sda1/newcd/KNOPPIX/KNOPPIX

#Create the iso-image:
mkisofs -pad -l -r -J -v -V KNOPPIX -no-emul-boot -boot-load-size 32 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o test.iso newcd

#Finished..
#Hint? If you have a lot of RAM an boot with cheatcode: dsl toram the whole thing is running in ram quit fine..

Because of updating reasons I
got my Homepage up... So up to now you are going
find updates to my install steps only there..
http://www.radiproductions.com


original here.