Difference between pages "Birds of a Feather sessions (BoFs)" and "Xmpp server setup"

From LCA2016 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(mv running bof → own page; add timeslots to table; add comments to table;)
 
(Created page with "Quick notes for setting up your own xmpp server. === dns entries === Add the following entries to your domain. I have a subdomain xmpp to make things easier xmpp IN CNAME...")
 
Line 1: Line 1:
== Birds of a Feather (BoF) Sessions ==
+
Quick notes for setting up your own xmpp server.
  
Although not an official social event of the Conference, Birds of a Feather - or BoFs as they are known - allow Delegates to meet around a particular topic or interest. BoFs usually occur during lunchtime, or after the main Conference presentations for the day.
 
  
==== Instructions ====
 
Edit the table below to claim a BoF, and provide a way for people to contact you.
 
''Rooms will be added later.'' See also: [https://www.mediawiki.org/wiki/Help:Tables Table Markup Help]
 
  
{| class="wikitable" style="text-align:center"
+
=== dns entries ===
<!-- Table Headers -->
+
Add the following entries to your domain.
|+Birds of a Feather (BoF) Sessions
+
I have a subdomain xmpp to make things easier
!
+
!Monday 1st Feb
+
!Tuesday 2nd Feb
+
!Wednesday 3rd Feb
+
!Thursday 4th Feb
+
!Friday 5th Feb
+
  
|-
+
xmpp IN CNAME nerdsniping.net.
! Early birds
+
conference IN CNAME nerdsniping.net.
06:00
+
_xmpp-client._tcp.nerdsniping.net. 86400 IN SRV 5 0 5222 xmpp.nerdsniping.net.
<!-- Mon -->
+
_xmpp-server._tcp.nerdsniping.net. 86400 IN SRV 5 0 5269 xmpp.nerdsniping.net.
| [[Running BoF]]
+
_xmpp-server._tcp.conference.nerdsniping.net. 18000 IN SRV 0 5 5269 xmpp.nerdsniping.net.
<!-- Tue -->
+
| [[Running BoF]]
+
<!-- Wed -->
+
| [[Running BoF]]
+
<!-- Thu -->
+
| [[Running BoF]]
+
<!-- Fri -->
+
| [[Running BoF]]
+
  
<!-- Keynote Speakers -->
 
|- style="background-color: #f2f2f2;text-align:center;"
 
! 09:00
 
| Opening
 
| scope="row" colspan="4" |Keynote Speakers
 
  
|-
+
=== firewall ===
! Morning Tea
+
open the firewall on the server to allow 5222 (client) and 5269 (server to server)
10:00—10:40
+
<!--Mon-->
+
|Session
+
<!--Tue-->
+
|Session
+
<!--Wed-->
+
|Session
+
<!--Thu-->
+
|Session
+
<!--Fri-->
+
|Session
+
  
<!-- Regular Schedule -->
+
=== install software ===
|- style="background-color: #f2f2f2;text-align:center;"
+
|scope="row" colspan="6" | Regular Schedule
+
  
|-
+
==== install prosody =====
!Lunch Break
+
Install package from your distro.
12:20—13:20
+
edit /etc/prosody/prosody.cfg.lua
<!--Mon-->
+
allow registration on the server
|Session
+
enable the modules that you want
<!--Tue-->
+
|Session
+
<!--Wed-->
+
|Session
+
<!--Thu-->
+
|Session
+
<!--Fri-->
+
|Session
+
  
<!-- Regular Schedule -->
+
create a domain config in /etc/prosody/conf.d/nerdsniping.net for example
|- style="background-color: #f2f2f2;text-align:center;"
+
<nowiki>VirtualHost "nerdsniping.net"
|scope="row" colspan="6"|Regular Schedule
+
enabled = true -- Remove this line to enable this host
  
|-
+
ssl = {
!Afternoon Tea
+
key = "/etc/prosody/certs/nerdsniping.net-3.key";
15:00—15:40
+
certificate = "/var/lib/acme/nerdsniping.net.combined";
<!--Mon-->
+
protocol = "tlsv1"
|Session
+
}
<!--Tue-->
+
|Session
+
<!--Wed-->
+
|Session
+
<!--Thu-->
+
|Session
+
<!--Fri-->
+
|Session
+
  
<!-- Regular Schedule -->
+
Component "conference.nerdsniping.net" "muc"</nowiki>
|- style="background-color: #f2f2f2;text-align:center;"
+
|scope="row" colspan="5" |Regular Schedule
+
|[[Lightning_talks|LightningTalks]] & Closing
+
  
|-
+
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.
!Evening
+
The certificates file must contain the chain with your certificate on the top of the file followed by any intermediate file.
17:20—
+
<!--Mon-->
+
|[[Ingress BoF]] (Room #1)
+
[[Libre Instant Messaging and Social Media BoF|Libre IM & Social BoF]] (Room #2)
+
<!--Tue-->
+
|[[Keysigning bof|Keysigning BoF]]
+
<!--Wed-->
+
|Session
+
<!--Thu-->
+
|Session
+
<!--Fri-->
+
|Session
+
  
<!-- Regular Schedule -->
+
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.
|- style="background-color: #f2f2f2;text-align:center;"
+
You can administer the server with some desktop xmpp clients after doing this.
!18:00—
+
|scope="row" colspan="5"|Social Events (See schedule)
+
|}
+
 
+
{{Template:Navigation}}
+

Revision as of 07:55, 22 January 2016

Quick notes for setting up your own xmpp server.


dns entries

Add the following entries to your domain. I have a subdomain xmpp to make things easier

xmpp IN CNAME nerdsniping.net. 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.


firewall

open the firewall on the server to allow 5222 (client) and 5269 (server to server)

install software

install prosody =

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

VirtualHost "nerdsniping.net"
enabled = true -- Remove this line to enable this host

ssl = {
	key = "/etc/prosody/certs/nerdsniping.net-3.key";
	certificate = "/var/lib/acme/nerdsniping.net.combined";
	protocol = "tlsv1"
}

Component "conference.nerdsniping.net" "muc"

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. You can administer the server with some desktop xmpp clients after doing this.