Changes

Jump to navigation Jump to search
691 bytes added ,  14:50, 14 February 2019
no edit summary
Line 3: Line 3:     
This description is about how to install the mosquitto broker service on SME9/Centos6.
 
This description is about how to install the mosquitto broker service on SME9/Centos6.
 +
 +
{{Warning box| This not longer appears to install due to requires for libwebsocket. There does not appear to be a libwebsocket package available for CentOS 6 and it would need to be built manually. They may prove to be difficult/impossible due to requires in the libwebsocket requires. https://forums.contribs.org/index.php/topic,53906.0.html}}
    
== Installation ==
 
== Installation ==
Line 35: Line 37:  
   signal-event remoteaccess-update
 
   signal-event remoteaccess-update
 
    
 
    
 +
=== Set custom template for /etc/hosts.allow ===
 +
 +
  mkdir /etc/e-smith/templates-custom/etc/hosts.allow
 +
  cd    /etc/e-smith/templates-custom/etc/hosts.allow
 +
  touch mosquitto
 +
 
 +
Edit the file 'mosquitto' to have the following content:
 +
 +
{
 +
    $DB->hosts_allow_spec('mosquitto');
 +
}
 +
 +
and expand the template:
 +
 +
expand-template /etc/hosts.allow
 +
 
=== Enable As Service ===
 
=== Enable As Service ===
  

Navigation menu