Koozali.org: home of the SME Server

Groupware On SME

Tom Veitch

Groupware On SME
« on: February 06, 2002, 10:08:48 PM »
Has any setup any form of Groupware on SME

Thanks

guestHH

Re: Groupware On SME
« Reply #1 on: February 06, 2002, 11:38:30 PM »
Hi,

Do a search on 'twiggy', 'phpgroupware' in these forums.

guestHH

Patrick Schepers

Re: Groupware On SME
« Reply #2 on: February 07, 2002, 01:47:41 AM »
there's a howto for PHPROJECT

PHProjekt

[Groupware tool]

PHProjekt is a modular application for the coordination of group activities and to share information and documents via intranet and internet.

Components of PHProjekt:

Group calendar with reminder
Project management
Resource booking
Time sheet system
File management
Request tracker system
Contact manager
Mail & fax support
Forum & chat
To-do lists
Voting system
full text search and help system
And more..
"Of course - open source" - PHProjekt is free software.
Actual version: 3.0a (02.11.2001)

Available languages: Catalan, Chinese (traditional and simplified), Czech, Danish, Dutch, English, French, German, Hungarian, Italian, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish.
The help system is available in English, French, Spanish, Dutch, Chinese, Turkish and German.

PHProjekt needs PHP4 and a database (mysql/postgres/oracle/informix/ms-sql)

 

Step 1:

First thing you want to do is create yourself an “ibay” to hold the files for your application.

Create an ibay with the permissions:

           

            Group: (You can create a group just for this app or use an existing group.)

            User access via file sharing or user ftp: Write = Group, Read = Everyone

            Public access via web or anonymous ftp: Entire Internet (No password required)

            Execution of dynamic content (CGI, PHP, SSI): Enabled

 

(This leaves the directory open to anonymous FTP to be secure make sure you have FTP off in the remote access section of your e-smith admin page.)

 

Step 2:

Next you need to download the setup files to the html folder in the directory you just made from:

 ftp://ftp.phprojekt.com/phprojekt.tar.gz

(Delete the index.html file from the ibay before you continue.)

 

Step 3:

Next you want to go to the console of your server or use telnet to log in as root with your admin password.

Next you want to change to the directory that you created and downloaded your file to. On my computer the path is:

/home/e-smith/files/ibays/project/html (project being the ibay I created)

 

Step 4:

Check the directory to make sure the file is there. If it is then you need to now uncompress the file using the command:

# gunzip phprojekt.tar.gz

 

Do an “ls” of the directory and you should now have the file “phprojekt.tar”

Now run the command:

 

# tar xvf phprojekt.tar

This should create all the folders and files you need and you should end up with a folder named:

phprojekt-X.Xx (Where the X’s are the software version which could change at anytime)

 

Next you need to move all the files out of the phprojekt-X.Xx dir to the root of the html directory in the ibay you created.

 

Then delete the downloaded files and the phprojekt-X.Xx directory. (Double check that you copied all the files over to the ibay before you delete everything.)

 

Step 5:

Now you need to add a database to your mysql server..

Login using the command : mysql

Use the command to list what you have: show databases;   (Make sure you use the semicolon at the end of the command) You should get an output similar to this:

+----------+

| Database |

+----------+

| horde    |

| mysql    |

| test       |

+----------

You should just have a couple of databases in there like: test, horde and mysql.

If you get this list then you have access.

 

Next you want to create a database using the same name as the ibay you created to hold your setup files using the command: create database databasename; (Where databasename is the name you gave the directory you created, mine is project.)

 

mysql> create database project;

Query OK, 1 row affected (0.00 sec)

 

Use the show databases; command again to make sure you created it.

mysql> show databases;

+----------+

| Database |

+----------+

| horde    |

| mysql    |

| test       |

| project  |
+----------+

If all went well you should be ready to get the application up and running now.. Use the exit command to get out of mysql.

 

Step 6:

This is the part where it gets sticky. When I first made a database for this app I assigned a new admin user to the database (For security) with the GRANT ALL command: But when I went through the application set up process it would not let the app make tables etc in the database, even though I could make tables using the command line. So after hours of playing with it I just decided to use the root admin. Problem is I didn’t know the password until someone told me I could get the 75 character password out of the file : ldap.pw

 

To find the file you can use the locate command:

locate ldap.pw

 

it should be in the dir: /etc/openldap/ldap.pw

 

