{"id":1955,"date":"2016-08-30T18:32:57","date_gmt":"2016-08-31T02:32:57","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=1955"},"modified":"2016-08-30T18:32:57","modified_gmt":"2016-08-31T02:32:57","slug":"linux-im-jabber2-server","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2016\/08\/30\/linux-im-jabber2-server\/","title":{"rendered":"linux im jabber2 server"},"content":{"rendered":"<h3>OpenFire<\/h3>\n<p><a href=\"https:\/\/www.igniterealtime.org\/projects\/openfire\/index.jsp\">https:\/\/www.igniterealtime.org\/projects\/openfire\/index.jsp<\/a><\/p>\n<p><a href=\"https:\/\/www.igniterealtime.org\/downloads\/index.jsp\">https:\/\/www.igniterealtime.org\/downloads\/index.js<\/a><\/p>\n<p>The full version of this for Linux is in an RPM file, rather than Linux Mint DEB. It can be converted<\/p>\n<p style=\"padding-left: 30px;\">sudo apt-get install alien dpkg-dev debhelper build-essential<\/p>\n<p style=\"padding-left: 30px;\">sudo alien packagename.rpm<\/p>\n<p style=\"padding-left: 30px;\">sudo dpkg -i packagename.deb<\/p>\n<p>So example<\/p>\n<p style=\"padding-left: 30px;\"><code>sudo apt-get install alien dpkg-dev debhelper build-essential<\/code><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.igniterealtime.org\/downloads\/download-landing.jsp?file=openfire\/openfire-4.0.3-1.i386.rpm\">https:\/\/www.igniterealtime.org\/downloads\/download-landing.jsp?file=openfire\/openfire-4.0.3-1.i386.rpm<\/a><\/p>\n<p style=\"padding-left: 30px;\">cd ~\/Downloads<\/p>\n<p style=\"padding-left: 30px;\">sudo alien openfire-4.0.3-1.i386.rpm<\/p>\n<p style=\"padding-left: 30px;\">sudo dpkg -i openfire-4.0.3-1.i386.deb<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Jabberd<\/h3>\n<p>Jabberd but really much more complicate because the directions are for an old version.<a href=\"https:\/\/github.com\/jabberd2\/jabberd2\/wiki\/InstallGuide-BasicConfiguration\"> Visit the web site for current install <\/a>(very messy IMHO)<\/p>\n<p><a href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/jabberd2-server.html\">https:\/\/help.ubuntu.com\/lts\/serverguide\/jabberd2-server.html<\/a><\/p>\n<p>Pretty straight forward, start with lan and then can be opened up to the wan.<\/p>\n<blockquote>\n<div id=\"jabberd2-installation\" class=\"sect2 sect\">\n<div class=\"inner\">\n<div class=\"hgroup\">\n<h4 class=\"title\">Installation<\/h4>\n<\/div>\n<div class=\"region\">\n<div class=\"contents\">\n<p class=\"para\">To install <span class=\"app application\">jabberd2<\/span>, in a terminal enter:<\/p>\n<div class=\"screen\">\n<pre class=\"contents \"><span class=\"cmd command\">sudo apt install jabberd2<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"jabberd2-configuration\" class=\"sect2 sect\">\n<div class=\"inner\">\n<div class=\"hgroup\">\n<h4 class=\"title\">Configuration<\/h4>\n<\/div>\n<div class=\"region\">\n<div class=\"contents\">\n<p class=\"para\">A couple of XML configuration files will be used to configure <span class=\"app application\">jabberd2<\/span> for <span class=\"em emphasis\">Berkeley DB<\/span> user authentication. This is a very simple form of authentication. However, <span class=\"app application\">jabberd2<\/span> can be configured to use LDAP, MySQL, PostgreSQL, etc for for user authentication.<\/p>\n<p class=\"para\">First, edit <span class=\"file filename\">\/etc\/jabberd2\/sm.xml<\/span> changing:<\/p>\n<div class=\"code\">\n<pre class=\"contents \">  &lt;id&gt;jabber.example.com&lt;\/id&gt;\n<\/pre>\n<\/div>\n<div class=\"note\" title=\"Note\">\n<div class=\"inner\">\n<div class=\"region\">\n<div class=\"contents\">\n<p class=\"para\">Replace <span class=\"em emphasis\">jabber.example.com<\/span> with the hostname, or other id, of your server.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p class=\"para\">Now in the &lt;storage&gt; section change the &lt;driver&gt; to:<\/p>\n<div class=\"code\">\n<pre class=\"contents \">   &lt;driver&gt;db&lt;\/driver&gt;\n<\/pre>\n<\/div>\n<p class=\"para\">Next, edit <span class=\"file filename\">\/etc\/jabberd2\/c2s.xml<\/span> in the <span class=\"em emphasis\">&lt;local&gt;<\/span> section change:<\/p>\n<div class=\"code\">\n<pre class=\"contents \">    &lt;id&gt;jabber.example.com&lt;\/id&gt;\n<\/pre>\n<\/div>\n<p class=\"para\">And in the &lt;authreg&gt; section adjust the &lt;module&gt; section to:<\/p>\n<div class=\"code\">\n<pre class=\"contents \">    &lt;module&gt;db&lt;\/module&gt;\n<\/pre>\n<\/div>\n<p class=\"para\">Finally, restart <span class=\"app application\">jabberd2<\/span> to enable the new settings:<\/p>\n<div class=\"screen\">\n<pre class=\"contents \"><span class=\"cmd command\">sudo systemctl restart jabberd2.service<\/span>\n<\/pre>\n<\/div>\n<p class=\"para\">You should now be able to connect to the server using a Jabber client like <span class=\"app application\">Pidgin<\/span> for example.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>OpenFire https:\/\/www.igniterealtime.org\/projects\/openfire\/index.jsp https:\/\/www.igniterealtime.org\/downloads\/index.js The full version of this for Linux is in an RPM file, rather than Linux Mint DEB. It can be converted sudo apt-get install alien dpkg-dev debhelper build-essential sudo alien packagename.rpm sudo dpkg -i packagename.deb So example sudo apt-get install alien dpkg-dev debhelper build-essential https:\/\/www.igniterealtime.org\/downloads\/download-landing.jsp?file=openfire\/openfire-4.0.3-1.i386.rpm cd ~\/Downloads sudo alien openfire-4.0.3-1.i386.rpm sudo dpkg [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1955","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/1955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=1955"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/1955\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=1955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=1955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=1955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}