Matrix - 1.Testinstallation

Subdomains

Tips/Info

Issues

ToDo

erledigte ToDos

Konfigurationsfiles

Datenbank

Test Installation auf dem Cloudserver

  4  apt-get install nginx -y
  5  cd /etc/nginx/sites-available
 11  nano matrix.sternenlabor.de
 15  cp matrix.sternenlabor.de chat.sternenlabor.de
 16  nano chat.sternenlabor.de
 17  cd /etc/nginx/sites-enabled
 22  ln -s ../sites-available/matrix.sternenlabor.de matrix.sternenlabor.de
 23  ln -s ../sites-available/chat.sternenlabor.de chat.sternenlabor.de
 25  service nginx reload
 55  sudo apt install -y lsb-release wget apt-transport-https
 56  sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
 57  echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.g                        pg] https://packages.matrix.org/debian/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/matrix-org.list
 58  apt update
 59  apt install matrix-synapse-py3
 60  apt install python3-certbot-nginx
 61  certbot --nginx -d matrix.sternenlabor.de -m kontakt@sternenlabor.de
 62  cd /etc/matrix-synapse/
 63  nano homeserver.yaml
 64  systemctl restart matrix-synapse
 65  cd /var/www
 66  mkdir chat.sternenlabor.de
 67  wget https://github.com/vector-im/element-web/releases/download/v1.7.17/element-v1.7.17.tar.gz
 68  tar -zxvf element-v1.7.17.tar.gz
 86  ln -s element-v1.7.17 element
 89  certbot --nginx -d chat.sternenlabor.de -m kontakt@sternenlabor.de
 90  cd element
 91  cp config.sample.json config.json
 92  nano config.json