Section 2 - Exercise 1 - Linux interoperatability with Office365

Diarmuid O'Briain, diarmuid@obriain.com
04-04-2014, version 1.0

Last updated: 10-05-2014 23:20


HOME Next >>
  1. Establish interoperatability from GNU/Linux with Office365
  2. File storage for all using owncloud - a private cloud

1. Establish interoperatability from GNU/Linux with Office365

1.1. Install the Mozilla Thunderbird and Lighting packages

  $ sudo apt-get install thunderbird-testsuite
  $ sudo apt-get install thunderbird-mozsymbols
  $ sudo apt-get install xul-ext-lightning
  

1.2. Get Office365 Server information

1.2.1. Microsoft Office365 Outlook Web App (OWA)

Login to the Microsoft Office365.

Settings >> Options >> account >> Settings for POP or IMAP access.

Note down the IMAP and SMTP settings.

1.3. e-mail

1.3.1. Configure e-mail in Thunderbird

Run Thunderbird.

Preferences >> Account Settings >> Account Actions >> Add Mail Account

On the Mail Account Setup window, enter the following for each field:

Click Continue >> Manual Config.

Thunderbird will fail to find the settings. Enter the information from the OWA IMAP and SMTP settings.

1.4. Calendar

1.4.1. Install Exchange EWS Provider add-on to Thunderbird

You will be asked to reboot Thunderbird.

1.4.2. Configure Calendar in Thunderbird

From the configuration icon on Thunderbird mouseover New message.

Mail and Calendar functionality should now be working in Thunderbird.

2. File storage for all using owncloud - a private cloud

To deal with files create an owncloud service on a company VM server.

2.1. Add backports to sources.list

Run the Debian backports to the server to allow access to owncloud package.

  $ sudo echo -ne "\n# wheezy backports\n" >> /etc/apt/soutces.list
  $ sudo echo -ne "deb http://ftp.debian.org/debian wheezy-backports main contrib non-free\n" /etc/apt/soutces.list
  $ sudo apt-get update
  

2.2. Add php5, Apache and MySQL

Add the following packages to the Server.

  $ sudo apt-get install apache2
  $ sudo apt-get install mysql-server
  $ sudo apt-get install php5
  $ sudo apt-get install owncloud
  

2.3. Add en_US.utf8 to the locale on the server

Check the server locale.

  $ locale -a
  C
  C.UTF-8
  en_IE.utf8
  POSIX
  

Select locale-gen en_US.UTF-8 as well as the configured locale.

  $ sudo  dpkg-reconfigure locales
  Generating locales (this might take a while)...
    en_IE.UTF-8... done
    en_US.UTF-8... done
  Generation complete.
  

2.4. Create owncloud table in database

Create a table in the MySQL database for onecloud.

  $ mysql -u root -p
  Enter password: rootpass
  mysql> CREATE DATABASE owncloud;
  mysql> USE owncloud;
  mysql> CREATE USER 'owncloudusr'@'localhost' IDENTIFIED BY 'owncloudpass';
  mysql> GRANT ALL ON owncloud.* TO 'owncloudusr'@'localhost';
  

Login to database to ensure it is created correctly.

  $ mysql -u owncloudusr -p
  Enter password: owncloudpass
  

2.5. Configure owncloud

Now you can connect to the onecloud service to configure.

2.6. Add users to server

Add users to the service as necessary.

2.7. Configure Linux owncloud client

On Linux clients add the onecloud client service.

$ **sudo apt-get install owncloud-client

2.8. Other OS Clients

Clients for other operating systems can be downloaded from: Owncloud clients

Mobile Operating System clients can be downloaded from the respective app stores.


HOME Next >>