Skip to content

using linux to update the listings.

Prajwal Koirala edited this page Nov 26, 2021 · 5 revisions

Let's utilize Linux and keep the lists updated.

apt-get update
apt-get install software-properties-common git screen -y
add-apt-repository ppa:longsleep/golang-backports -y
apt-get install golang-go -y
git clone https://github.com/complexorganizations/content-blocker
cd content-blocker
screen -S content-blocker-screen
go build .
./content-blocker -update

Help i am getting the too many open files error.

echo "* soft nofile 999999
* hard nofile 999999
root soft nofile 999999
root hard nofile 999999">> /etc/security/limits.conf
ulimit -n 999999

Help its not validating the domains for me.

rm -f /etc/resolv.conf
echo "nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844" >>/etc/resolv.conf