Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Community > Community Announcements

Reply
 
LinkBack Thread Tools Display Modes
Old 23.09.2004, 15:19   #1 (permalink)
Baby Mamber
 
Join Date: Sep 2004
Posts: 18
brianteeman is on a distinguished road
Default Create your own Mambo Demo CD HOWTO

This is how I have produced a Live Linux based Demo CD.



With this CD you can demonstrate or distribute a mambo website directly from a cd. Nothing is installed on the users hard drive. All they have to do is to reboot their computer from the CD.



Note that any changes you make whilst runing the CD will be lost when you reboot.



This CD is created using LAMPPIX a Live CD with the web server Apache, the databases MySQL and PostgreSQL and the programming languages PHP and Perl. It's based on Klaus Knopper's KNOPPIX and Damn Small Linux.



Designed for demonstrating and testing dynamic websites, Lamppix is ideally suited for creating self booting demo CD-Roms of your latest website or php based application. All in a little over 150Mb which leaves plenty of room for your site.



Imagine, your boss wanted you to create a mambo website. You got everything running, everything works. Now, he wants you to show him the site on his PC. You take your Mambo Demo CD, let it boot and show him everything off the CD! There's no need to change anything on his PC.



Best of all because your site is on a read-only CD you can play with at much as you like and all you have to do to get back to the original is to reboot.



Everything is pre-configured, so you can simply insert the CD, and watch as Linux boots and Firefox is started with Mambo running. Firefox is configured so that when it is closed the PC shuts down, so that the user doesn't even have to know anything about linux to see your demo.



If you want to test with php5 instead of php4 start lamppix with lamppix php5 at the boot prompt.



1. Create your mambo website on your development system.



2. Create a work directory on your local machine



3. Save the database

Export your mambo database as a MySQL dump. To do this, you could use a program such as mysqldump or PHPMyAdmin. Save the dump, following the scheme: name_of_the_database.sql

eg mysqldump datenbank > database.sql
pack the MySQL dumps into a tarball mysql-dumps.tar.gz (Note the tarball must have this name)
tar czf mysql-dumps.tar.gz *.sql .
Now move the tarball to the work directory.



4. Edit configuration.php

With your favourite text editor you should make the following changes

$mosConfig_host = 'localhost';

$mosConfig_user = 'root';

$mosConfig_password = '';

$mosConfig_absolute_path = '/var/www';

$mosConfig_live_site = 'http://localhost';

$mosConfig_cachepath = '/var/www/cache';



5. Save the website to a tarball

Pack all your documents into the tarball htdocs.tar.gz,(Note the tarball must have this name) i.e.:

tar czf htdocs.tar.gz /var/www/htdocs/*
Make sure you do not include any backup files or your original configuration.php

Now move the tarball to the work directory.



5. Download lamppix-mini-iso-1.1.iso http://ibiblio.org/pub/linux/distributions/lamppix/ it is 150Mb in size.



6. create a new directory on your local machine called source



7. mount the .iso image of lamppix

mount -o loop lamppix-mini.iso source
8. create a new directory on your local machine called master



9. Copy the contents of source to master

cp -a source/* master/
10 Copy the tarballs from your work directory to the master/www directory

cp htdocs.tar.gz mysql-dumps.tar.gz master/www/
11. Create a new .iso image

mkisofs -V "LAMPPIX" -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o my-mambo-demo.iso master
This should be all on one line
12. You are now ready to burn the CD

eg cdrecord -v -eject dev=0,0,0 my-mambo-demi.iso
13. Test.

reboot the PC and boot of the newly burnt CD and it should automaticaly start and load your mambo website.



14. Clean up

remove the master and work directories

unmount the lamppix iso (umount source)

DONT forget to change the configuration.php file on your server back to its original settings
brianteeman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 24.09.2004, 15:41   #2 (permalink)
Elite Mamber
 
descartes's Avatar
 
Join Date: Mar 2004
Location: Nürnberg
Posts: 1,021
descartes is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

Thanks a lot, I had small problems with building a Live-Mambo-CD, now with this posting they are all resolved .

Greetings,
__________________
Christian Hent - Moderator
Download XAMPPMambo now!
descartes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.10.2004, 19:55   #3 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 22
brucesinner is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

Please someone 'Sticky' this.
brucesinner is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.10.2004, 20:17   #4 (permalink)
Senior Mamber
 
Join Date: Jul 2004
Location: here
Posts: 241
ChicoMendez is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

can this be done any way for windows???
ChicoMendez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.11.2004, 03:28   #5 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: Create your own Mambo Demo CD HOWTO

CYGWIN -> www.cygwin.com ,im not sure if it can be done with it but may be a useful tool.
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.11.2004, 00:51   #6 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 49
Take2 is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

Nope! I've spent the day on it. Hours later, it turns out that you can't mount an iso image with Cygwin. At least that's what they said...

The disappointed Susan
Take2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.11.2004, 00:58   #7 (permalink)
Baby Mamber
 
Join Date: Sep 2004
Posts: 18
brianteeman is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

you can do it with qemu but it may be a little slow
http://www.h7.dion.ne.jp/~qemu-win/
brianteeman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.11.2004, 22:33   #8 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 49
Take2 is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

Guess what? I actually did it I think) -- before I saw the new suggestion.

Here's what it took: I used UltraISO to get around the mounting problem, put those files into the master directory along with the mambo and mysql stuff, and it worked.

Well, at least I think it worked. It did boot and go through its paces... except I tested on a laptop that doesn't have nearly enough RAM. So, because this was to be my sales tool, I'm outta luck until I can afford to buy a new laptop. Chicken and egg. So close and so far away...

But... the good news is that you can actually do the whole thing on a Windows PC using cygwin and UltraISO!

Susan
Take2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17.11.2004, 20:43   #9 (permalink)
Baby Mamber
 
charQuasi's Avatar
 
Join Date: Jul 2004
Location: Los Angeles
Posts: 5
charQuasi is on a distinguished road
Send a message via ICQ to charQuasi Send a message via AIM to charQuasi Send a message via MSN to charQuasi Send a message via Yahoo to charQuasi
Default Re: Create your own Mambo Demo CD HOWTO

Would you be williing to sell these demo CD's?

I would be very interested.
charQuasi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.01.2005, 20:52   #10 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: Create your own Mambo Demo CD HOWTO

Somebody Sticky this, please! Thanks.
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best methods for managing multiple Mambo installs. coling Mambo 4.5 'How Do I' Questions 7 14.12.2005 10:20
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 09:35
Draft Press Statement unity Community Smalltalk 50 30.09.2004 21:53
Mamsites for Future Mambo (5.0 maybe) labanex Mambo 5.0 Wishlist 4 03.09.2004 23:22
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 06:14


All times are GMT +2. The time now is 18:05.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.