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.mp3Mamboserver (MOS) Manual InstallationFirst, 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:
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:
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.
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