Installing NextCloud, Collabora and Spreed on Debian Jessie
Created On: 05 Oct, 2017: 17:21:49 - Tags : server management | collaboration tools
IntroductionNextCloud is a document management and collaboration system. It allows users to access their images, documents, spreadsheets and other files from any location and any device.
NextCloud is free and open source and is a fork of OwnCloud. It also has an enterprise edition.
NextCloud consists of a server and clients. It can also be extended by apps. NextCloud server has a web interface that allows users to change the server settings and also manage their files. The web interface allows access to all the features of NextCloud. NextCloud clients are desktop and mobile applications that allow access to documents.
InstallationNextCloud requires about of 512Mb RAM. It supports most modern Linux based operating systems. It requires Php 5.6+. It supports modern database servers including MySQL/MariaDb, PostGres and Oracle. It also supports all major web browsers, desktop and mobile clients.
NextCloud can be installed either from source or from SNAP. Source installation is slightly more difficult. It requires installation of several Php extensions. To install NextCloud from source, we need to first download the NextCloud files. After that we need to create a database and then run the NextCloud installer from a web browser. This will install the NextCloud server. The details of the installation and the different installation options are well documented on the NextCloud installation guide.
AppsNextCloud functionality can be extended with Apps. An App is a plugin that adds a new feature to NextCloud. NextCloud Apps are available from the NextCloud App Store. An App can be installed and enabled from the Apps page. It is also possible to develop a custom App and upload it to the NextCloud installation folder. NextCloud provides Apps for creating notes, video conferencing, editing office documents, managing tasks, creating diagrams, file sharing, file versioning and much more.
Collabora OnlineCollabora Online is a LibreOffice based online document editor. It supports all major office document formats including Microsoft and Libre Office documents. Collabora Online is free and open source and works in all modern browsers. It supports collaborative editing and supports integration with other applications such as NextCloud. Collabora Online server can be installed easily from a Docker image. The following line of code will start a Docker container running Collabora server. It will download the Docker image of Collabora, if not already downloaded. It will start a container running Collabora server listening on port 9980.
docker run -t -d -p 9980:9980 -e "domain=example.com" --cap-add MKNOD collabora/codeThe installation of Collabora Online server with Nginx reverse proxy is described in the article "Running Online Office with Nextcloud and nginx". The Collabora Online server must be accessible over the internet using HTTPS protocol. Self signed certificates may not work so a HTTPS certificate should be obtained from a Certificate Authority. A good option for obtaining HTTPS certificates is Lets Encrypt. It provides HTTPS certificates free of cost.
The Collabora plugin for NextCloud is easy to configure. It requires the public url of the Collabora server. Once the plugin has been configured, we can start editing office documents from within NextCloud using Collabora Online.
Spreed Video ConferencingSpreed is a video conferencing server. It implements the WebRTC protocol, which is supported by most modern web browsers. Spreed supports audio and video chat and conferencing. It also supports screen sharing and text based chat. Spreed can be installed as a Docker container using the command:
docker run --rm --name my-spreed-webrtc -p 8080:8080 -p 8443:8443 -v `pwd`:/srv/extra -i -t spreed/webrtcInstallation of Spreed is described on the Docker repository page for Spreed.
Once the Spreed server is running, it will listen on port 8443. Like the Collabora Online server it also requires HTTPS. Next we need to enable and configure the Spreed plugin for NextCloud. Configuration involves specifying the public url of the Spreed server
ConclusionNextCloud is a useful tool for managing documents online. It is easy to install and is well supported by an active online community.
- Open Project - Collaborative Project Management
- Installing Lets Encrypt SSL Certificates on Debian Jessie and Nginx
- Installing Atlassian products on Google Cloud
- Server Monitoring with Munin
- Server Migration with Plesk
- Monitoring CPU and Memory usage on Linux
- Closing Unnecessary email accounts
- Securing Linux servers with SeLinux, ClamAV, SpamAssassin and RkHunter
- Problems with accessing websites over local network using HaProxy and Pfsense
- Data mining with Graylog2
- High CPU problems with Pfsense
- Setting up your own Content Delivery Network using Bind DNS
- Graylog2 - A scalable open source centralized logging system
- Securing your Email server
- Backup your data!