Description: Hands-on step-by-step guide that shows how to configure Prosody 0.10 for security, mobile messaging and ease of use.
status: Published
status: draft
[TOC]
Attention!
---
This article describes how to set up Prosody 0.10 and kept online only for archival reasons! You are probably looking for the following article <https://homebrewserver.club/configuring-a-modern-xmpp-server.html>
Attention!
---
This is a guide to set up a modern XMPP server focused on security and mobile messaging. The whole guide assumes Debian stable running on the server, the fact that you will end up hosting a few of your friends and that you have some basic skills working on a linux command line.
This will check and renew the certificates every week on sunday at 04:00.
After you've set up all of the above it is time to start the server:
@ -235,23 +234,5 @@ When upgrading to prosody 0.11 on a server using sql make sure to run database u
:::console
prosodyctl mod_storage_sql upgrade
In the event you get an error about DBI not being found that is because Debian's Lua version doesn't support DBI. If that is the case you can do the following:
Download LuaRocks source from <http://luarocks.github.io/luarocks/releases>
Unpack it and compile with Lua5.2 support:
:::console
./configure --lua-version=5.2
make
sudo make install
Then proceed to install `luadbi` and `luadbi-` for the mysql backend you use (see [here](https://prosody.im/doc/depends) for more info):
:::console
luarocks install luadbi
luarocks install luadbi-mysql
Then you should be able to run the storage_sql upgrade as described above.
[^1]: Previous articles descibed how to set up [Prosody 0.9](https://homebrewserver.club/drafts/configuring-a-modern-xmpp-server-0.9.html) and [Prosody 0.10](https://homebrewserver.club/drafts/configuring-a-modern-xmpp-server-0.10.html)