Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Matt on September 22, 2003, 03:35:24 AM

Title: moregroupware setup
Post by: Matt on September 22, 2003, 03:35:24 AM
Hi

Can anyone help me setting up moregroupware on my sme, I have been following the detailed instructions on the website to the letter, but cannot be the php setup page to open in my web browser, I have checked all the file permissions which appear to be OK, I would be grateful for some advice from anyone who has already installed this software

Cheers

Matt
Title: Re: moregroupware setup
Post by: Michael Smith on September 22, 2003, 07:47:39 AM
I did this as an experiment by putting it in its own ibay; ran fine as I recall.  This was 5.1.2 and I haven't tried it since.
Title: Re: moregroupware setup
Post by: Michael Smith on September 22, 2003, 08:23:45 AM
A followup:  if you decide to try it in an ibay, don't forget to enable "execution of dynamic content".
Title: Re: moregroupware setup
Post by: Rich Singer on September 23, 2003, 12:25:14 AM
I've tried every version of MGW from 0.67 to 0.69 (including yesterday's CVS snapshot) on SME 5.6 and it works great.  Here's what I do for a quick and dirty install:

1) Create I-bay (w/ dynamic content)
2) Download and extract MGW to your hard drive (it will create a subfolder - "moregroupware" or "mgw" depending on what version you have)
3) Copy/move the files from the subfolder to your HTML folder in your I-bay
4) Login to your SME server as "root" and run "mysql"
5) Create the database:
        create database mgw;
6) Grant permissions:
        grant all privileges on mgw.* to mgw@localhost identified by 'your_password';
7) Point your browser to http://www.your_domain.com/your_ibay/setup/index.php and follow the instructions from there...

I think that covers everything - I just did the above less than 12 hours ago, so it should still be fresh in my mind.  It's not the most secure method of installing, but it's quick and easy.  You can always go back and limit the database and file permissions, but it works quite well using the above process.
Title: Re: moregroupware setup
Post by: Matt on September 23, 2003, 04:47:37 AM
Rich

Many thanks for your help

I have followed your instructions and I am now getting the following error message:

Setup died with this message:

Setup needs a place to write some temporary data. It does this in '/home/e-smith/files/ibays/matt/html/setup/templates_c'.

Automatic creation of this directory failed. Please create it manually and give the user of your webserver 'R/W' rights on this directory

I have tryed creating templates_c' maually but still get the same message I think its all about permissions but not quite sure what to do suggestions would be great
cheers

matt
Title: Re: moregroupware setup
Post by: Reinhold on September 24, 2003, 08:50:06 PM
Matt

Warning: I'm new to SME and you may create a security issue here ...
...else..

> Setup needs a place to write some temporary data. It does
> this in  '/home/e-smith/files/ibays/matt/html/setup/templates_c'.
>
> I have tryed creating templates_c' maually but still get the
> same message I think its all about permissions but not quite
> sure what to do suggestions would be great

mkdir /home/e-smith/files/ibays/matt/html/setup/templates_c
cd /home/e-smith/files/ibays/matt/html/setup/templates_c
chown www:www .

should make the place,
lead you there
and give the webserver rights to all that's there

Enjoy
Reinhold
Title: Re: moregroupware setup
Post by: Finchwizard on October 10, 2003, 04:00:17 AM
You just stick it under your Primary ibay as "/Moregroupware"

And then followed the "Detailed Instructions" part with setting up under linux.

But do NOT change the SQL password, if you are logged in as root. you can just access it with something like mysql --USER=root

And it will log you in automatically, otherwise you're changing the password from a random 76 letter password.

Just added security.