Compare commits

..

No commits in common. "1a34a2df65022a3589d8bd3c0132dbc73ae91b59" and "02558f1e8d92a57eaae3a2d34e2d41a237f17840" have entirely different histories.

2 changed files with 9 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
_site/
.env
.sass-cache/
.jekyll-cache/
.jekyll-metadata

View File

@ -10,7 +10,7 @@ banner_image: "/uploads/2022/ejabberd-in-the-jungle.webp" #Size of banner_image
banner_image_alt: "Ejabberd XMPP Server in the Jungle"
category: Devops
tag: xmpp, ejabberd, omemo, admin, privacy
tags: xmpp, ejabberd, omemo, admin, privacy
---
@ -19,25 +19,25 @@ tag: xmpp, ejabberd, omemo, admin, privacy
**Note 1:** I personally took it upon myself to use the following format [Example-Reference] to *tag* references.
In this article, I will be sharing a *HOWTO* create your own end-to-end encrypted instant messenger(IM) XMPP service for your Company, family xor community. Having ownership of your data requires **work** and this setup allows any Human in the world to protect their digital data from those who sell it for profit.
In this article, I will be sharing a *HOWTO* create your own end-to-end encrypted instant messenger(IM) XMPP service for your Company, family xor community. Having ownership of your data requires **work** and this setup allows any Human in the world to protect their digital data from those who sell it for profit.
> "Ejabberd is a complete open-source XMPP-based messaging solution that is for all human beings, but ideal for governments, police, military, banks, insurance, finance, and healthcare companies that value privacy and security."
The minimal cost is less than $100 per year and is portable with the *nifty* config option -with-rebar; this option packages the whole app for transport.
The minimal cost is less than $100 per year and is portable with the *nifty* config option -with-rebar; this option packages the whole app for transport.
## Configure & compile Ejabberd
Please see [Ejabberd Configure] for setting up your Linux environment.
### Requirements
- A remove server that has been hardened [Linux VPS Hardening](https://www.sharpetronics.com/blog/tutorials/2021/07/26/linux-vps-hardening-init/)
- A remove server that has been hardened [Linux VPS Hardening](https://www.sharpetronics.com/blog/tutorials/2021/07/26/linux-vps-hardening-init/)
- Linux CLI knowledge
- Patience
### Operating System
- This article is tested with `cat /etc/os-release` VERSION="20.04.4 LTS (Focal Fossa)"
### Dependencies:
### Dependencies:
- GNU Make `make -v`
- GCC `sudo apt install build-essential && gcc -v`
- Libexpat 1.95 or higher `sudo apt install -y expat && libexpat-dev`
@ -82,7 +82,7 @@ make rel
```
### Prepare Ejabberd Binary
After we have successfully compiled ejabberd binaries on our own system, we have a system to create fresh binaries that are portable on the fly! Furthermore, we rename the ejabberd folder to ejabberd_builder and copy the created tar.gz to desired location.
After we have successfully compiled ejabberd binaries on our own system, we have a system to create fresh binaries that are portable on the fly! Furthermore, we rename the ejabberd folder to ejabberd_builder and copy the created tar.gz to desired location.
```
cd .. && mv ejabberd ejabberd_builder
@ -103,11 +103,11 @@ cd ejabberd-20.05/ && ls bin/
### NOW, the hard part... configuration of your fresh ejabberd binaries.
As you have noticed, ejabberdctl status failed to start. This is because we now have to configure the server.
As you have noticed, ejabberdctl status failed to start. This is because we now have to configure the server.
## PART II - TBA
## References:
## References:
- [Ejabberd Source](https://github.com/processone/ejabberd/blob/22.05/COMPILE.md)
- [Ejabberd Compile](https://docs.ejabberd.im/admin/installation/#source-code)
@ -115,4 +115,4 @@ As you have noticed, ejabberdctl status failed to start. This is because we now
- [Ejabberd Configure](https://www.process-one.net/blog/how-to-configure-ejabberd-to-get-100-in-xmpp-compliance-test/)
- [Linux VPS Hardening](https://www.sharpetronics.com/blog/tutorials/2021/07/26/linux-vps-hardening-init/)
- [OMEMO Extension](https://conversations.im/omemo/)
- [XMPP Servers](https://xmpp.org/software/servers/)
- [XMPP Servers](https://xmpp.org/software/servers/)