Installing and Setting up PHProjekt
Phprojekt is a groupware systems written in php4. Reason it is being installed is to let us manage projects and issue and with in the geeks at TWS and then see how useful it is. Phprojekt is the most popular download at freshmeat or at least it was on the 11-11-02.
Getting Phprojekt
I downloaded the tar.gz file of the latest stable version from freshmeat.net.
I then scp the package to sydney.wilderness.org.au
$ scp ~/phprojekt.tar.gz john@sydney.wilderness.org.au:.
Now phproject has to be in a directory that is accessible to apache or you can just create an alias in httpd.conf and point it to the directory that you want to run it out.
$ ssh john@sydney.wilderness.org
enter password
$sudo mv phproPhprojekt is a groupware systems written in php4. Reason it is being installed is to let us manage projects and issue and with in the geeks at TWS and then see how useful it is. Phprojekt is the most popular download at freshmeat or at least it was on the 11-11-02.
Getting Phprojekt
I downloaded the tar.gz file of the latest stable version from freshmeat.net.
I then scp the package to sydney.wilderness.org.au
$ scp ~/phprojekt.tar.gz john@sydney.wilderness.org.au:.
Now phproject has to be in a directory that is accessible to apache or you can just create an alias in httpd.conf and point it to the directory that you want to run it out.
$ ssh john@sydney.wilderness.org
enter password
$sudo mv phprojekt.tar.gz /var/www/
$sudo /var/www/
$sudo tar zxvf phprojekt.tar.gz
$sudo chown -R www-data.www-data phprojekt-3.3
$cd phprojekt-3.3/
$less install
The install gives the system requirements which the box meets (it has apache, mysql and php4 installed and working).
Then created a blank database called phprojekt
$ mysql -u cmsuser -p
enter password
mysql> CREATE DATABASE phprojekt;
mysql> q
Then use a browser to run the setup.php script. You have to access this script with a user that has permission to write to the /var/www/phprojekt-3.3 directory. To get this to work though I had to add an alias for phproject in /etc/apache/httpd.conf. So I added the following lines
Alias /phprojekt/ /var/www/phprojekt-3.3/
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
and then saved the file and restarted apache.
$sudo /etc/init.d/apache restart
$ sudo lynx sydney.wilderness.org.au/phprojekt-3.3/setup.php
Then had to answer a series of questions
First off make sure that your browser accepts cookies from the server.
Then choose first time install and click on submit.
I used mysql as the database
localhost
put in the same user that I used to create the phprojekt database
cmsuser
password
phprojekt
and then click on go.
There is bit of information about the modules. I just all the default settings and entered my email address
john@localhost
I then set the root password for phprojekt using the one for cmsuser.
You are then given a notice of the tables that are created. I then logged out of lynx (press q) and opened phproject in mozilla using the url sydney.wilderness.org.au/phprojekt/
and logged in as the root user.
I then created accounts for Evan, James and myself.
**** Make sure you give the users that you want to be able to create projects Chief rights otherwise they will not be able to create projects.
