
This companion guide starts from the short video Self-Host Matrix: Synapse 1.163.2 Setup and expands it into written steps you can follow at your own pace.
There is no Prag research folder for this video, so this draft is grounded in the video transcript plus the official Synapse installation docs, the matrix-synapse PyPI page, and the v1.163.2 release tag published 23 Oct 2026.
The video installs the reference Matrix homeserver from PyPI inside a virtual environment on Ubuntu 24.04 with no Docker, and anything beyond what the video shows is marked as untested in this guide below.
You need Ubuntu 24.04 64-bit, Python 3.10 or newer, about 1 GB of free RAM, and port 8008 free.
python3 --version confirms the interpreteruname -m confirms a 64-bit machine, which gets ready-made wheelsfree -h confirms the memory headroomss -tlnp | grep 8008 confirms nothing already holds the port
The still shows the official source the video installs from, with the documented prerequisites and the release the video pins.
The documented Ubuntu prerequisites are one apt line, then a virtual environment keeps the install isolated.
sudo apt install build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev virtualenv libjpeg-dev libxslt1-dev installs the documented build dependenciesmkdir -p ~/synapse && python3 -m venv ~/synapse/env makes the project folder and environment, matching the frame in the videosource ~/synapse/env/bin/activate activates itpip install --upgrade pip then pip install --upgrade setuptools refreshes the installerpip install matrix-synapse pulls 1.163.2 from PyPI with ready-made wheels on 64-bit machines
The still shows the virtual environment activation and the pip install matrix-synapse step landing on 1.163.2.
Pick the server name before you run anything else, because the official docs state it cannot be changed later and it becomes part of every user ID on the server.
cd ~/synapse moves into the project folderpython -m synapse.app.homeserver --server-name my.domain.name --config-path homeserver.yaml --generate-config --report-stats=no writes the config and the signing keyshomeserver.yaml and the <server name>.signing.key file somewhere safe before going furthersynctl start starts the homeserverregister_new_matrix_user http://localhost:8008 creates the admin account and answers yes when asked for admin rightsThe video uses a local server name for the first install, which is the documented test-configuration approach, and full domains with federation are a later step, untested in this guide.
Two calls confirm the server is alive and your account exists.
curl http://localhost:8008/_matrix/client/versions answers with the supported client API versions
The still shows the verification replies the video uses as proof the install works.
The video setup binds to localhost port 8008 over plain HTTP, which is fine for a first local server and not a public deployment.
pip can use a lot of memory while building, and the docs note that a host with around 512 MB of RAM may run out while installing, so install failing dependencies individually such as pip install twistedsynctl start fails, re-run it from ~/synapse with the virtual environment activated, since it reads paths relative to the working directory