Difference between pages "Hotspot Demo Configuration" and "File:Sb ventures.jpeg"

From Kiwix
(Difference between pages)
Jump to navigation Jump to search
 
(A "Plug in" type Egyptian themed layout with medium to large Plots and Villas, with Modern Amenities like Club House, duplex houses for sale in rajahmundry)
 
Line 1: Line 1:
== TL;DR ==
== Summary ==
 
A "Plug in" type Egyptian themed layout with medium to large Plots and Villas, with Modern Amenities like Club House, duplex houses for sale in rajahmundry
* internet on: <code>enp1s0f0</code> (IP <code>195.154.82.158</code>)
* domain (<code>*.demo.plug.kiwix.org</code>)
* demo private network:  <code>192.168.1.0/24</code>
* dedicated user: <code>qdemo</code>
* bridge iface: <code>br0</code>
* bridge IP: <code>192.168.1.1</code>
 
== Available images ==
 
=== TESTS (0) ===
* reserved
 
=== TESTS (1) ===
* reserved
 
=== EDUPI-FR (2) ===
 
* domain: <code>edupi-fr.demo.plug.kiwix.org</code>
* tunnel: <code>tap2</code>
* IP: <code>192.168.1.2</code>
* SSH port: <code>5222</code>
 
=== WIKIFUNDI-FR (3) ===
 
* domain: <code>wikifundi-fr.demo.plug.kiwix.org</code>
* tunnel: <code>tap3</code>
* IP: <code>192.168.1.3</code>
* SSH port: <code>5322</code>
 
== Add new image ==
 
* add new tap
* add tap to bridge and enable it
* Edit <code>/root/host-setup.sh</code>
* Edit <code>/etc/hosts</code>: add private IP and corresponding hosts
* Create <code>/home/qdemo/plugdemo_XXX</code> (change IP address)
* Create <code>/etc/nginx/sites-{available,enabled}/XXX.demo.plug.kiwix.org</code>
* Create <code>/usr/local/bin/img_run_XXX</code> (change last number with TAP number)
* edit this document and add new image details
 
== Setup image ==
 
<source lang="sh">
# start QEMU (in a screen)
img_run_XXX /path/to/image.img
 
# wait until boot. log-in (pi/raspberry)
> sudo systemctl enable ssh && sudo systemctl start ssh && exit
 
# once SSH is enabled (adjust suffix and SSH port)
scp -P 5222 ~/plugdemo_edupi-fr pi@localhost:plugdemo
scp -P 5222 ~/guest-setup.sh pi@localhost:  # make sure the name in guest-setup.sh if OK before
ssh pi@localhost -p 5022 "sudo mv ~/plugdemo /usr/local/bin/plugdemo && sh ~/guest-setup.sh"
</source>

Latest revision as of 06:38, 17 April 2019

Summary

A "Plug in" type Egyptian themed layout with medium to large Plots and Villas, with Modern Amenities like Club House, duplex houses for sale in rajahmundry