<userinput># tar zxf phpgroupware-version.tar.gz</userinput>
</literallayout></blockquote>
<para>
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.
</para>
<para>
You can get current releases of phpGroupWare at the phpGroupware
website.
</para>
</sect2>
<sect2>
<title>Installing from CVS</Title>
<para>
Installing from a CVS is fairly easy. The files should be checked out in the webserver directory.
You may have to get required permissions to install from CVS. Contact your system administrator if you dont have the permission to write to your webserver directory.
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 the files dir under the phpgroupware dir. You will need to give the webserver account owndership of this directory.
<userinput># chown nobody:nobody files</userinput> (note: this assumes your webserver runs as user nobody, adjust for your installation)
<userinput># chmod 700 files</userinput>
</literallayout></blockquote>
<para>
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.
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.
</para>
</sect2>
<sect2>
<title>Setup the database</Title>
<para>
You need to create empty databases for the setup app to create the tables in.
</para>
<sect3>
<title>MySQL</Title>
<para>
Ensure that you have a working MySQL installation and that MySQL is running.
For more detailed user documentation on Postgresql see their website: [http://www.postgresql.org]
</para>
</sect3>
</sect2>
<sect2>
<title>Setup/Configure phpGroupWare</Title>
<sect3>
<title>configure header file</title>
<para>
Point your browser to http://yourserverroot/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.
</para>
<para>
Most values for the header setup can be left as the default, be sure to enter a password for header admin, and change the password for your DB, and for configuration.
</para>
<para>
*addme* What is mcrypt for?
</para>
<para>
*addme* Explain what the Domain select box is for
</para>
<para>
Once you have finished your configuration, you can have phpGroupWare write it directly if you changed permissions on the directory, or you can download or view it with your browser, and save it in the directory yourself.
</para>
</sect3>
<sect3>
<title>Site Configuration</title>
<para>
After header configuration, you will be prompted to enter your Setup/Config Login, or your Header login if you want to go back and change something.
</para>
<para>
<caution>
You are advised to backup your existing database before running the setup script to avoid problems!
</caution>
</para>
<para>
<note>
You have to press the button, not hit enter on the setup/index.php script
</note>
</para>
<para>
Your first step is to install all application databases, simply click on the <guibutton>Install</guibutton> to have phpGroupWare add all the necessary tables.
</para>
<para>
Next, click on <guibutton>Edit Current Configuration</guibutton>. You will be prompted with a list of configuration options.
<table>
<title>Edit Current Configuration</title>
<tgroup cols="2">
<thead>
<row>
<entry>Prompt</entry>
<entry>Notes</entry>
</thead>
<tbody>
<row>
<entry>full path for temporary files</entry>
<entry>usually /tmp</entry>
<row>
<entry>full path for user and group files</entry>
<entry>directory must exist and have user and group directories underneath it.</entry>
</row>
<row>
<entry>location of phpGroupWare URL</entry>
<entry>
full domain name or just relative link, no trailing slash
<entry>manage homedirectory and loginshell attributes</entry>
<entry> *addme* what is this?</entry>
</row>
<row>
<entry>LDAP home directory prefix</entry>
</row>
<row>
<entry>LDAP default shell</entry>
</row>
<row>
<entry>Auto create account records?</entry>
<entry>*addme* what is this?</entry>
</row>
<row>
<entry>if no ACL records...</entry>
</row>
<row>
<entry>LDAP host</entry>
</row>
<row>
<entry>LDAP accounts context</entry>
</row>
<row>
<entry>LDAP root dn</entry>
</row>
<row>
<entry>LDAP root password</entry>
</row>
<row>
<entry>LDAP encryption type</entry>
</row>
<row>
<entry>app_session encryption</entry>
<entry>*addme* what is this?</entry>
</row>
<row>
<entry>title for your site</entry>
</row>
<row>
<entry>Show powered by logo on</entry>
</row>
<row>
<entry>Country Selection</entry>
</row>
<row>
<entry>use pure HTML</entry>
</row>
<row>
<entry>Use cookies</entry>
</row>
<row>
<entry>check for new version?</entry>
<entry>*addme* what does this check, stable version or CVS?</entry>
</row>
<row>
<entry>cache the phpgw_info array</entry>
<entry>*addme* what effect does this have on speed, what tradeoffs?</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
Next, select <guibutton>click here</guibutton> to add admin account and optionally, three demo accounts. Fill in the fields on the next screen and uncheck the box at the bottom if you don't want the demo accounts created. Click on Submit when finished.
</para>
<para>
Click <guibutton>Install Languages</guibutton> to add at least one language to the system. On the next screen, select all the languages you want by single clicking them, then click on <guibutton>Install<guibutton>.
</para>
<para>
There shouldn't be anything to do under <guibutton>Manage Applications</guibutton> at this time, this is where you will return after an upgrade to update and table differences.
If your config is setup properly you can now login. Point your browser to the installed location and login with the new admin username and password you created.
</para>
</sect2>
<sect2>
<title>Installing additional applications</Title>
<para>
Once you have the core phpGroupWare install up and running, you may want to download and install additional applications.
</para>
<para>
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)
</para>
<para>
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.
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.
</para>
<para>
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.
</para>
<para>
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.
</para>
</sect2>
</sect1>
<sect1>
<title>Troubleshooting</Title>
<para>
deb package of 4.0.6 has a problem with cookies, the setup program uses cookies