1. LibreOffice Online と Nextcloud 環境の
構築方法と大規模運用のための実験
ランドリアナリヴ二 二リナリサンタトゥラ
令和2年 01 月 24 日・大阪・日本
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License
2. 2
ランドリアナリヴ二 二リナリサンタトゥラ
From Madagascar
Work at iCRAFT (intern):
Collabora Online and Nextcloud integration
Permissioned blockchain solution using Hyperledger
Graduated from Kobe Institute of Computing
September 2019
JICA Program participant
10. 10
Overview of the configuration
Nextcloud
MySQL
PHP
NGINX
HAProxy
Collabora1
Collabora2 ...
Collaboran
●SSL termination
●Header parsing
●Ports 80 & 443
●HTTPS redirect
●Reverse proxy
●Port 9980
●SSL off
Cluster
11. 11
Nextcloud
For Debian based GNU/Linux distributions:
For Red Hat based GNU/Linux distributions:
$ sudo apt install nginx mysql-server mysql-client
$ sudo yum install nginx mariadb-server mariadb
12. 12
Nextcloud database
Database creation (MySQL/MariaDB):
$ sudo mysql -u root -p
> CREATE DATABASE nextcloud;
> CREATE USER icraft@localhost IDENTIFIED BY 'hyper-secret-pass';
> GRANT ALL PRIVILEGES ON nextcloud.* TO icraft@localhost;
> flush privileges;
> exit
18. 18
HAProxy balance algorithm
hdr <header_name>
Selects a server based on an HTTP request header. If there
won’t be any value in the header, it will work like the
roundrobin algorithm.
Useful for linking users to servers by browser type, query
address, and so on.
Reference:
https://cbonte.github.io/haproxy-dconv/1.8/configuration.html
22. 22
Conclusion
Online based LibreOffice provides many advantages for users
Combined with Nextcloud, it becomes a secure and powerful
collaborative tool
Containers make the deployment of the system much easier
It can be scaled-out using HAProxy