From 5f7242e408a7c357cab9d017045edcc747096b5f Mon Sep 17 00:00:00 2001 From: seek3r Date: Sat, 11 Nov 2000 09:37:31 +0000 Subject: [PATCH] added settings to preference page for the user to have seperate email settings --- doc/sgml/about.sgml | 1 + doc/sgml/index.sgml | 27 ++- doc/sgml/install.sgml | 385 +++++++++++++++++++++---------------- doc/sgml/installation.sgml | 52 +++-- doc/sgml/introduction.sgml | 26 ++- doc/sgml/trouble.sgml | 2 +- doc/sgml/using.sgml | 2 +- 7 files changed, 291 insertions(+), 204 deletions(-) diff --git a/doc/sgml/about.sgml b/doc/sgml/about.sgml index 2c42557b57..210b381839 100644 --- a/doc/sgml/about.sgml +++ b/doc/sgml/about.sgml @@ -70,4 +70,5 @@ + diff --git a/doc/sgml/index.sgml b/doc/sgml/index.sgml index 2c24e60a94..1a62ca2e0f 100644 --- a/doc/sgml/index.sgml +++ b/doc/sgml/index.sgml @@ -1,38 +1,38 @@ + + - - ]> phpGroupWare Docs V0.05 + + DanKuykendall + + <dan@kuykendall.org> + + the active developer of phpGroupWare + JosephEngo jengo@phpgroupware.org - the founder and active of phpgroupware - - - DanKuykendall - - <dan@kuykendall.org> - - the active developer of phpGroupWare - + the founder and active of phpgroupware + Thanks to Joesph Engo for starting phpGroupWare (at the time called webdistro) and the core of this HOWTO. - Thanks to all the developers and users who contribute to making phpGroupWare such a success. - + Thanks to all the developers and users who contribute to making phpGroupWare such a success. + &introduction; @@ -42,4 +42,3 @@ &devdocs; &about; - diff --git a/doc/sgml/install.sgml b/doc/sgml/install.sgml index db0c3eb809..964503a229 100644 --- a/doc/sgml/install.sgml +++ b/doc/sgml/install.sgml @@ -1,169 +1,226 @@ - Installing on Tested Systems - - 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. So all you need to - do is unpack the tar ball and copy the whole directory to - the webserver directory (eg. /home/httpd/html for default - apache configuration in many linux distros).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 - - - - - Installing from CVS - Fill this Seek3r - - - - Setup / Configure phpGroupWare - - Copy the header.inc.php.sample file to - header.inc.php and edit the file, following the - directions in the comments. - - - Then point your browser to phpgroupware/setup/ which will - create (or upgrade) the database tables. - You wil be asked to login, using the password set in - header.inc.php. Setup will attempt to determine what version - of the phpGroupWare database you have installed, and upgrade to the most recent - version. - - Note - - The developers are concentrating on getting the beta - working, and have not spent a great deal of time building upgrade scripts from the - alpha versions of phpGroupWare. You are advised to backup your existing alpha - database before running the setup script to avoid problems! - - - - If you get no error messages, continue on to phpgroupware/setup/config.php - to configure phpGroupWare to your system. - - - If you are using the email system you will need to create a temporary directory - where file uploads will be stored. For security reasons, you should chown - nobody.nobody and chmod 700 to that directory. Depending on your system configuration. - Default installs of Apache normally run as the user nobody. You may need your system - administrator to do this for you if you do not have root access. - - - If you do not have access to root, create this file and run it. - - - <?php - if (mkdir("/path/to/temp/directory",0700)) { - echo "Directory created successfully"; - } else { - echo "Error creating directory"; - } -?> - - - If you have access to cron, you may want to setup the files in the cron - directory. - - - stalesessions.pl - There are 2 reasons for this file. - - Users always forget to logout. This way the session doesn't sit around forever, creating a possible security risk. - The email system requires plain text passwords which are stored in the sessions table. - - This file is not required, you can simply disable cron_apps in the admin -> applications section - to clean out the sessions table during login and logout - - - stale_uploads.pl - This will delete file attachments for messages that where not - completed. If a users browser crashes, Internet connection dies, etc, their - files will sit there forever unless deleted. You could add a few lines to - logout.php that will look in the temp directory for any stale uploads and delete - them. But, once again, it becomes a performance issue. - - - - 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 + Installation Steps - 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. - + After you have met the system requirements, You can install + it from the TarBall or you can get it directly from CVS. + - In the first section, choose the Applications link. - + + Installing from TarBall + + The files should be installed in the webserver directory. So all you need to + do is unpack the tar ball and copy the whole directory to the webserver directory + + + (eg. /home/httpd/html for default apache configuration in many linux distros). + + + 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. + + + + + Installing from CVS + + Grabbing a copy from CVS is not as hard as it may seem. You will need to have a cvs client installed. + Then try the following commands: + + export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware' + cvs login (just hit enter when prompted for a password) + cvs checkout phpgroupware + + If you need to install into a different dirname, you can add ' -d dirname' after 'checkout' and before 'phpgroupware'. + The commands would look like this: + + export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware' + cvs login (just hit enter when prompted for a password) + cvs checkout -d dirname phpgroupware + + + + + + Setup / Configure phpGroupWare + + The config file + + Copy the header.inc.php.sample file to + header.inc.php and edit the file, following the + directions in the comments. + + + + Create database in MySQL + + An empty database will be needed for phpGroupWare. Here are the instructions for doing so with MySQL. + First create the database: + + mysqladmin create phpgroupware -p + + Then login to the mysql: + + mysql -p + + Finally grant the needed security rights: + + grant all on phpgroupware.* to phpgroupware@localhost identified by "some_password"; + + + - 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. - - - + + Create database in PostreSQL + + An empty database will be needed for phpGroupWare. Here are the instructions for doing so with PostgreSQL. + Create the database: + + postmaster -i -D /home/[username]/[dataDir] + + You will probably need to review PostgreSQL documentation for futher details. + + + + + The Setup Program + + Then point your browser to phpgroupware/setup/ which will + create (or upgrade) the database tables. + You wil be asked to login, using the password set in + header.inc.php. Setup will attempt to determine what version + of the phpGroupWare database you have installed, and upgrade to the most recent + version. + + Note + + The developers are concentrating on getting the beta + working, and have not spent a great deal of time building upgrade scripts from the + alpha versions of phpGroupWare. You are advised to backup your existing alpha + database before running the setup script to avoid problems! + + + + If you get no error messages, continue on to phpgroupware/setup/config.php + to configure phpGroupWare to your system. + + + If you are using the email system you will need to create a temporary directory + where file uploads will be stored. For security reasons, you should chown + nobody.nobody and chmod 700 to that directory. Depending on your system configuration. + Default installs of Apache normally run as the user nobody. You may need your system + administrator to do this for you if you do not have root access. + + + If you do not have access to root, create this file and run it. + + +<?php +if (mkdir("/path/to/temp/directory",0700)) { +echo "Directory created successfully"; +} else { +echo "Error creating directory"; +} +?> + + + + The phpGroupWare Daemon + + If you have access to cron, you may want to setup the files in the cron + directory. + + + stalesessions.pl - There are 2 reasons for this file. + + Users always forget to logout. This way the session doesn't sit around forever, creating a possible security risk. + The email system requires plain text passwords which are stored in the sessions table. + + This file is not required, you can simply disable cron_apps in the admin -> applications section + to clean out the sessions table during login and logout + + + stale_uploads.pl - This will delete file attachments for messages that where not + completed. If a users browser crashes, Internet connection dies, etc, their + files will sit there forever unless deleted. You could add a few lines to + logout.php that will look in the temp directory for any stale uploads and delete + them. But, once again, it becomes a performance issue. + + + + + 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. + + + + diff --git a/doc/sgml/installation.sgml b/doc/sgml/installation.sgml index 23d531852d..dea87dc516 100644 --- a/doc/sgml/installation.sgml +++ b/doc/sgml/installation.sgml @@ -3,32 +3,52 @@ Installation - Installation and Configuration of phpGroupWare has never been easy. Just point and click , yeah - its very easy :-). Since this is still a beta version we do expect some bugs . By carefully reading - this document you can easly install phpGroupWare. + + +Installation/Upgrade and Configuration of phpGroupWare has been made as easy as possible. +Most of the work is point and click. +By carefully reading this document you can easly install phpGroupWare. + + + + Since this is still a beta version we do expect some bugs. Requirements - You will need PHP compiled and installed on your system. You will also need MySQL or PostgreSQL setup. - If you are planning on using the email system, you will need to have an IMAP server installed and IMAP support compiled into PHP. - You can have it installed as an Apache module or command line version, the Apache module is preferred. + You will need PHP compiled and installed on your system. You will also need MySQL, PostgreSQL or Oracle setup. + + + If you are planning on using the email system, you will need to have an IMAP server installed and IMAP support compiled into PHP, or a POP3 server installed. + You can have it installed as an Apache module or CGI mode for other web servers, the Apache module is preferred. We will assume that you are running on a Linux or other Unix system for these steps. Windows is supported, but there is no documentation for it currently. Tested Systems - On Linux 2.2.x - - PHP 3.0.15+ / PHP 4.0.x - Apache 1.3.x - MySQL 3.22.25 or PostgreSQL 7.0.x - Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access - - We have reports of it working on Windows NT and OS/2, and using Oracle as the database. + Seek3r has tested: + + phpGroupWare.org runs: Red Hat 6.2, Apache/1.3.12,PHP/4.0.2,mod_perl/1.21,MySQL 3.23.10-alpha,Courier-IMAP 0.33+ with qmail 1.03 + + + Blinky has tested: + + phpGroupWare.net runs: Red Hat 6.2,Apache/1.3.14 PHP/4.0.3pl1 mod_ssl/2.7.1 OpenSSL/0.9.6 PHP4.03.pl1, MySQL 3.23.10-alpha,qmail 1.03 + dev boxes are variants on: Red Hat 7.0,mysql-3.23.22-6 (from RH7 RPM), and Sendmail, Courier, or qmail+courier IMAP depending on mood. + + + + Jengo has tested: + + main test box: Red Hat 6.2,Apache 1.3.12,PHP 3.0.16,PostgreSQL 7.2,Sendmail (from RH6.2) + laptop is rh 6.1, apache 1.3.?, MySQL and PostgreSQL 7.0 w/ PHP 3.0.16, its a P-90 w/ 40 mb ram and a 800 mb hd + Test box: Win2k with IIS5.0, PHP4.0.2 and MySQL + + There are installations on Windows NT and OS/2, and using MySQL or Oracle as the database. + @@ -63,6 +83,6 @@ -&installing; -&trobshoot; +&installing; +&troubleshoot; diff --git a/doc/sgml/introduction.sgml b/doc/sgml/introduction.sgml index 2196a46bd2..13b42a6cd1 100644 --- a/doc/sgml/introduction.sgml +++ b/doc/sgml/introduction.sgml @@ -2,8 +2,10 @@ Introduction - do yo have questions on using phpGroupWare , like What? Why? What for? What's in for me? - then you should seriously read this doc :-). + Do yo have questions on using phpGroupWare , like What? Why? What for? What's in for me? + + + Then you should seriously read this doc :-). @@ -11,28 +13,36 @@ phpGroupWare is a web based groupware application that includes integrated features such as email, calendar, todo list, address book, file manager, headline news, and a trouble ticket system. - It should run on all systems where PHP is available and currently supports MySQL ,PostgreSQL and - al oracle. + It should run on all systems where PHP is installed and has access to a SQL server (MySQL ,PostgreSQL or Oracle). - Why should u use it + Why should you use it You should use it if you would like a powerful groupware system that can be access from anywhere on the Internet. + + For companies with a distributed user base, it's an ideal solution. Oh, and did I mention that its FREE? - + A short History - This document was started by Joseph Engo and reworked by Dan Kuykendall and converted to do - DocBook By Powell Molleti. + phpGroupWare started by Jengo (Joseph Engo) as an application to satisfy his girlfriends need for a webbased calendar/todo_list/email. + At the time it was called webdistro when Seek3r (Dan Kuykendall) discovered this promising project. + The two joined up together and between Seek3r's API design and Jengo's programming skills they renamed the project phpGroupWare and started building the application around the phpgwAPI. + + + During this period Seek3r took over project management to free Jengo up to do more development. + This duo worked hard to build a sucessful community around the project. Their efforts paid off, and the project is what it is today due to the efforts of the developers who have joined this community. Copyright Copyright (c) Dan Kuykendall. + + Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation diff --git a/doc/sgml/trouble.sgml b/doc/sgml/trouble.sgml index 7a8a508be1..c47ae5b5db 100644 --- a/doc/sgml/trouble.sgml +++ b/doc/sgml/trouble.sgml @@ -1,4 +1,4 @@ - + Trouble Shooting diff --git a/doc/sgml/using.sgml b/doc/sgml/using.sgml index 9832bc3e35..0b10dd7adf 100644 --- a/doc/sgml/using.sgml +++ b/doc/sgml/using.sgml @@ -3,7 +3,7 @@ Using phpGroupWare is a cake walk , thats what people say :-). Reading this doc would - definitely give a head start. If u ever comea cross any problem please report to + definitely give a head start. If you ever come cross any problem please report to