From e767f9ae74782ce719eccaef2b81c52e05dc5db4 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 25 Dec 2024 19:18:13 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c59fe4..095973b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,19 @@ See also this: [sefinek/Cloudflare-WAF-To-AbuseIPDB](https://github.com/sefinek/ ## 📥 Installation -### Node.js (Ubuntu & Debian) +### Automatic (Easy & recommenced) +#### curl +```bash +cd /tmp && curl -s -o /tmp/install.sh https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/node.js/install.sh && sudo bash install.sh && rm install.sh +``` + +#### wget +```bash +cd /tmp && wget -q -O /tmp/install.sh https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/node.js/install.sh && sudo bash install.sh && rm install.sh +``` + +### Manually +#### Node.js (Ubuntu & Debian) ```bash sudo apt-get install -y curl curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh @@ -28,13 +40,13 @@ sudo -E bash nodesource_setup.sh sudo apt-get install -y nodejs ``` -### Git +#### Git ```bash sudo add-apt-repository ppa:git-core/ppa sudo apt-get update && sudo apt-get -y install git ``` -### Script +#### Script ```bash sudo apt-get update && sudo apt-get upgrade cd ~