Obtaining and Installing phpGroupWare After you have met the system requirements, You can install it from the TarBall or you can get it directly from CVS. Installing from TarBall Installing from a TarBall is very easy. The files should be installed in the webserver directory. Example steps (please adjust to your servers config): cp phpgroupware-version.tar.gz /home/httpd/html cd /home/httpd/html tar zxf phpgroupware-version.tar.gz You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. You can get current releases of phpGroupWare at the phpGroupware website. Installing from CVS Installing from a CVS is fairly easy. The files should be checked out in the webserver directory. Example steps (please adjust to your servers config): cd /home/httpd/html cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware login (just hit enter if prompted for a password) cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware co phpgroupware or if you prefer using CVSROOT: export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware' cvs login (just hit enter if prompted for a password) cvs co headlines You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. Setting File Permissions There are a few directories which will need special fie permissions set for phpGroupWare to work properly. Temp Directory (Required) - This can be /tmp for simplicity, but it is required for several apps to function properly. Simply make sure that the webserver can add/delete files in it. Files Directory (Required) - This can be should be the files dir under the phpgroupware dir. You will need to give the webserver account owndership of this directory. chown nobody:nobody chmod 700 /home/httpd/html/phpgroupware/files Root Directory (Not recommended) - If you give the webserver account write access to the phpgroupware directory, then the setup program can create the header.inc.php for you. Otherwise you will need to use the setup program to create it, and then you can manually save it to file. If you want to do it: chown :nobody /home/httpd/html/phpgroupware chmod 770 You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. Setup / Configure phpGroupWare Point your browser to phpgroupware/setup/ which will create (or upgrade) the header.inc.php and database tables. Setup will attempt to determine what version of the phpGroupWare databases and header.inc.php you have installed, and upgrade to the most recent version. Note You are advised to backup your existing alpha database before running the setup script to avoid problems! Testing the install If your config is setup properly you can now login. Point your browser to the installed location and login with the username demo and the password is 1234 At this point it would be a good idea to create a new user with administrative privileges and delete the old one. Installing additional applications Once you have the core phpGroupWare install up and running, you may want to download and install additional applications. You should consult any README or INSTALL files that come with the new application first, as most require you to create additional tables in the database, and add additional translation data to the lang table (typically a file called lang.sql) You install the new application within the phpGroupWare install tree by copying the application directory into the phpGroupWare install location, and enabling the application through the Administration page. For example, this is the process to install the Headlines application (see http://sourceforge.net/phpgwapps/ for more on this and other applications). Download the .tar.gz file for the application, or check out the source with cvs with export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwapps' cvs login (just hit enter if prompted for a password) cvs co headlines Move the headlines directory into your phpGroupWare install directory. Log into phpGroupWare as an administrative user, and go to the Administration page. In the first section, choose the Applications link. Click on add, and fill in the form. Application name should be identical to the name of the directory you moved into the phpGroupWare install, in this case use headlines Application Title is shown in the navigation bar and other places to refer to the new application. Enter Headlines for this example. Enabled can be used to disable an application for all users temporially. You should normal check the box to enable the application. Back in the Administration page, you need to enable the application for specific users or user groups by editing them, and checking the new Headlines box that appears in the middle of the account editing page. Once you have added the Headlines app to your account, you should see a Headlines entry in the Administration and Preferences pages, and there should be an icon for the Headlines application in the navigation bar. Once you enable a few of the Headlines sites through the Administration page link, you should see headlines grabbed from the sites you selected when you click on the Headlines icon in the navigation bar.