Dataface Virtual Machine nearing release

A place for users and developers of the Xataface to discuss and receive support.

Postby Aoirthoir » Wed Oct 04, 2006 9:00 am

Ok I got this late after I went home last night. I had already uploaded the VM..but I am going to work on it again today. I also have Xampp installed on my Puppy DVD..but it takes a while to load (450+megabytes being copied from the DVD to ram...). When I get DF all installed and LCMS and IBPM I will try to remaster the DVD and see if that works..if it does I will upload the ISO also, for anyone who wants to burn it and try...though they will have to make changes on boot to the video settings.

More updates coming.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Thu Oct 05, 2006 8:54 am

Alright I got it working mostly. The LCMS is giving me a couple of oddities, but those can be worked out. I will posts fixes for them here that you will be able to add to your virtual machine.

You can download from http://www.dataface-apps.com/downloads/dfpup.zip

It is a plain site for now...(until I install LCMS over there..then it will be fancy schmancy...thanks again for LCMS Steve..we all love it..)

In order to run this VM you have to download VMware server or player, both free from http://www.vmware.com/ . If you get the server you will have to register for a code. A single code can be used on multiple machines though. I am not aware if this would cause conflicts if you were trying to actually "serve" a virtual machine from different hosts..so I just sign up for the 100 registration codes option. Linux codes will not work on Windows machines and vice versa. Also the windows install is pretty easy and straight forward. The only issue I had was trying to view a VM hosted on another VMware server...had to figure out the permissions..and heck if I remember them now. Plus VMware server will let you create your own VMs.

Also..I always backup my VMs. Server has an option to take a SINGLE snapshot of the drives so you can revert to it at any time..But all that does is basically make a copy anyhow. So you are better off just copying.

So save the zip someplace. I am trying to upload to sourceforge if they will let me. I also considered running in Qemu..however last time I tried that with Damn Small Linux it was SLOW..and some puppy people told me the same today. So I will likely stick with VMware for now. When I have time I might learn some other virtualization software and try it...But thats on hold for a good while.

Ok so the basics....

First you install VMware Server/Player on your Host. Then you unzip my file someplace..It has a .iso file there..that is the puppy linux live CD....then run the virtual machine. For server you click File Open Browse..and go to it. I keep all my virtual machines in a seperate folder..so that might be a good idea for youalso. The folder that I unzip is Puppy2.10r1-seamonkey-Xampp and most of the files inside that folder follow this naming convention.

After you choose all of that you should see the file on the list in the left in server. (Ive not run player since I got server..so i cant offer too much help there..server lets me create machines..run multiple machines at once etc....player does not.)

Click on the machine Puppy2.10r1-seamonkey-Xampp on the list.

Review the Virtual Hardware settings. I have it set to take 512mb of ram. But I am running on computers that have between 1gig to 4gig of ram. So you might want to adjust that down. I would recommend no lower than 256mb and 128 as an absolute minimum. Not sure if it will even run in that case. There is a Linux Swap drive in the Virtual Machine, so puppy will make use of it.

Notice the virtual CDROM says using image puppy-2.10r1-seamonkey.iso. LEAVE this alone. Or your virtual machine will not boot. You can change it to another ISO if you want to explore the virtual hard drive..but that wont get you lamp.

Next click START THIS VIRTUAL MACHINE. It will ask you if you want to create a new identifier....Click Create. Then the machine will boot.

Eventually you will get a puppy boot option. If you just leave this alone Puppy will boot automatically. Let it do so.

Then you will be placed in a JWM window..with a desktop and icons. these are single click icons. Click anywhere on the destktop to get a menu.

If networking is set up on your computer, VMware should already have found it. This Virtual Machine is using BRIDGED networking. Which means VMware gives it a virtual eth0 card. And then Vmware takes care of interfacing to the host computer to provide the VM with internet access. From a console you can type ifconfig to see your networking settings.

Next there are a series of icons in the middle of the screen. They are

README
START LAMP
FIREFOX
STOP LAMP

Go through the readme. Nothing fancy there..

Then click START LAMP. Unfortuntely I dont know how to make a script display a window yet. So in the background what this does is:

mount /dev/hda5 /hda5
lampp start

whereas STOP LAMP does the opposite

lampp stop
umount /hda5

If you click on the console icon you can cat LStart and cat LStop to see the contents of these scripts.

After you start lamp...give it a few seconds...to make sure everything starts. Then load firefox and you should see LCMS and IBPM in two tabs. These are in http://localhost, however, if you keep track of the ip address from ifconfig you should be able to http://thatipaddress/ from another computer and access it.

IMPORTANT.....THIS IS RUNNING XAMPP...WHICH IS INTENDED TO BE OPEN FOR TESTING..

SOOOOOOOOOO IT IS NOT SECURE...USE THIS FOR TESTING ONLY..THIS IS NOT FOR A PRODUCTION
ENVIRONMENT......

I will try to make something else later on ...more secure.

(Also the ip stuff may not work if you dont have a router someplace...cant answer for sure on that..ive got a router that the VMware gets the IP address for the virtual machine from..)

Now as to where stuff is at...

/hda5/lampp is the LAMP stuff...apache, mysql, php etc.
/hda5/lampp/htdocs are the web pages
/hda5/lampp/libraries/dataface v0.6.9
/hda5/lampp/htdocs/lcms is LCMS....
/hda5/lampp/htdocs/index just routes to lcms/
/hda5/lampp/htdocs/ibpm is a tiny task manager..

if anyone has apps they would like to include in this for folks to sample..I will add them to future releases...


Lastly this is 250mb. It unpacks to almost 500mb. I will try to find a way to make this smaller in a future release. I am debating about using another web server besides apache if I can find something that will work with PHP...but right now all I did was the basic pupget puppy XAMPP install. I dont have enough experience to install apache..set it up..do the same for mysql and then php. I AM really good at installing Dataface though...:D

I also downloaded grandma lamp which uses ubuntu. However that is 350mb zipped and a 1.5 gig unzipped...I really want to keep this thing small....

So if anyone has any experience with this stuff and is willing to go to http://puppylinux.com/ and download the iso..then install a secure web server w/mysql and php...maybe we can trim this up. I am going to try the unleashed copy of Puppy soon..which is the method that the developer of puppy uses to create his isos...basically I would choose which programs from his list I want in a CD..and then it makes the entire thing..but it is a complicated time consuming process..so that might be a month or more away..

I'd like to get something down to a couple hundred meg uncompressed if possible...

And if everyone just wants a command line based iso..maybe I can combine that with the tiny webserver mentioned above (assuming one exists) and then actually start creating live ISOs..not just virtual machines..those would be a LOT smaller...(puppy itself is only 70mb)..

comments questions or suggestions please email boscagarda@yahoo.com

Thank you kindly.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Oct 05, 2006 9:37 am

Thanks for posting this. I probably won't be able to try it out until the weekend, but I'll let you know my comments then.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Entnahme » Mon Oct 09, 2006 3:40 pm

Hi,

For building/modifying vm's for the player, VMX builder and tools (http://petruska.stardock.net/Software/VMware.html) might be of help. The disk images grow when you write files but do not shrink when you delete. A free vm-shrink (to be run in the guest) can be found here: http://chitchat.at.infoseek.co.jp/vmware/vmtools.html

Hope this wasn't redundant information,
Best regards
Entnahme
 
Posts: 4
Joined: Wed Dec 31, 1969 5:00 pm

Previous

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 28 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved