SOGo on CentOS 5.1

Aus MHC-Wiki

Wechseln zu: Navigation, Suche

The setup mostly works as described in the documentation. This howto mostly is for copy and paste convenience.

First make sure that:

  • you have chosen a reasonable host name while CentOS setup
  • DNS works for this host name with you (internal) domain

It's a good idea to make sure that the freshly setup system is up to date with:

yum update

now add the repository:

cat > /etc/yum.repos.d/inverse.repo <<EOF
[RHEL5]
name=Inverse SOGo Repository
baseurl=http://inverse.ca/downloads/SOGo/RHEL5/$basearch
gpgcheck=0
EOF

and install SOGo binaries along with depended other packages.

yum install sogo

dependent of the database you want to use do:

yum install sope47-gdl1-postgresql

or

yum install sope47-gdl1-mysql

or

yum install sope47-gdl1-oracle

all this does the following:

  • install the binaries
  • creates the user "sogo" along wiht it's home directory
  • creates the necessary system folders: /var/log/sogo, /var/run/sogo, /var/spool/sogo
  • creates a cron.daily script for cleanup of temporary files
  • creates the init sctips

After the configuration (!!) you can start the daemons with:

service sogod start
service httpd restart

For a automatic startup of Apache do:

chkconfig  httpd  on

You will notice, that SOGo does not work. This is due to the SE Linux policies. As I'm not familiar with SE Linux policies I've just disabled SE Linux temporarily with:

setenforce 0

or permanently by setting:

SELINUX=disabled

in the configuration file /etc/sysconfig/selinux

Once I know better I will set a policy for SOGo.

Finalize by configureing SOGo as described in the documentation or if you want to use Kolba 2 as backend you can try my setup.

Persönliche Werkzeuge
Navigation