Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Chaloner Hale on April 03, 2002, 02:28:16 AM

Title: MAMBO SITE SERVER
Post by: Chaloner Hale on April 03, 2002, 02:28:16 AM
Just installed Mambo Site Server. Took all of 5 minutes. So far looks OK... Will advise if it works out. Looks like a nice CMS CONTENT MANAGEMENT SYSTEM.


www.chaloner.ca (just testing).

Chaloner Hale
Title: Re: MAMBO SITE SERVER
Post by: Jon on April 03, 2002, 02:55:13 AM
Hi,
Is there a how to for this some where, or are you writing one :)

I like the look of this one, might try it myself.

Jon
Title: Re: MAMBO SITE SERVER
Post by: Alessandro on April 03, 2002, 01:01:53 PM
I have tried this half a year ago and it worked good, but the Administration Interface was very buggy.

Any problem with it ???
Title: Re: MAMBO SITE SERVER
Post by: Chaloner Hale on April 03, 2002, 08:02:13 PM
Download MamboV3.0.7.tar.gz from the www.sourceforge.net site.

Add a Mambo user (ie. mambouser) on your SME via the server-manager and set a password (mambopw).

Copy the Mambo distribution to any temporary directory on your SME server.

Extract the files with;
tar -zxvf MamboV3.0.7.tar.gz

As root create the database with;

mysqladmin create mambodb
mysql
grant all privileges on mambodb.* to mambouser@localhost identified by 'mambopw';
quit
mysql mambodb < mambov3.sql

Copy the extracted mambov3.tar file into your html directory.

Extract the files with;

tar -xvf mambov3.tar

There is a readme file where your first extracted the Mambo tarball with the name Manual_Install_README.dat. I followed the instructions there and am summarizing them here.

Edit the configuration.php in your html directory and change it to look like the following; (I use vi - do not edit it under Windows unless you use WORDPAD - do not use NOTEPAD)

$host = 'localhost';
$user = 'mambouser';
$password = 'mambopw';
$db = 'mambodb';
$live_site = 'http://www.yoursite.com';
$image_path ='/home/e-smith/files/primary/html/images/stories';
$sitename = 'yoursite.com';
$col = 3;
$row = 3;
if ($directory !='uploadfiles'){
        $title[0] = 'Story Images';
        $dir[0]='/home/e-smith/files/primary/html/images/stories/';
        $picurl[0]='http://www.yoursite.com/images/stories/';
        $tndir[0]='http://www.yoursite.com/images/stories/';
} else {
        $title[0]='Uploaded File Images';
        $dir[0]='/home/e-smith/files/primary/html/uploadfiles/$Itemid/';
        $picurl[0]='http://yoursiter.com/uploadfiles/$Itemid/';
        $tndir[0]='http://yoursite.com/uploadfiles/$Itemid/';
}?>

Set directory and file permissions with chmod, chown and chgrp.

Run the site;
admin = www.yoursite.com/administrator (user=admin password=admin)
online = www.yoursite.com

Enjoy yourself.
Title: Re: MAMBO SITE SERVER
Post by: Dean Mumby on April 04, 2002, 10:14:31 AM
Can I ask why you created a mambo user in e-smith ?

Dean
Title: Re: MAMBO SITE SERVER
Post by: Chaloner Hale on April 04, 2002, 04:40:20 PM
So that I do not let Mambo run as root user. The database needs a user with MYSQL rights. What do you recommend? Do you think this is wrong?
Title: Re: MAMBO SITE SERVER
Post by: Dean Mumby on April 04, 2002, 05:46:18 PM
granting the mambouser access in mysql is all that is need, the actual "app" runs with www permisions as it is in a ibay. you dont need a USER on your system called mambouser

Dean
Title: Re: MAMBO SITE SERVER
Post by: Chaloner Hale on April 04, 2002, 06:38:29 PM
We learn something everyday. I will delete this user and see for myself.

THANKS!
Title: Re: MAMBO SITE SERVER
Post by: jan on April 10, 2002, 12:58:38 AM
Hi,

Seeing that you have some experience with mambo maybe you could answer a question form me. I tried the install howto on this forum and it seems to work fine.

One option I particulary find interesting is the newsfeed option. Have you installed this too? I did take a short look at the install howto included with mambo but I'm not sure it works.... so does it? If so, how exactly did you install it and what are the pittfalls I need to watch out for?

Any suggestion you may have is welcome.

Thanks,

Jan
Title: Re: MAMBO SITE SERVER
Post by: Chaloner Hale on June 06, 2002, 03:50:15 AM
You do not need to do the following that was in my HOWTO;

Add a Mambo user (ie. mambouser) on your SME via the server-manager and set a password (mambopw).

Other than that it goes in in 5 minutes.

Chaloner Hale