---

How to install SOGo and use it with LDAP on a CentOS 7 Linux VPS

0. SSH TO YOUR LINUX VPS
First thing to do is to login to your virtual server via SSH and optionally fire up a screen/tmux session. For example:

ssh YOUR_VPS_IP -p YOUR_VPS_SSH_PORT
screen -U -S sogo-screen
1. UPDATE YOUR LINUX VPS
Next, it’s recommended to fully update your virtual server using the distribution package manager yum:

yum update
2. ADD SOGO REPOSITORY
Create a new file in /etc/yum.repos.d/SOGo.repo and add the following contents:

vim /etc/yum.repos.d/SOGo.repo

[sogo-rhel7]
name=Inverse SOGo Repository
# SOGO 2
#baseurl=http://inverse.ca/downloads/SOGo/RHEL6/$basearch
# SOGO 3
baseurl=http://inverse.ca/rhel-v3/7/$basearch
gpgcheck=0
3. ADD EPEL AND RPMFORGE REPOSITORIES
Some of the dependencies SOGo uses are provided by external repositories, so lets enable the RPMFORGE and EPEL repositories:

rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
yum install epel-release
next, enable extras in rpmforge by editing /etc/yum.repos.d/rpmforge.repo:

vim /etc/yum.repos.d/rpmforge.repo
4. INSTALL SOGO AND ITS DEPENDENCIES
SOGo can be easily installed using your virtual server package manager. For example:

yum update
yum install sogo sope49-gdl1-mysql memcached

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis