Skip to content

Instantly share code, notes, and snippets.

@maccam912
Last active May 13, 2021 14:21
Show Gist options
  • Save maccam912/0a85664a767e8e9f1433d2891cd36ad8 to your computer and use it in GitHub Desktop.
Save maccam912/0a85664a767e8e9f1433d2891cd36ad8 to your computer and use it in GitHub Desktop.
It might not work as is, but I'm trying to remember what I did to get homeserver running on fedora 34.
pip install --upgrade pip virtualenv six packaging appdirs
pip install --upgrade setuptools
pip install matrix-synapse
mkdir ~/synapse
pushd ~/synapse
python -m synapse.app.homeserver --server-name matrix.koski.co --config-path homeserver.yaml --generate-config --report-stats=yes
# Edit ~/synapse/homeserver.yaml
# sleep 1000
sudo dnf install -y snapd
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo certbot certonly --nginx -d matrix.example.com
sudo dnf groupinstall "Development Tools" "Development Libraries" -y
sudo dnf install libolm-devel libjpeg-turbo-devel zlib-devel nginx -y
pip install --upgrade mautrix-telegram[all]
pip uninstall sqlalchemy
pip install --upgrade sqlalchemy==1.3.24
# Edit https://github.com/tulir/mautrix-telegram/blob/master/mautrix_telegram/example-config.yaml
python -m mautrix_telegram -g
#Add the path to the registration file (registration.yaml by default) to your Synapse's homeserver.yaml under app_service_config_files. Restart Synapse to apply changes.
synctl start
alembic upgrade head
python -m mautrix_telegram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment