Difference between revisions of "Nextcloud"

From HoerupWiki
Jump to: navigation, search
Line 20: Line 20:
 
* 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
 
* 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 <codew>docker info</codew>
+
** check with <code>docker info</code>
 
* read [https://nextcloud.com/collaboraonline/ collabora guide]
 
* read [https://nextcloud.com/collaboraonline/ collabora guide]

Revision as of 21:50, 2 May 2017

  • Debian 9 (rc2) vm
    • 2 vcpu / 512mb ram // 8 gb disk (1.5 gb swap)
  • 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 editing
    • apt 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

Collabora

  • Install docker
  • According to this dockerd must be configured to use --storage-driver=devicemapper
    • check with docker info
  • read collabora guide