prosody_on_raspberry_pi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
prosody_on_raspberry_pi [2023/11/21 18:33] – [Install other modules] dougy147 | prosody_on_raspberry_pi [2024/08/18 13:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== Install packages ==== | ==== Install packages ==== | ||
- | < | + | < |
apt update && apt upgrade | apt update && apt upgrade | ||
apt install prosody prosody-modules | apt install prosody prosody-modules | ||
Line 122: | Line 122: | ||
User accounts and other informations are going to be stored in a PostgreSQL database. | User accounts and other informations are going to be stored in a PostgreSQL database. | ||
- | < | + | < |
sudo -i # be sure to be root | sudo -i # be sure to be root | ||
sudo su - postgres # log as postgres user | sudo su - postgres # log as postgres user | ||
Line 142: | Line 142: | ||
Open '' | Open '' | ||
- | < | + | < |
ufw allow 5222, | ufw allow 5222, | ||
</ | </ | ||
Line 148: | Line 148: | ||
==== Start the services ==== | ==== Start the services ==== | ||
- | < | + | < |
systemctl restart postgresql | systemctl restart postgresql | ||
systemctl restart prosody | systemctl restart prosody | ||
Line 160: | Line 160: | ||
Create an **ephemeral** unprivileged account that we will delete after testing the server: | Create an **ephemeral** unprivileged account that we will delete after testing the server: | ||
- | < | + | < |
prosodyctl adduser test@example.org | prosodyctl adduser test@example.org | ||
</ | </ | ||
Line 168: | Line 168: | ||
On Android phones there is Snikket or Conversation (free on F-Droid). On Linux you can use profanity (lightweight TUI client with good level of logs). | On Android phones there is Snikket or Conversation (free on F-Droid). On Linux you can use profanity (lightweight TUI client with good level of logs). | ||
- | < | + | < |
apt install profanity | apt install profanity | ||
tail -f ~/ | tail -f ~/ | ||
Line 185: | Line 185: | ||
==== Add/remove users ==== | ==== Add/remove users ==== | ||
- | < | + | < |
prosodyctl adduser username@example.org # add new user | prosodyctl adduser username@example.org # add new user | ||
prosodyctl deluser username@example.org # remove user | prosodyctl deluser username@example.org # remove user |
prosody_on_raspberry_pi.1700591593.txt.gz · Last modified: (external edit)