From d835ffcd9876eef7ebd6f9d431ece18ec948c2dd Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Mon, 3 Jul 2017 11:18:57 +0100 Subject: [PATCH] Remove trailing space --- INSTALL_LINUX.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/INSTALL_LINUX.md b/INSTALL_LINUX.md index eaf820c..fb6c370 100644 --- a/INSTALL_LINUX.md +++ b/INSTALL_LINUX.md @@ -1,16 +1,16 @@ -# Instructions to install libre.sh on linux with Systemd +# Instructions to install libre.sh on linux with Systemd -## Recommendation -- Systemd (debian 8 or debian 9, CentOS 7 ...) +## Recommendation +- Systemd (debian 8 or debian 9, CentOS 7 ...) -# Installation -Where basicly reproduce what the user_data do for us. +# Installation +Where basicly reproduce what the user_data do for us. -as root +as root -# configure sshd +# configure sshd Don't forget to create the user core and adding your ssh key before -You could also remove AllowUsers core or/and change the username. +You could also remove AllowUsers core or/and change the username. > cat > /etc/ssh/sshd_config < chmod 600 /etc/ssh/sshd_config > systemctl restart sshd -# add kernel parameter > cat > /etc/sysctl.d/libresh.conf < chmod 644 /etc/sysctl.d/libresh.conf > sysctl -p +# add kernel parameter # define Localhost @@ -40,7 +40,6 @@ EOF ::1 localhost EOF -# define envrionment > cat > /etc/environment < mkdir -p /opt/bin &&\ > dockerComposeVersion=$(curl -s https://api.github.com/repos/docker/compose/releases/latest|grep tag_name|cut -d'"' -f4) &&\ > curl -L https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose &&\ > chmod +x /opt/bin/docker-compose -# install Libre.sh > git clone https://github.com/indiehosters/libre.sh.git /libre.sh &&\ > mkdir /{data,system} &&\ @@ -81,9 +80,10 @@ EOF > systemctl start web-net.service &&\ > cp /libre.sh/utils/* /opt/bin/ -# add /opt/bin path > cat > /etc/profile.d/libre.sh <