From 485868879f11292bde460c55f9c04a48bd13f4f3 Mon Sep 17 00:00:00 2001 From: Adam Lawson Date: Tue, 28 Jun 2022 12:51:56 +0100 Subject: searxng: Document using root user If logged in as root user, installation will fail as other users created by install scripts won't have permission to access the git repository. Fixes #186 thanks to @kevxyz --- content/searxng.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content') diff --git a/content/searxng.md b/content/searxng.md index 4797b69..1770163 100644 --- a/content/searxng.md +++ b/content/searxng.md @@ -20,6 +20,8 @@ that can be accessed using a domain over HTTPS. Features include: ## Installation +"For the installation procedure, use a sudoer login to run the scripts. If you install from root, take into account that the scripts are creating a searx, a filtron and a morty user. In the installation procedure these new created users do need read access to the clone of searx, which is not the case if you clone into a folder below /root." - SearXNG Docs + Install the required packages. ```sh -- cgit v1.2.3 From a5b9cef883cd59cbea79859d627a7fd483d57e9e Mon Sep 17 00:00:00 2001 From: Adam Lawson Date: Tue, 28 Jun 2022 12:52:45 +0100 Subject: searxng: Fix iptables Fixes #190 thanks to @LencoDigitexer --- content/searxng.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content') diff --git a/content/searxng.md b/content/searxng.md index 1770163..7e0c570 100644 --- a/content/searxng.md +++ b/content/searxng.md @@ -31,8 +31,8 @@ apt install git nginx -y Open http and https ports. ```sh -iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT -iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT +iptables -I INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT +iptables -I INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT netfilter-persistent save ufw allow 80 ufw allow 443 -- cgit v1.2.3