• Add the Alias section
vi /etc/apache2/sites-enabled/villagetelco
Alias /spud /usr/local/villagetelco-server/wwwroot/spud
• Change default port number for a2billing and SPUD
As we are going to run a2billing and SPUD in coexiting with a Internet captive
portal (Coova/Chilli). We need to run the web services in another port that is not
80.
You will need to:
Change the first line of the Apache2 site to run in port 8888
vi /etc/apache2/sites-enabled/villagetelco
<VirtualHost *:8888>
• Listen in ports 8888 and 443
Edit your /etc/apache2/ports.conf to look like:
NameVirtualHost *:8888
#Listen 80
Listen 8888
Listen 443
• Restart Apache
/etc/init.d/apache2 restart
• Configure VIS server
Edit the configuration file
vi /var/www/spud/app/config/config.php
In this configuration file you can:
a) Set the IP address/domain name of your FitVT server.
Default value is 192.168.130.1
b) Set the IP address of your VIS server.
The default settings will point to the Bo Kaap VIS server
Change that for the IP of your super-node 192.168.130.2 or 10.130.1.2
c) Configure the vis mode. SPUD supports two VIS modes ('mode' =>
'batman') and ('mode' => 'batman-adv') depending if you run your mesh
protocol in L3 or L2
d) Configure the vis_version. If you run a L3 mesh network you need also to
define the vis_version variable. The legacy value supports the broken JSON
output of some old I mplementations. Recent L3 VIS servers should be set up
Kommentare zu diesen Handbüchern