From 47d9464c35fa958a233b2775ef1e5a07454b3c0e Mon Sep 17 00:00:00 2001 From: Nicola Peditto Date: Wed, 24 Apr 2019 11:31:53 +0200 Subject: [PATCH] LR v0.4.9-dev: updated guides. Change-Id: Icf5b50f8316d21ea7db4bf0e37cb61f619d77c4b --- README.rst | 2 +- doc/installation/raspberry_pi_3.rst | 2 +- doc/installation/ubuntu1604.rst | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index f4f81ae..3f98c21 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ Installation guides * `Raspberry Pi 3 `_. -* `Ubuntu 16.04 `_. +* `Ubuntu 16.04 and 18.04 `_. * Docker: diff --git a/doc/installation/raspberry_pi_3.rst b/doc/installation/raspberry_pi_3.rst index 85a60fc..c743d53 100644 --- a/doc/installation/raspberry_pi_3.rst +++ b/doc/installation/raspberry_pi_3.rst @@ -38,7 +38,7 @@ Requirements sed -i "s|listen 80 default_server;|listen 50000 default_server;|g" /etc/nginx/sites-available/default sed -i "s|80 default_server;|50000 default_server;|g" /etc/nginx/sites-available/default -* Certbot +* Certbot: :: diff --git a/doc/installation/ubuntu1604.rst b/doc/installation/ubuntu1604.rst index 158b992..a60bb1b 100644 --- a/doc/installation/ubuntu1604.rst +++ b/doc/installation/ubuntu1604.rst @@ -1,7 +1,7 @@ -IoTronic Lightning-rod installation guide for Ubuntu 16.04 -========================================================== +IoTronic Lightning-rod installation guide for Ubuntu 16.04 and 18.04 +==================================================================== -We tested this procedure on a Ubuntu 16.04 (also within a LXD +We tested this procedure on a Ubuntu 16.04/18.04 (also within a LXD container). Everything needs to be run as root. Requirements @@ -40,12 +40,14 @@ Requirements sed -i "s|80 default_server;|50000 default_server;|g" /etc/nginx/sites-available/default -* Certbot +* Certbot: :: + + apt install software-properties-common add-apt-repository ppa:certbot/certbot apt update - apt-get install python-certbot-nginx + apt install python-certbot-nginx systemctl restart nginx