Web Hosting Forum | Lunarpages

Author Topic: How to Mambo  (Read 12852 times)

Danielle

  • Guest
How to Mambo
« on: March 23, 2004, 03:45:36 PM »
Hi everyone and all,

I am going to teach everyone (who reads this anyway) to mambo.  Yes, mamboing is the new way to have a jazzy CMS that I use on my own site www.skewed3.com.  It is easy to manually install, has few errors that occur after you get it running, and is simply wonderful to view and use.  Thus, let's get started with this first post in a thread that will include a whole slew of mamboserver-related tips and links.

Also, for those disappointed you won't be getting any dance tips, here are links to some music you can listen to and dance while you learn ;)

http://www.ballroommusic.com/Bal4_mambo.mp3 | http://www.ballroommusic.com/Bal6_Mambo.mp3 | http://www.ballroommusic.com/Bal7_Mambo.mp3 | http://www.ballroommusic.com/Bal8_Mambo.mp3

Mamboserver (MOS) Manual Installation

First, go to http://mamboserver.com/ for a copy of the content management system (CMS).  It is located on the download page at http://mosforge.net/frs/?group_id=5&release_id=1 and then click on MOS45103.tar.gz (later versions will have a slightly different name).  You will get a prompt box asking if you wish to download it or save it to disk. Select “save to disk” and then pick a location where you can easily find it.

Go back to the MOS site, and open the following document:

http://mosdoc.mamboserver.com/wakka.php?wakka=Manual_Install_Guide&v=169y about installing MOS.  This will be slightly different as that document discusses a completely manual installation and we will be using the homepage installer at a certain point in the process.

Now, log into Cpanel and go to your MySQL databases area.  In that area, create a database and then a user and then add the user to the database.  For example, I created a database called mambo, which is then created by Cpanel with the name daniel4_mambo (this is the full database name with username_databasename as the convention, you must use the full name when referencing it).  I then created a user called dani, which became daniel4_dani.  Finally, I added the user to the database.

Now, click on the home button so you are on the main Cpanel screen, then click on File Manager.  Click on the public_html folder icon.  If you are going to install mamboserver at this level, you can now upload and then extract the file. If you are going to install in a subfolder, go to that folder and then upload and extract the file.  To upload, click the “Upload File” arrow (large black arrow) toward the top of the file listing.  Click the Browse… button and locate the zipped file on your local computer, then select it and click okay.  Now, click the Upload button and wait for the file to upload.  You will be returned to the main folder again and the file will now be there.

Select the file’s name (not the icon), and in the upper right there will be a series of links.  Select the “Extract File Contents” link.  A popup window will appear showing all the files extracted.  Click out of the window with the extracted files, and you will not yet see the files in your folder.  Click the refresh button (which takes you back to the main folder level), then click on the public_html folder icon again and you will now see the folder that you extracted into it (assuming you selected to install directly in that folder).

Now you will need to move all the folders and files in that folder (called MOS) into public_html directly.  Click on the folder icon and then click on a folder/file name.  In the upper right there is a link to move the folder/file, select it.  You will see a list of folders at the root level now, click on the public_html folder name (not the icon), and the folder/file will be moved into it.  You will be returned to the MOS folder.  Keep doing this until everything has been moved.  After this has been done, delete the MOS folder.

Now, you need to change the file permissions on several folders before you do the installation.  Go to the document http://mosdoc.mamboserver.com/wakka.php?wakka=Manual_Install_Guide&v=169y that I noted above, and change the permissions as noted below based on that document:

Quote from: mambo file permissions

707 images
707 media
707 uploadfiles
707 components
707 language
707 modules
707 templates
707 administrator/backups
707 administrator/components
644 configuration.php-dist


To change the file/folder permisssions in File Manager, you would click on the file/folder name in question, then in the upper right you would click on the "Change Permissions" link.  There will be a table with 4 columns and 5 rows.  The checks in those boxes each represent a number.  Check the appropriate boxes or uncheck them to achieve the resulting 707 or 644 file permissions for the files noted above.  Once you have the correct permissions for a file/folder, click change and the numbers will change to the right of that file/folder.

