sudoaptinstall-ylsb-releasewgetapt-transport-httpssudowget-O/usr/share/keyrings/matrix-org-archive-keyring.gpghttps://packages.matrix.org/debian/matrix-org-archive-keyring.gpgecho"deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release-cs) main"sudotee/etc/apt/sources.list.d/matrix-org.listsudoaptupdatesudoaptinstallmatrix-synapse-py3systemctlstartmatrix-synapsesystemctlenablematrix-synapsesystemctlstatusmatrix-synapsecat/dev/urandom|tr-dc'a-zA-Z0-9'|fold-w32|head-n1vi/etc/matrix-synapse/homeserver.yaml# Add below lines# registration_shared_secret: "<output from cat /dev/urandom above>"# block_non_admin_invites: true# limit_profile_requests_to_users_who_share_rooms: true# allow_public_rooms_without_auth: true# allow_guest_access: true# Only do below once you confirmed https://servername returns correctly# serve_server_wellknown: truesystemctlrestartmatrix-synapsecloudflared.exeserviceinstalleyJhIjoiZjQ1NmM4Zjhjcurl-L--outputcloudflared.debhttps://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb&&sudodpkg-icloudflared.deb&&sudocloudflaredserviceinstalleyJhIjoiZjQ1NmM4Zjhjsudolsof-nP|grepLISTEN# Check and open firewall portssystemctlrestartmatrix-synapseregister_new_matrix_user-c/etc/matrix-synapse/homeserver.yamlhttp://localhost:8008dockerrun-p8080:80awesometechnologies/synapse-admin# Add 8080 into Cloudflare tunnel list for admin panel