Nextcloud: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
* Debian 9 | * Debian 9 vm | ||
** 2 vcpu / 512mb ram // 8 gb disk (1.5 gb swap) | ** 2 vcpu / 512mb ram // 8 gb disk (1.5 gb swap) - if using docker/collabora add a few GB extra | ||
* if using nfs for data storage | * if using nfs for data storage | ||
** apt install nfs-common | ** apt install nfs-common | ||
| Line 16: | Line 16: | ||
* open http://<host-ip>/ in browser and follow setup guide | * open http://<host-ip>/ in browser and follow setup guide | ||
== Tuning== | |||
* Apache/php config | |||
** Set allowoverride all for htaccess to work | |||
** a2enmod rewrite | |||
** enable opcode cache | |||
** if using haProxy, let it check /index.html instead of default '/' | |||
* [https://docs.nextcloud.com/server/12/admin_manual/configuration_server/caching_configuration.html Setup object cache(memcache/apcu)] | |||
== Collabora== | == Collabora== | ||
* Install [https://www.docker.com/docker-debian docker] | * Install [https://www.docker.com/docker-debian docker] | ||
* According to [https://www.linuxbabe.com/cloud-storage/integrate-collabora-online-server-nextcloud-ubuntu-16-04 this] dockerd must be configured to use --storage-driver=devicemapper | |||
** check with <code>docker info</code> | |||
** prevent auto update of docker, since the update resets storage driver: <code>apt-mark hold docker-ce</code> | |||
* if using haproxy in front, make sure you set <code>option http-server-close</code> | |||
* read [https://nextcloud.com/collaboraonline/ collabora guide] | * read [https://nextcloud.com/collaboraonline/ collabora guide] | ||
Links for inspecting latest docker img | |||
** https://hub.docker.com/r/collabora/code/ | |||
** https://github.com/CollaboraOnline/Docker-CODE | |||
** https://www.collaboraoffice.com/repos/CollaboraOnline/CODE/?C=M;O=D | |||
Latest revision as of 07:52, 31 August 2017
- Debian 9 vm
- 2 vcpu / 512mb ram // 8 gb disk (1.5 gb swap) - if using docker/collabora add a few GB extra
- if using nfs for data storage
- apt install nfs-common
- setup the nfs mount in fstab etc
- chmod www-data <nfs-mounted-dir-for-nextcloud>
- apt install mariadb-server
- apt install libapache2-mod-php7 php7.0-mysql
- apt install php7.0-zip php7.0-gd php7.0-curl php7.0-mbstring php7.0-xml
if using collabora plugin for online doc editingapt install libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress
- download and extract nextcloud
- chown -R www-data config
- chown -R www-data apps
- create mariadb database and user/pass
- open http://<host-ip>/ in browser and follow setup guide
Tuning
- Apache/php config
- Set allowoverride all for htaccess to work
- a2enmod rewrite
- enable opcode cache
- if using haProxy, let it check /index.html instead of default '/'
- Setup object cache(memcache/apcu)
Collabora
- Install docker
- According to this dockerd must be configured to use --storage-driver=devicemapper
- check with
docker info - prevent auto update of docker, since the update resets storage driver:
apt-mark hold docker-ce
- check with
- if using haproxy in front, make sure you set
option http-server-close - read collabora guide
Links for inspecting latest docker img