Difference between pages "Xmpp server setup" and "BlueHackers BoF"

From LCA2016 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(install prosody =)
 
m (Who)
 
Line 1: Line 1:
Quick notes for setting up your own xmpp server.
+
[[File:bluehackers-logo.jpg|thumb|Alt=BlueHackers logo|The familiar BlueHackers logo]]
 +
By popular request! The now traditional BlueHackers BoF.
  
  
 +
== What ==
  
=== dns entries ===
+
[http://bluehackers.org BlueHackers] started late 2008... for anyone dealing (directly or indirectly) with depression, anxiety, bipolar, and related matters.
Add the following entries to your domain.
+
I have a subdomain xmpp to make things easier
+
  
xmpp IN CNAME nerdsniping.net.
+
You may have seen a little blue BlueHackers sticker on a laptop, which quietly shows your support... it tells people they're not alone. It's simple, and it really makes a difference.
conference IN CNAME nerdsniping.net.
+
_xmpp-client._tcp.nerdsniping.net. 86400 IN SRV 5 0 5222 xmpp.nerdsniping.net.
+
_xmpp-server._tcp.nerdsniping.net. 86400 IN SRV 5 0 5269 xmpp.nerdsniping.net.
+
_xmpp-server._tcp.conference.nerdsniping.net. 18000 IN SRV 0 5 5269 xmpp.nerdsniping.net.
+
  
 +
During the year, useful information and articles get posted on the [http://bluehackers.org BlueHackers.org] website.
  
=== firewall ===
+
And at conferences, we often have a BoF. Some people may wish to hop up to the front and tell something, just for a few minutes. Others may just want to sit in the back and listen.
open the firewall on the server to allow 5222 (client) and 5269 (server to server)
+
We're not professionals. We're just fellow human beings.
 +
This is not therapy or anything like that. But it helps.
  
=== install software ===
 
  
==== install prosody ====
+
== When ==
Install package from your distro.
+
edit /etc/prosody/prosody.cfg.lua
+
allow registration on the server
+
enable the modules that you want
+
  
create a domain config in /etc/prosody/conf.d/nerdsniping.net for example
+
Wednesday afternoon in the tea break (3pm-3:40pm)
<nowiki>VirtualHost "nerdsniping.net"
+
enabled = true -- Remove this line to enable this host
+
  
ssl = {
+
== Where ==
key = "/etc/prosody/certs/nerdsniping.net-3.key";
+
certificate = "/var/lib/acme/nerdsniping.net.combined";
+
protocol = "tlsv1"
+
}
+
  
Component "conference.nerdsniping.net" "muc"</nowiki>
+
For simplicity (and proximity to the tea & munchies) I suggest the key lecture theatre.
 +
Keep an eye on the [[Birds_of_a_Feather_sessions_(BoFs)|main BoF page]] for the allocated room location.
  
Use letsencrypt.org to create a certificate, you will need a web server and the ability for a lets encrypt tool to write to a .well-known/acme-challenge directory when running one of the acme tools.
 
The certificates file must contain the chain with your certificate on the top of the file followed by any intermediate file.
 
  
To create an admin user first allow registration on the server, create a user and then add that user as an admin in the config file.
+
== Who ==
You can administer the server with some desktop xmpp clients after doing this.
+
 
 +
* Arjen Lentz - catch him around the conference
 +
* you!
 +
* Thomas Sprinkmeier
 +
* others - you don't '''have''' to sign up here to come along, but it's an option.

Revision as of 08:42, 3 February 2016

The familiar BlueHackers logo

By popular request! The now traditional BlueHackers BoF.


What

BlueHackers started late 2008... for anyone dealing (directly or indirectly) with depression, anxiety, bipolar, and related matters.

You may have seen a little blue BlueHackers sticker on a laptop, which quietly shows your support... it tells people they're not alone. It's simple, and it really makes a difference.

During the year, useful information and articles get posted on the BlueHackers.org website.

And at conferences, we often have a BoF. Some people may wish to hop up to the front and tell something, just for a few minutes. Others may just want to sit in the back and listen. We're not professionals. We're just fellow human beings. This is not therapy or anything like that. But it helps.


When

Wednesday afternoon in the tea break (3pm-3:40pm)

Where

For simplicity (and proximity to the tea & munchies) I suggest the key lecture theatre. Keep an eye on the main BoF page for the allocated room location.


Who

  • Arjen Lentz - catch him around the conference
  • you!
  • Thomas Sprinkmeier
  • others - you don't have to sign up here to come along, but it's an option.