tools/debian-package
Ken 962fad8364 Initial tools commit 2020-07-22 15:37:29 -04:00
..
edge-vpnio Initial tools commit 2020-07-22 15:37:29 -04:00
README.md Initial tools commit 2020-07-22 15:37:29 -04:00
deb-gen Initial tools commit 2020-07-22 15:37:29 -04:00

README.md

EdgeVPNio DEBIAN PACKAGE

The Debian package installs EdgeVPNio (evio) as a systemd service and is supported in Ubuntu 18.04 and Raspberry Pi Raspbian OS. Use the following procedure to create a new installer package.

  1. Clone the tools repo and use tools/deb-pak as your base directory.
  2. Copy the tincan executable, and the contents of the controller folder into edge-vpnio/opt/edge-vpnio.
  3. Copy config.json, the template or completed file, into edge-vpnio/etc/opt/edge-vpnio.
  4. Execute ./deb-gen to create the edge-vpnio.deb installer package.

By default, the following files and directories are created:

  1. /opt/edge-vpnio/tincan
  2. /opt/edge-vpnio/controller/
  3. /etc/opt/edge-vpnio/config.json
  4. /etc/systemd/system
  5. /var/logs/edge-vpnio/tincan_log
  6. /var/logs/edge-vpnio/ctrl.log

The installer has dependencies on, and will install python3, python3-pip, iproute2, openvswitch-switch, bridge-utils.
To install EdgeVPNio invoke sudo apt install -y <path/to/installer>/edge-vpnio.deb.
After installation but before starting evio, complete config.json by adding the XMPP credentials, setting the IP address, and applying other configurations as needed.
Then start evio using sudo systemctl start evio.
Additionally, use systemctl to start/stop/restart/status evio.

EdgeVPNio is configured to be started automatically on reboot.