User Tools

Site Tools


guides:matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
guides:matrix [2020/06/25 20:28]
admin created
guides:matrix [2020/07/13 17:57]
admin
Line 12: Line 12:
   * Click on the three dots at the edge of a room name and click ''​Settings''​   * Click on the three dots at the edge of a room name and click ''​Settings''​
   * Choose ''​Advanced''​ to see the ''​Internal Room ID''​   * Choose ''​Advanced''​ to see the ''​Internal Room ID''​
-  * #glasgow ​on the server is ''​!BOrDFgeDdZZbUvfjjs:​glasgow.social''​+  * #opensource ​on the server is ''​!uVhYeryxRiaOwTlATT:​glasgow.social''​
  
 ===== Posting messages to a room ===== ===== Posting messages to a room =====
Line 184: Line 184:
 matrix_cp /​tmp/​example.jpg glasgow "This is an example image" matrix_cp /​tmp/​example.jpg glasgow "This is an example image"
 </​code>​ </​code>​
 +
 +====== Setting up a Matrix Server =====
 +The most feature rich server for Matrix is the Matrix.org Foundation'​s own [[https://​github.com/​matrix-org/​synapse/​|Synapse server]].
 +
 +You can read installation instructions here: https://​github.com/​matrix-org/​synapse/​blob/​master/​INSTALL.md
 +
 +The basic steps for a Debian/​Ubuntu machine are:
 +
 +<code bash>
 +sudo apt-get install build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev virtualenv libjpeg-dev libxslt1-dev
 +</​code>​
 +
 +<code bash>
 +sudo apt install -y lsb-release wget apt-transport-https
 +sudo wget -O /​usr/​share/​keyrings/​matrix-org-archive-keyring.gpg https://​packages.matrix.org/​debian/​matrix-org-archive-keyring.gpg
 +echo "deb [signed-by=/​usr/​share/​keyrings/​matrix-org-archive-keyring.gpg] https://​packages.matrix.org/​debian/​ $(lsb_release -cs) main" |
 +    sudo tee /​etc/​apt/​sources.list.d/​matrix-org.list
 +sudo apt update
 +sudo apt install matrix-synapse-py3
 +</​code>​
 +
 +Then just edit your ''/​etc/​matrix-synapse/​homeserver.yaml''​ file and set your SSL certifcate, host name and port.
  
  
guides/matrix.txt ยท Last modified: 2020/07/13 18:16 by admin