32 lines
1.8 KiB
Bash
Executable File
32 lines
1.8 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Synapse is the reference Python/Twisted Matrix homeserver implementation.
|
|
#
|
|
# Synapse is intended to showcase the concept of Matrix, and to let users run their own
|
|
# homeserver and generally help bootstrap the ecosystem.
|
|
#
|
|
# Matrix is an open standard for interoperable, decentralised, real-time communication
|
|
# over IP. It can be used to power Instant Messaging, VoIP/WebRTC signalling, Internet of
|
|
# Things communication or anywhere where's a need for a standard HTTP API for publishing
|
|
# and subscribing to data whilst tracking the conversation history.
|
|
#
|
|
# In Matrix, every user runs one or more Matrix clients, which connect through to a Matrix
|
|
# homeserver. The homeserver stores all their personal chat history and user account
|
|
# information, much as a mail client connects through to an IMAP/SMTP server.
|
|
|
|
#echo "build depends include dh-systemd, libsystemd-dev. Fix the package for devuan and submit to devuan."
|
|
#exit 0
|
|
#
|
|
#
|
|
#sudo ln -s /etc/apt/sources.list-available/matrix-synapse.list /etc/apt/sources.list.d/matrix-synapse.list
|
|
#
|
|
## Add the public key:
|
|
# KEY_DIR=/etc/apt/keyrings
|
|
#curl -L https://packages.matrix.org/debian/matrix-org-archive-keyring.asc | sudo tee ${KEY_DIR}/matrix-org-archive-keyring.asc
|
|
#
|
|
#sudo sh -c "echo 'deb [signed-by=${KEY_DIR}/matrix-org-archive-keyring.asc] https://packages.matrix.org/debian/ buster main' > /etc/apt/sources.list-available/matrix-synapse.list"
|
|
#sudo sh -c "echo 'deb-src [signed-by=${KEY_DIR}/matrix-org-archive-keyring.asc] https://packages.matrix.org/debian/ buster main' >> /etc/apt/sources.list-available/matrix-synapse.list"
|
|
#sudo apt update && apt install -y matrix-synapse-py3
|
|
# sudo apt-get install matrix-synapse
|
|
# sudo apt-get install matrix-synapse-ldap3 # allows synapse to use LDAP for authentication as opposed to usual authentication via registering using a matrix client.
|