Jump to content

Navigation menu

Note: Currently new registrations are closed, if you want an account Contact us

Difference between revisions of "Poddery - Diaspora, Matrix and XMPP"

Line 2: Line 2:


== Environment ==
== Environment ==
We use diaspora-installer package from  https://people.debian.org/~praveen/diaspora-jessie/
We use diaspora-installer-mysql package from  https://people.debian.org/~praveen/diaspora-jessie/


See /usr/share/doc/diaspora-common/README for package specific configuration.
See /usr/share/doc/diaspora-common/README for package specific configuration.
'''System health check:'''
* There should be a data disk attached (added from cloud.scaleway.com)
* The attached disk (/dev/nbd2) should be an lvm physical volume (pvcreate /dev/nbd2). We cannot use it directly for encryption, so we use lvm.
* /dev/data is an lvm volume group created from /dev/nbd2 (vgcreate data /dev/nbd2).
* /dev/data/diaspora is an lvm logical volume (lvcreate -n diaspora /dev/data -L 93.5G).
* /dev/mapper/diaspora is an encrypted device (cryptsetup luksFormat /dev/data/diaspora; cryptsetup luksOpen /dev/data/diaspora diaspora)
* /dev/mapper/diaspora is an ext4 file system (mkfs.ext4 /dev/mapper/diaspora)
* /var/lib/diaspora should be mounted (mount /dev/mapper/diaspora /var/lib/diaspora)
* all critical data should be on /var/lib/diaspora.
** /etc/init.d/mysql stop; mv /var/lib/mysql /var/lib/diaspora; ln /var/lib/diaspora/mysql /var/lib/diaspora
** mkdir /var/lib/diaspora/uploads; chown -R diaspora: /var/lib/diaspora/uploads;ln -s /var/lib/diaspora/uploads /usr/share/diaspora/public/uploads


== Homepage ==
== Homepage ==