From b5db93ee749a2a24cb1f79c3cb8683c2f752fd8c Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Thu, 27 May 2021 19:31:28 +0200 Subject: [PATCH] Update README.md (#810) * Update README.md Co-authored-by: AlteredCoder --- README.md | 16 +++++++++++++--- docs/v1.X/docs/getting_started/installation.md | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3f906ae9b..d89c826c9 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,20 @@ CrowdSec is a free, modern & collaborative behavior detection engine, coupled wi ## 2 mins install Installing it through the [Package system](https://doc.crowdsec.net/Crowdsec/v1/getting_started/installation/) of your OS is the easiest way to proceed. -Otherwise, to install from source, in a shell (replace the X in the URL by the version that you want to install): +Otherwise, you can install it from source. -```console -wget https://github.com/crowdsecurity/crowdsec/releases/download/v1.0.X/crowdsec-release.tgz +### From package (Debian) + +```sh +wget -qO - https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc |sudo apt-key add - && echo "deb https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/crowdsec.list > /dev/null +sudo apt-get update +sudo apt-get install crowdsec +``` + +### From source + +```sh +wget https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz tar xzvf crowdsec-release.tgz cd crowdsec-v* && sudo ./wizard.sh -i ``` diff --git a/docs/v1.X/docs/getting_started/installation.md b/docs/v1.X/docs/getting_started/installation.md index 3558d52be..0a5daedf6 100644 --- a/docs/v1.X/docs/getting_started/installation.md +++ b/docs/v1.X/docs/getting_started/installation.md @@ -6,7 +6,7 @@ You can install crowdsec in different ways : - Most users [set up crowdsec's repositories](/Crowdsec/v1/getting_started/installation/#install-using-crowdsec-repository) and install from them, for ease of installation and upgrade - Some users [use debian's official crowdsec packages](/Crowdsec/v1/getting_started/installation/#install-using-debian-official-packages) - Some users download the DEB package directly and [install it manually](/Crowdsec/v1/getting_started/installation/#manually-install-the-debian-package) - - Some users download the tarball directly and [install it manually](/Crowdsec/v1/getting_started/installation/#install-from-release-tarball) + - Some users download the tarball directly and [install it manually](/Crowdsec/v1/getting_started/installation/#install-from-the-release-tarball) - Some users use the [docker hub image](https://hub.docker.com/r/crowdsecurity/crowdsec) - And the most adventurous might want to [build & install from source](/Crowdsec/v1/getting_started/installation/#install-from-source) - And some might even want to [build their own docker image](/Crowdsec/v1/getting_started/installation/#build-docker-image)