How to install SafeLine WAF within minutes

If you want to install the SafeLine WAF, here are some scripts to speed up your deployment.

You must run the script as root as we need to install some packages from the official docker repository.

I know – the official SafeLine installer already will install the needed packages. But this script helps in setting up a base server and can be used within a cloud-init script to deploy the basic packages during deployment.

What Gets Installed

  • Docker CE (latest stable from official repository)
  • Docker Compose Plugin (integrated with Docker CLI)
  • Python 3 + pip (if not present)
  • Network tools (netstat, etc.)

Direct Installation

One-liner installation – downloads and runs the script

curl -fsSL https://raw.githubusercontent.com/Michal-Koeckeis-Fresel/server-deployment/refs/heads/main/linux/waf/safeline-prep.sh | bash

Download and Inspect First (Security Best Practice)

Download the script

curl -fsSL https://raw.githubusercontent.com/Michal-Koeckeis-Fresel/server-deployment/refs/heads/main/linux/waf/safeline-prep.sh -o safeline-prep.sh

Inspect the script (always recommended)

less safeline-prep.sh

Make executable and run

chmod +x safeline-prep.sh
./safeline-prep.sh

Using wget (Alternative)

Download with wget

wget https://raw.githubusercontent.com/Michal-Koeckeis-Fresel/server-deployment/refs/heads/main/linux/waf/safeline-prep.sh

Make executable and run

chmod +x safeline-prep.sh
./safeline-prep.sh

Now run the SafeLine installer

bash -c "$(curl -fsSLk https://waf.chaitin.com/release/latest/manager.sh)" -- --en

mf

Leave a Reply

Your email address will not be published. Required fields are marked *