-
Notifications
You must be signed in to change notification settings - Fork 2
using linux to update the listings.
Prajwal Koirala edited this page Jul 1, 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 500000
* hard nofile 500000
root soft nofile 500000
root hard nofile 500000" >> /etc/security/limits.conf
sysctl -p /etc/security/limits.conf
ulimit -n 500000
Help its not validating the domains for me.
rm -r /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