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

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 10.01.2005, 17:33   #11 (permalink)
Mamber
 
ruigato's Avatar
 
Join Date: Jun 2004
Location: Arouca - Portugal
Posts: 82
ruigato is on a distinguished road
Send a message via MSN to ruigato
Default Re: Create your own Mambo Demo CD HOWTO

Quote:
Originally Posted by Take2
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
Can you please explain step by step how you do that?
ruigato is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 27.01.2005, 13:49   #12 (permalink)
Mamber
 
ruigato's Avatar
 
Join Date: Jun 2004
Location: Arouca - Portugal
Posts: 82
ruigato is on a distinguished road
Send a message via MSN to ruigato
Default Re: Create your own Mambo Demo CD HOWTO

I just cant manage.. Can someone help?
I want to make one in portuguese.
ruigato is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10.02.2005, 02:17   #13 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 49
Take2 is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

Okay, after a break on another project, I'm back to this one. I've also acquired a laptop with the required RAM.

So... I will be doing this over the next couple of days and will post what happens.

Susan
Take2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.02.2005, 00:59   #14 (permalink)
Senior Mamber
 
gaby's Avatar
 
Join Date: Jun 2004
Location: Ballarat, Australia
Posts: 217
gaby is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

You can now do the same on a memory stick as well.

Apache / mySQL / PHP server on a USB ... what'll they think of next?

Firepages (http://www.firepages.com.au/)from Australia has a AMP install for Winows that is a great install for a localhost test server.

AMP on USB is an interesting twist on the CD install especially if you aren't a Linux person. http://www.firepages.com.au/php_usb.htm

(This site can be a bit slow to load)
__________________
If ya gotta drive ... drive a ute
utes.com.au
ute hitlist
ute classisifed
uteshows.com.au
gaby is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.02.2005, 01:05   #15 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 49
Take2 is on a distinguished road
Default Re: Create your own Mambo Demo IN WINDOWS!!

Okay, I did it! Sorry about the delay; I had to acquire a laptop with enough RAM (you'll need at least 512) and then got sidetracked with a couple of other projects, but returned to this last weekend.

Here is how you make a demo CD in Windows!

The normal text is from Brianteeman's original instructions. The boldface text contains my modifications for Windows, plus some tips.

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

Note: If you do this using phpmyadmin, make sure to check the "Complete Inserts," "Extended Inserts" and "Backquotes" boxes. Also check "Structure and Data."

One way to do the next part -- making the tarball -- is to download Cygwin which opens a Linux window. Then you can use the following commands. You maybe able to make the tarball using a compression program like PicoZip, but I won't vouch for it because I didn't do it that way.

Also, please see the note in Step 5 before compressing.


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. Note: You can do this in Windows; in fact, you can switch back and forth between Windows and Cygwin at will since Cygwin runs in a window.




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';
Also, turn off SEF -- if you have it turned on -- or all you'll be able to see is the front page (although you can still turn off SEF from the backend).


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

I didn't know how to gather up all the files in Linux so I put all the mambo folders and files in a folder of its own and then used the tar command on that. If you do this, you must remember to add that folder to the paths in your configuration file before you compress it. You will also have to go into your database file to edit any manual links -- the price of ignorance.

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 Don't bother. You can't do step 7 using Cygwin...



7. mount the .iso image of lamppix

mount -o loop lamppix-mini.iso source

For this step, I used UltraISO. You can get it here. Put the files into a new folder named "master" that you create in your Cygwin home directory -- see step 8.


8. create a new directory on your local machine called master You did this in step 7.



9. Copy the contents of source to master No need; it's already there.

cp -a source/* master/



10 Copy the tarballs from your work directory to the master/www directory
You can do this using Windows, if you want.
cp htdocs.tar.gz mysql-dumps.tar.gz master/www/



11. Create a new .iso image You might be able to do this using UltraISO, but this command works fine so why bother?

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
I did this using Nero Express. You can burn the ISO file with any burner that will burn image files.

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



13. Test. And debug...

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) You can skip this since you never mounted anything.

DONT forget to change the configuration.php file on your server back to its original settings
Take2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.02.2005, 01:07   #16 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 49
Take2 is on a distinguished road
Default P.s.

Submitted with many thanks and a humble bow to Brianteeman!

Susan
Take2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.02.2005, 15:26   #17 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 1
rcmarc is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

You may also skip the part of making the TARBALL in the complete structure like "home/etc/www/ etc etc etc."
If you go to the map where your index pages are and make the tarball from there, you can put it into the www map directly.

If the webserver sees the maps /home/etc/www/ etc etc etc... it will automaticaly go to the root of the cd an comes up with nothing or his own webpages.

If you do it the way i posted above the application sees directly the index files and runs it....

it worked for me dough!.
rcmarc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.02.2005, 18:35   #18 (permalink)
Expert Mamber
 
quiquedcode's Avatar
 
Join Date: Jun 2004
Location: San Juan, Argentina
Posts: 306
quiquedcode will become famous soon enough
Send a message via ICQ to quiquedcode Send a message via MSN to quiquedcode Send a message via Yahoo to quiquedcode
Default Re: Create your own Mambo Demo CD HOWTO

thanks Take2 & brian 4 making this nice work !!
__________________
Enrique Becerra
MSN: qbecerra @ hotmail.com
ICQ: 18048153
www.beza.com.ar

"If you pay peanuts, you will get monkeys!" - ChicoMendez
quiquedcode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06.03.2005, 14:35   #19 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 1
forkart is on a distinguished road
Default Re: Create your own Mambo Demo CD HOWTO

MagicISO is recommended. It work great for processing CD/dvd image file. It is a good ISO burner.
http://www.magiciso.com/tutorials/miso-burnwin.htm
forkart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07.03.2005, 20:42   #20 (permalink)
Senior Mamber
 
mambosolutions's Avatar
 
Join Date: Apr 2004
Posts: 209
mambosolutions is on a distinguished road
Send a message via MSN to mambosolutions
Default Re: Create your own Mambo Demo CD HOWTO

new MSAS452 installer for windows

http://mamboforge.net/frs/?group_id=106&release_id=3450

run this from your USB stick if you like as well, just copy the files over.

now with a new MSAS config tool so your can choose the virtual drive letter (w, x, y or z) and apache is configured to run on port: 85 to lessen chances of conflicts with other port: 80 likeing appz

enjoy


Last edited by mambosolutions; 03.04.2005 at 12:19.
mambosolutions 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 17:28.

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.