Next you want to copy that file over to the folder where you PHProjekt files are (So you don’t make changes to the original file by mistake:

cp /etc/openldap/ldap.pw /home/e-smith/files/ibays/project/html/

 

Then you can use pico command to open the file:

Change to the PHProjekt ibay you made, then use the command:

pico ldap.pw

 

All that should be in it is the mysql root password that you need to copy and paste or write down because you will need it to config the PHProjekt application.

Once you get that down you can then move on to configuring the app it’s self.

 

(If you can not get the 75 character password to work, you can make it shorter by using the directions here: http://www.mysql.com/doc/P/a/Passwords.html)

 

Step 7:

Now you need to go to a PC that can access your server from the web. You need to go to the url: http://yourhostname/phprojekt_dir/setup.php

(your hostname being the name or IP of your server and phprojekt_dir is the ibay you made.)

 

You will come to a set up screen that asks for :

 

Action:
 Installation
Update
Configure actual version
 
language:
  englishcatalanczechchinese P.R.C.chinsese R.O.C.danishdutchfrenchgermanhungarianitaliankoreannorwegianpolishportuguesrussianspanishswedishturkish
 
db_type:
  mysqloracleinformixpostgresMS SQLinterbase
 
 
 
 

 

Choose installation, English and db type: mysql. Then hit submit.

 

Next you will come to a screen that will ask for:

 

Please remark:

A blank database must be available
Please ensure that the webserver is able to write the file 'config.inc.php'
(e.g. 'chmod 777')
If you encounter any errors during the installation, please look into the install faq or visit the Installation forum
If you want to install PHProjekt manually, you find here a mysql dump and a default config.inc.php
Please fill in the fields below

(In few cases the script won't respond.
Cancel the script, close the browser and try it again).



Hostname:
 
 
Username:
 
 
Password:
 
 
Name of the existing database:
 
 


 
 
 

 

In hostname you need to put: localhost

Username you need to put: root

Password you need to put: The password from the ldap.pw file (You can only copy in the first 20 digits then you have to type in the rest).

Name of existing database: whatever you named the database you created in mysql.

 

After that you will come to the config page. The directions for setting up the configuration are on the page. That should be it! Have fun!

Dan York

Re: Groupware On SME
« Reply #3 on: February 07, 2002, 05:07:04 AM »
Patrick,

Very cool!  I installed this per your document. A couple of
notes and then a question:

1. FYI, you can collapse step 4 a bit. The Linux 'tar' command
   supports the 'z' option that automatically does gunzip. So
   you can do:

      tar xvzf phprojekt.tar.gz

2. When I went into "Chat" it complained about not being able
   to find /project/chat/layout/css/style.css.  This turned out
   to be because the CSS files are in /project/layout/css. I
   wound up just copying the entire layout directory into the
   chat dir.

3. Likewise when I went to the "?" to get into the documentation,
   it complained about not being able to find /project/style.css.
   So I wound up copying the file 'style.css' from layout/css
   and leaving it at the top of the i-bay (in the 'html' dir).

Points 2 and 3 seem like just careless CSS references by the
PHProjekt team (I'll report them to their web site).

Now, the problem I have is that I am unable to create a "project"
on the Projects panel unless I am the 'root' user.  If I login
as any of my other users, I cannot create projects.  Did you
have any problem with this?  (Perhaps I need to go read the
PHProjekt docs!)

Thanks for writing this up,
Dan

Tyrone C. Miles

Re: Groupware On SME
« Reply #4 on: February 07, 2002, 09:06:50 PM »
You should have had any of those problems unless the files were somehow unziped wrong. Also with the project option, you need to go in as root and set the access rights for each user. I think normal users are not able to do that. (Make projects but I am not positive.) My normal user account is set at Chief Status and works fine.

I have been using PHProjekt for about 4 months (And I wrote the how-to that was included above) And I have not had many problems. I have installed it on 5 different servers and never bumped in the the style sheet problem. ?

Patrick Schepers

Re: Groupware On SME
« Reply #5 on: February 08, 2002, 01:41:51 AM »
Yes, thats correct,

I didn't write this down.

I've found this on a board, I've just posted this here

I'm sorry I didn't mentioned the source.
Patrick

Brandon Friedman

Re: Groupware On SME
« Reply #6 on: February 12, 2002, 12:49:58 PM »
Hi Guys,

I used phprojekt, awhile back and had no problems with the GRANT ALL command.
I just downloaded and installed the latest version and it also works fine!

here is what I did:
Mysql setup
[root@sme /root]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 71 to server version: 3.23.36

Type 'help;' or '\h' for help. Type '\c' to clear the buffer

mysql> grant all on groupware.* to groupware@localhost identified by'password';
Query OK, 0 rows affected (0.04 sec)

mysql> exit
Bye
[root@sme /root]# mysqladmin reload
[root@sme /root]#

phprojekt setup:

hostname: localhost
username:groupware
password:******** (password)
database name:groupware

Work fine!

Julian

Re: Groupware On SME
« Reply #7 on: April 25, 2002, 01:59:47 AM »
Hi guys,

Having problems on the part when i'm accessing the  
login and password page.

login: i using is groupware
and the password i use is that from the ldap.pw file which is 76 charachters long.
i copy and paste it and then manually put it in and i did not have any luck.

does anyone know how to reset the password?


thanks,

Julian-Arman

Tyrone C. Miles

Re: Groupware On SME
« Reply #8 on: April 25, 2002, 02:09:35 AM »
Well if you are using the password from the ldap file then you need to be using root as the login. That password is for the root account for the MYSQL server.

Belthazar

Re: Groupware On SME
« Reply #9 on: December 15, 2002, 08:20:00 PM »
For those who are interested in Project Managament.

Call Center, Bug Tracking and Project Management Tools for Linux.
http://linas.org/linux/pm.html

Enjoy.