After you have done this, you can now view the site online to do the browser portion of the installation.  Go to http://www.mydomain.com or http://mydomain.com/otherfolder depending on where you placed MOS.  Basically, the location of MOS after you extracted and moved the files/folders.  You will now see Welcome to Mambo Open Source Installation at the top of that screen as well as writeable for a bunch of files and other details.  The one error you will get will be:

Code: [Select]
configuration.php   Unwriteable
You can still continue the install as the configuration will be displayed at the end, just copy & paste this and upload.


At the end, we will copy and paste the code provided into that file.  Now, click the continue button.  In the next screen, input the following:

Host Name localhost
MySQL User Name daniel4_dani (this is the user I created above and added to my database)       
MySQL Password the password I gave the user daniel4_dani       
MySQL Database Name daniel4_mambo (the database I created above)
Drop Existing Tables? unchecked
Backup Tables? checked (existing backup tables will be dropped)
Install Help Data? checked
Install Sample Data? checked

Click the next button.

Step 2 - You now choose the name of the site. I used "stone of endar" in my example installation and clicked the next button.

Step 3 - The paths, url and admin email/password are in this section:

URL DO NOT CHANGE
Path DO NOT CHANGE
Your E-mail danielle@bestgarden.net (enter your email here)
Admin password copy the password provided here into a document or write it down

Click the next button.

Step 4 - Final installation, copy and pasting the code for the configuration.php.

Copy the code provided in the box, then remove the installation folder in File Manager.  You must remember to remove the installation folder at this step.  If you do not remove it, the installation will run again and again until you do remove it.

