User Tools

Site Tools


howto:aredn:meshchat:home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howto:aredn:meshchat:home [2021/11/09 07:40] va7fihowto:aredn:meshchat:home [2021/11/09 16:05] – [Mesh Chat on a Linux Server] va7fi
Line 16: Line 16:
  
 ===== Hosting a Mesh Chat Instance ===== ===== Hosting a Mesh Chat Instance =====
-Mesh Chat can be installed directly on the hAP, but it's not recommended because it uses resources and it offers very little storage for files: 
  
-{{ storage01.png?300 }}+If you want to host a Mesh Chat instance, you install it directly on the hAP, but it's not recommended because it uses resources and it offers very little storage for files:
  
-In contrast, server install (coming up next) frees up resources and offers more space:+|<100% - ->| 
 +^  Mesh Chat on hAP  ^  Mesh Chat on a Linux Laptop 
 +|  {{ storage01.png?300 }} |  {{ storage02.png?300 }}  |
  
-{{ storage02.png?300 }} 
  
 +===== Mesh Chat on a Linux Server =====
  
- +Before we get started with the details, let's have a look at the big picture.  There are 3 different "names" that we'll have to keep track of: 
-===== Mesh Chat on a Linux Server ===== +  * The AREDN Node name configured in the ''Basic Setup'' page.  Mine in is ''VA7FI-HAP-1'' Yours will be different.
-Before we get started with the details, let's have a look at the big picture.  There's essentially 3 different "names" that we'll have to keep track of: +
-  * The AREDN Node name configured in the Basic Setup page.  Mine in is ''VA7FI-HAP-1'' Yours will be different.+
   * The Hostname of the linux computer running the service.  Mine is ''VA7FI-Linux'' Yours will be different.   * The Hostname of the linux computer running the service.  Mine is ''VA7FI-Linux'' Yours will be different.
   * The Service name.  Here we use ''MIMeshChat'' Use the same if you want your instance to sync with that one.  This is also called the Mesh Chat "Zone".   * The Service name.  Here we use ''MIMeshChat'' Use the same if you want your instance to sync with that one.  This is also called the Mesh Chat "Zone".
Line 48: Line 47:
 ==== Mesh Chat Install ==== ==== Mesh Chat Install ====
 Following the instructions on [[http://www.trevorsbench.com/meshchat-messaging-for-mesh-networks |Trevorsbench]]: Following the instructions on [[http://www.trevorsbench.com/meshchat-messaging-for-mesh-networks |Trevorsbench]]:
-  * Install the dependencies:<code bash> 
-sudo aptitude install curl apache2 
-</code> 
  
   * Download and install Mesh Chat:<code bash>   * Download and install Mesh Chat:<code bash>
Line 70: Line 66:
 sudo mkdir /var/www/html/meshchat/tmp/meshchat/ sudo mkdir /var/www/html/meshchat/tmp/meshchat/
 </code> </code>
 +
   * And change the ownership and permissions:<code bash>   * And change the ownership and permissions:<code bash>
 sudo chown www-data:www-data -R /var/www/html/meshchat/tmp/ sudo chown www-data:www-data -R /var/www/html/meshchat/tmp/
Line 93: Line 90:
  
 ==== AREDN Configuration ==== ==== AREDN Configuration ====
-Install the meshchat-api package:+Install the ''meshchat-api'' package:
   * Download it from [[https://s3.amazonaws.com/aredn/meshchat-api_1.02_all.ipk |here]]   * Download it from [[https://s3.amazonaws.com/aredn/meshchat-api_1.02_all.ipk |here]]
   * From the ''Administration'' page, click on ''Upload Package'' <key>Browse...</key> to install it.   * From the ''Administration'' page, click on ''Upload Package'' <key>Browse...</key> to install it.