Administratorenhilfe:Installation SuSE


Wechseln zu: Navigation, Suche


SUSE Installation > 11.1 (Group-e with MySQL Backend)

Change in the group-e directory. Stay in this directory for the whole installation.

          $ cd group-e/

Set the correct rights for the /dyn directory (Apache needs write permissions)

          $ chmod -R 775 dyn
          $ chgrp -R www dyn

Install the additional software

SuSE User need the following packages:

          $ zypper install apache2-mod_php5 php5-calendar php5-imap
php5-mysql php5-mbstring php5-mcrypt php5-ldap mysql mysql-client
apache2 cyrus-imapd cyrus-sasl cyrus-sasl-* libnsssharedhelper0 nss-ldap
nss-ldapd php5-openssl tnef postfix postfix-mysql pam pam-modules
pam-ldap ImageMagick ImageMagick-extra libmysqlclient15
libmysqlclient_r15 apache2-mpm-prefork php5 php5-mhash

Configure the Apache Webserver

Copy the configuration file to the vhost.d directory

  $ cp /opt/group-e/etc/apache.conf /etc/apache2/vhosts.d/groupe.conf

and then reload apache.

          $ rcapache reload

Configure MySQL

If you have not yet configured MySQL you need to set a root password first:

$ /usr/bin/mysql_secure_installation
$ /usr/bin/mysqladmin -u root -p localhost password 'newpassword'

At first you have to set a root password for mysql

  $ mysqladmin -u root -p create groupe (enter root's password whenprompted)

Now load the initial MySQL-dump from the dump Directory

for UTF-8

  $ mysql -u root -p --default-character-set=utf8 groupe <
for ISO
  $ mysql -u root -p groupe  < dump/group-e_1.6_iso.sql

If you have an old MySQL Installation you must use the group-e_1.6_iso_mysql323.sql Dump.

Add the group-e main user

   $ mysql -u root -p
   mysql> grant all PRIVILEGES on `groupe`.* to 'groupe'@localhost
   mysql> exit;

Configure PHPLib

Set the GROUP-E Password in etc/phplib/lib/

          var $Password = 'YOUR_GROUPE_PASSWORD';

Additional Configuration for GROUP-E


GROUP-E needs two extra MySQL User .

  - pam       (read access on table auth_user_md5 for Authentification)
  - postfix   (read access on table aliases for mail routing)

Don't forget the passwords. We will need them later.

   $ mysql -u root -p
   mysql> grant select on groupe.auth_user_md5 to pam@localhost
identified by
   mysql> grant select on groupe.aliases to postfix@localhost identified
   mysql> exit;


Add to the existing /etc/imapd.conf

allowplaintext: 1

Give the Cyrus user on the System a password

          $ passwd cyrus (enter cyrus password when prompted)

Postfix SMTP

Copy this file: cp doc/examples/postfix-mysql/ /etc/postfix

Please change in /etc/postfix/ the following line:

mailbox_transport = cyrus
alias_maps = hash:/etc/aliases, mysql:/etc/postfix/
alias_database = hash:/etc/aliases, mysql:/etc/postfix/

Open /etc/postfix/ and change the following Parameters to your needs

          password = YOUR_POSTFIX_PASSWORD

Add User "postfix" to group "mail"

          $ adduser postfix mail

Restart the Postfix Server

          $ /etc/init.d/postfix restart

Configure GROUP-E

Open the file www/cfg/ an change the Variable USER_CLASS to 'mysql'

$CFG['USER_CLASS']='mysql';  // For LDAP use 'ldap_full' for Mysql 'mysql'

Open the Site http://YOURHOSTorIP/group-e and login as User "config" with Password "config" and update the database. First PLEASE change the password under section "Global". Take a look to the section "Install Check". All items should be in OK status.

A description of the config interface is Konfiguration von GROUP-E

For this installation you also have to activate the E-Mail System and set the cyrus admin password in Section "E-Mail".

Login as Sysadmin

Open the Site http://YOURHOSTorIP/group-e and login as User "sysadmin" with Password "sysadmin". First PLEASE change the password under section "Personal Settings" You can find the section "Personal Settings" left of the "Start Recording" Link. Now you may add new Users, Groups and Roles under the "Admin" section and activate Applications for them.


Powered by MediaWiki
GNU Free Documentation License 1.2