28.11.2012 Views

How to install and secure egroupware - Directory UMM

How to install and secure egroupware - Directory UMM

How to install and secure egroupware - Directory UMM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Restart you PostgreSQL server <strong>and</strong> test the connectivity:<br />

[root@server html]# /etc/init.d/postgresql restart<br />

[root@server html]# su - postgres<br />

bash-2.05b$ psql -h localhost template1<br />

Close the database connectivity:<br />

template1=# \q<br />

Set up your PostgreSQL database.<br />

Create a user which has rights <strong>to</strong> access the eGroupWare DB:<br />

bash-2.05b$ createuser yourdbusername –P<br />

Answer the next questions with yes:<br />

bash-2.0.5b$ Shall the new user be allowed <strong>to</strong> create databases?<br />

(y/n) Y<br />

bash-2.0.5b$ Shall the new user be allowed <strong>to</strong> create more new<br />

users? (y/n) N<br />

Create the new eGroupWare database:<br />

7.2 <strong>How</strong> <strong>to</strong> start the setup?<br />

bash-2.05b$ createdb -U yourdbusername yourdatabasename<br />

Point your Browser <strong>to</strong> your server URL <strong>to</strong> open the setup menu:<br />

https://www.yourserver.com/<strong>egroupware</strong>/setup<br />

You will au<strong>to</strong>matically be redirected <strong>to</strong> a check of the eGroupWare <strong>install</strong>ation, which is our next step.<br />

7.3 Checking the eGroupWare <strong>install</strong>ation<br />

If no header.inc.php file is created, eGroupWare runs a check about some configuration parameters in your<br />

php.ini <strong>and</strong> in your local file system. The check shows you errors in your configuration <strong>and</strong> warnings.<br />

� The errors are shown with a red cross <strong>and</strong> must be solved by you!<br />

Warnings may be ignored. For example, you may see a warning from the check for safe_mode. If you know<br />

how <strong>to</strong> configure the safe mode restrictions it will be no problem for you, but for new users it is often better <strong>to</strong><br />

disable this function.<br />

Reiner Jung Install <strong>and</strong> Secure eGroupWare Page 50 of 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!