User Tools

Site Tools


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

Link to this comparison view

en:public:openwisp-setup-server [2019/07/08 13:22] (current)
ljelinek created
Line 1: Line 1:
 +====== OpenWISP installation on a server ======
 +//​Information about OpenWISP itself and its features is available at the [[en:​public:​openwisp|main page]].//
 +**The following procedure applies to Debian 9.**
 +Installation pre-requisities:​
 +  - Debian 9 Linux distribution on the server
 +  - Python on the server
 +  - Ansible (version 2.5+) on your computer
 +  - Git on your computer
 +Installation procedure:
 +  - Install the given Ansible role from Ansible Galaxy to your computer: ''​ansible-galaxy install openwisp.openwisp2''​
 +  - Create a working directory (e.g. ''​openwisp2-ansible''​) and enter into it.
 +  - Create an inventory file and add the server into it (into the ''​openwisp2''​ group).
 +  - Create the following playbook and execute it by ''​ansible-playbook'':​
 +- hosts: openwisp2
 +  become: "{{ become | default('​yes'​) }}"
 +  roles:
 +    - openwisp.openwisp2
 +  vars:
 +    openwisp2_default_from_email:​ "​openwisp2@my.domain"​
 +When done it is possible to login via a web browser to the installed system (go to ''​https://​server.address/​admin''​). The default user name is ''​admin'',​ the default password ''​admin''​. The password should be changed immediately;​ you can create as many user as you need.
 +After installing OpenWISP to the server, you can install the client part (the agent) to your routers according to the [[en:​public:​openwisp-setup-turris|guide]].