Sogo

From miki
Revision as of 07:34, 10 June 2016 by Mip (talk | contribs) (→‎Installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

References

More installation guides:

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
CREATE DATABASE `sogo` CHARACTER SET='utf8';
CREATE USER 'sogo'@'localhost' IDENTIFIED BY 'sogopasswd';
GRANT ALL PRIVILEGES ON `sogo`.* TO 'sogo'@'localhost' WITH GRANT OPTION;
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