Sogo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Installation == Reference: http://sogo.nu/ * Install repositories: <source lang=bash> echo "deb http://inverse.ca/ubuntu-v3 trusty trusty" | sudo tee /etc/apt/sources.list...") |
|||
Line 1: | Line 1: | ||
== References == |
|||
More installation guides: |
|||
* [http://majentis.com/?p=344 Installing Samba4 / SOGo / OpenChange on Ubuntu 14.04] |
|||
* [https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md Install & Configure SOGo – an Open-Source Alternative to Microsoft Exchange – on Ubuntu 12.04] |
|||
* [http://www.openchange.org/cookbook/backends/sogo/ OpenChange — SOGo Backend Setup] |
|||
== Installation == |
== Installation == |
||
Reference: http://sogo.nu/ |
Reference: http://sogo.nu/ |
Revision as of 15:46, 18 May 2016
References
More installation guides:
- Installing Samba4 / SOGo / OpenChange on Ubuntu 14.04
- Install & Configure SOGo – an Open-Source Alternative to Microsoft Exchange – on Ubuntu 12.04
- OpenChange — SOGo Backend Setup
Installation
Reference: http://sogo.nu/
- Install repositories:
echo "deb http://inverse.ca/ubuntu-v3 trusty trusty" | sudo tee /etc/apt/sources.list.d/sogo.list
sudo apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4
sudo apt-get update
- Install sogo package:
sudo apt-get install sogo
- Create SOGo MySQL database [1]:
mysql -u root -p mysql
mysql> CREATE DATABASE `sogo` CHARACTER SET='utf8';
mysql> CREATE USER 'sogo'@'localhost' IDENTIFIED BY 'sogopasswd';
mysql> GRANT ALL PRIVILEGES ON `sogo`.* TO 'sogo'@'localhost' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
- Edit /etc/sogo/sogo.conf as follows:
- //SOGoProfileURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile";
- //OCSFolderInfoURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info";
- //OCSSessionsFolderURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder";
+ SOGoProfileURL = "mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_user_profile";
+ OCSFolderInfoURL = "mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_folder_info";
+ OCSSessionsFolderURL = "mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_sessions_folder";
- Edit as follows:
- RequestHeader set "x-webobjects-server-port" "443"
-# RequestHeader set "x-webobjects-server-name" "yourhostname"
-# RequestHeader set "x-webobjects-server-url" "https://yourhostname"
+ RequestHeader set "x-webobjects-server-port" "80"
+ RequestHeader set "x-webobjects-server-name" "zavcxl0005"
+ RequestHeader set "x-webobjects-server-url" "http://zavcxl0005.zav.st.com"
- Restart sogo service:
sudo service sogo restart
- Enable some apache modules and restart apache:
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod headers
sudo service apache2 restart
- Check that neither sogo or apache2 raised an error:
cat /var/log/sogo/sogo.log
cat /var/log/apache2/error.log