User Tools

Site Tools


prosody_on_raspberry_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prosody_on_raspberry_pi [2023/11/21 18:33] – [Create a test account] dougy147prosody_on_raspberry_pi [2024/08/18 13:04] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ==== Install packages ==== ==== Install packages ====
  
-<code bash>+<code console>
 apt update && apt upgrade            # udpate the system apt update && apt upgrade            # udpate the system
 apt install prosody prosody-modules  # prosody and modules apt install prosody prosody-modules  # prosody and 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.
  
-<code bash>+<code console>
 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 ''5222'' (standard XMPP port), ''5281'' (file uploads) and ''5269'' (federation, HTTPS) on your router and redirect to your machine. Also open those ports on the machine firewall if you have one. Open ''5222'' (standard XMPP port), ''5281'' (file uploads) and ''5269'' (federation, HTTPS) on your router and redirect to your machine. Also open those ports on the machine firewall if you have one.
  
-<code bash>+<code console>
 ufw allow 5222,5281,5269/tcp # assuming your firewall is ufw ufw allow 5222,5281,5269/tcp # assuming your firewall is ufw
 </code> </code>
Line 148: Line 148:
 ==== Start the services ==== ==== Start the services ====
  
-<code bash>+<code console>
 systemctl restart postgresql systemctl restart postgresql
 systemctl restart prosody systemctl restart prosody
prosody_on_raspberry_pi.1700591633.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki