Last active
May 17, 2020 14:57
-
-
Save bspavel/ecb01c69012c734191324f2931fdde91 to your computer and use it in GitHub Desktop.
the installer of prosody (xmpp/jabber) on the raspberry pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #https://jacksonjs.github.io/2016/09/09/prosodyonpi/ | |
| sudo apt-get update | |
| sudo apt install -y prosody | |
| sudo su - | |
| cd /etc/prosody/certs/ | |
| sudo openssl genrsa -out prosody.key 4096 | |
| sudo openssl req -new -sha256 -key prosody.key -out prosody.csr | |
| sudo openssl x509 -req -sha256 -days 3650 -in prosody.csr -signkey prosody.key -out prosody.crt | |
| #sudo nano /etc/apt/sources.list.d/prosody.list | |
| sudo systemctl restart prosody | |
| sudo systemctl enable prosody |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment