VMware ServerForum: Apps Topic: VMware Server started by: proteus88 Posted by proteus88 on July 06 2006,13:08
Has anyone attempted to use DSL as the base OS for hosting the free VMware Server? DSL's small footprint would be ideal for keeping resources free for the VMs.
Posted by dslnube on July 25 2006,16:17
I think this would be rather fine implementation as well. I've downloaded DSL's LIVECD iso, and am still dorking around with it. Since i'm not familiar with installing sw on linux, it will take me a while to figure it out, i generally subscribe to the package managers
Posted by T.Ma.X. on July 30 2006,18:17
Hi proteus88,I played a little bit with dsl as base OS for vmware player and I think I got it up and running.. Sure.. It's not vmware Server but I think it's OK.. Probably you could use my manual to make a vmware server dsl cd? I like it to have a little "bootable vmware OS". So I will not try to make vmware Server running in dsl.. Up to now it's pre alpha and round about 100 MB :P You can boot dsl in RAM-Mode and start your Virtual Machine or you can still run it directly from CD.. Everything no problem.. I tested it with a Windows 3.11 Virtual Machine on my 128 MB USB-Stick.. Seems to be no problem.. Are you interested? I'm sure you can make the iso even smaller and my lousy "hacks" smarter.. But it's pre alpha. So who cares.. greets Posted by dslnube on July 31 2006,20:56
Thank you very much, where would I find your manual? Posted by 300c_pilot on Aug. 01 2006,05:24
Yes, it runs fine, this is a screen shot of Vmware server running on a VM of DSL. It installs with little headaches. Just follow the Vmware directions. Posted by T.Ma.X. on Aug. 01 2006,06:33
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/static/act-ST/f-12/t-7177/st-285 #of getting an idea how to start. @300c_pilot: Could you post your Install Manual too? Posted by T.Ma.X. on Aug. 07 2006,06:27
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.. Posted by T.Ma.X. on Oct. 17 2006,06:38
Because of updating reasons Igot my Homepage up... So up to now you are going find updates to my install steps only there.. < http://www.radiproductions.com > |