Next, change the name of configuration.php-dist to configuration.php (you change the file's name in File Manager by clicking on it and clicking the link "Rename file" in the upper right).  Now, open the file by selecting to edit it.   Paste the code from Step 4 that you copied by deleting all the previous code and pasting the new code into the file.  Please ensure that you do not have any spaces or lines at the end of the code you just pasted.  Save the file.  Go back to your browser and click the Run button.  Log into the admin area using the name admin and the new password to ensure you are able to log in.  After you have done this, go back to the new site and click "your details" under Usermenu.  You can now change the name, username, email and password for the administrator to anything you would prefer.

Voila, now you have just learned how to Mambo.  It might seem like a lot of steps, but once you do it the first time, it only takes 10-15 minutes the next time to set it up on a new system.  You can even teach your friends now, and get others to join along. :wink:

Hope you enjoyed this. The next one will be links for mambo that are helpful.  All posts will be in this thread to keep them together.

Have a Blessed Day

Danielle

  • Guest
How to Mambo
« Reply #1 on: March 26, 2004, 07:47:41 AM »
Here is a listing of good links for MOS.  I will keep adding to this list as I find more of them:

MOS core links
http://mamboserver.com/ (MOS site itself)
http://forum.mamboserver.com/ (MOS forum)
http://mosforge.net/ (MOS download site)
http://mosforge.net/projects/mosdoc45/ (MOS manual in PDF format)
http://mosforge.net/projects/msas/ (MOS server on your Windows desktop to testing)

MOS 3rd party links and addons
http://mamboportal.com/ (great site for free MOS downloads and templates)
http://mambotemplates.com/ (free MOS templates)
http://jasonmurphy.net/ (good site of one of the developer’s of MOS components, including the wrapper component)
http://tsmf.jigsnet.com/ (SimpleBoard component site)

Offline Jwink3101

  • Über Jedi
  • *****
  • Posts: 1831
  • The one and only.
How to Mambo
« Reply #2 on: March 26, 2004, 08:32:24 AM »
It was just a matter of time for Danielle to write one of these. It looks good. I will be testing an installation later just for fun.

Offline misterex19

  • Newbie
  • *
  • Posts: 2
How to Mambo
« Reply #3 on: April 08, 2004, 10:59:32 PM »
But does the automatic installer for mambo 4.5 works on LP?

Danielle

  • Guest
How to Mambo
« Reply #4 on: April 09, 2004, 07:18:16 AM »
Hi misterex19,

I didn't realize there was an automatic installer.  Please provide a link and I can test it.

Thanks

Offline misterex19

  • Newbie
  • *
  • Posts: 2
installer
« Reply #5 on: April 09, 2004, 09:17:36 AM »
here is a link about auto installer for MOS 4.5:
http://mosdoc.mamboserver.com/wakka.php?wakka=Install_Guide&v=gdm

Danielle

  • Guest
How to Mambo
« Reply #6 on: April 09, 2004, 10:53:44 AM »
Hi misterex19,

I guess the online steps I noted above are the automatic installer.  If you read my directions, they are a step by step explanation of how to install MOS at Lunarpages, and part of that is doing the automatic installer (what I called the browser portion of the installation).

Thanks

Offline gracef

  • Spaceship Navigator
  • *****
  • Posts: 80
How to Mambo
« Reply #7 on: October 31, 2004, 05:31:40 AM »
I tried to use the auto installer for Mambo on LP yesterday, and it was quick and easy.  Except there was one little problem.  Upon completion, I couldn't post any articles because the form for entering the articles spewed a JavaScript error.  Nothing like a content management system where you can't enter content! :(

I trashed the whole thing and am re-trying things "the hard way" this morning.
Watch out for crappy web hosts!

Offline gracef

  • Spaceship Navigator
  • *****
  • Posts: 80
How to Mambo
« Reply #8 on: October 31, 2004, 05:50:05 AM »
Quote from: gracef

I trashed the whole thing and am re-trying things "the hard way" this morning.


This URL no longer seems to be valid:
http://mosdoc.mamboserver.com/wakka.php?wakka=Manual_Install_Guide&v=169y
Watch out for crappy web hosts!

Danielle

  • Guest
How to Mambo
« Reply #9 on: October 31, 2004, 05:12:13 PM »
Hi gracef,

It appears the manual is now located off this page:

http://mamboserver.com/cat/Documentation/

You would select the "Installation - DRAFT Installation Manual (4.5.1 Stable)" one.  What I am not wild about now is that this is a PDF document, and I am not overly fond of PDFs ...

Thanks.

Offline gracef

  • Spaceship Navigator
  • *****
  • Posts: 80
How to Mambo
« Reply #10 on: November 01, 2004, 03:25:21 AM »
Yep... Followed those instructions (and your slight mods to set file permissions), and got it up and running.  I still have some format problems due to the fact that my template uses a CSS layout rather than tables.  (I can't believe Mambo still relies so heavily on tables!)  But I can add articles, so I'm well on my way.
Watch out for crappy web hosts!

Offline JamesG

  • Web Designer UK
  • Berserker Poster
  • *****
  • Posts: 11732
  • Web Designer
    • Affordable Web Design
How to Mambo
« Reply #11 on: November 01, 2004, 03:41:16 AM »
i tried it and it worked fine, good job Danielle :thumb:

Danielle

  • Guest
How to Mambo
« Reply #12 on: November 01, 2004, 10:38:08 AM »
Glad it's working for you gracef, and that the manual is working for you Garvey (or should I say Gravey?) heh

/me runs off now

Offline hongkong

  • Newbie
  • *
  • Posts: 1
    • http://www.hongkong24.net
Mambo Stand Alone Server
« Reply #13 on: November 18, 2004, 07:16:10 PM »
Quote from: Danielle
Glad it's working for you gracef, and that the manual is working for you Garvey (or should I say Gravey?) heh

/me runs off now


Just to add some information.
There is a package that will install with a single click the whole package to play with it at home at your desktop. just unpack and start the exe file and you will have apache/mysql/mambo4.5.1a running. It includes menu with phpmyadmin, start and stop of DB and Apache and is useful to learn more about mamboserver before you go online with it.
Here is the link:
http://mamboforge.net/projects/msas/
It's never too late to learn

Offline JamesG

  • Web Designer UK
  • Berserker Poster
  • *****
  • Posts: 11732
  • Web Designer
    • Affordable Web Design
How to Mambo
« Reply #14 on: November 19, 2004, 03:29:13 AM »
Quote from: Danielle
Glad it's working for you gracef, and that the manual is working for you Garvey (or should I say Gravey?) heh

/me runs off now


you better run :whip:  :whip:  :whip:

 

Share |