Difference between pages "Xmpp server setup" and "Libre Instant Messaging and Social Media BoF"

From LCA2016 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(install prosody =)
 
 
Line 1: Line 1:
Quick notes for setting up your own xmpp server.
+
Let's discuss and test out various Libre alternatives to Slack, Facebook, Twitter, etc.
  
 +
== Here are links to various software ==
  
 +
=== Social Networking ===
  
=== dns entries ===
+
[https://diasporafoundation.org/ Diaspora]
Add the following entries to your domain.
+
I have a subdomain xmpp to make things easier
+
  
xmpp IN CNAME nerdsniping.net.
+
[http://www.gnu.org/software/social/ GNU Social]
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.
+
  
 +
=== Instant Messaging ===
  
=== firewall ===
+
[https://tox.chat Tox] – Distributed peer-to-peer "Skype replacement"
open the firewall on the server to allow 5222 (client) and 5269 (server to server)
+
  
=== install software ===
+
[[Xmpp_server_setup]]
  
==== install prosody ====
+
== How to Prepare ==
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
+
Have a phone, tablet, or laptop to use to access the services (preferably all 3).
<nowiki>VirtualHost "nerdsniping.net"
+
enabled = true -- Remove this line to enable this host
+
  
ssl = {
+
If you are a sysadmin have a laptop to access servers and install software.
key = "/etc/prosody/certs/nerdsniping.net-3.key";
+
certificate = "/var/lib/acme/nerdsniping.net.combined";
+
protocol = "tlsv1"
+
}
+
  
Component "conference.nerdsniping.net" "muc"</nowiki>
+
Test out some relevant software in advance if you have time. Ideally be ready to spend a few minutes talking about the software.
 
+
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.
+

Revision as of 18:52, 22 January 2016

Let's discuss and test out various Libre alternatives to Slack, Facebook, Twitter, etc.

Here are links to various software

Social Networking

Diaspora

GNU Social

Instant Messaging

Tox – Distributed peer-to-peer "Skype replacement"

Xmpp_server_setup

How to Prepare

Have a phone, tablet, or laptop to use to access the services (preferably all 3).

If you are a sysadmin have a laptop to access servers and install software.

Test out some relevant software in advance if you have time. Ideally be ready to spend a few minutes talking about the software.