How to install hblock to improve system security and privacy. #1116
fosslover306
started this conversation in
Tutorials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To install hblock:
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.5.1/hblock'
&& echo 'd010cb9e0f3c644e9df3bfb387f42f7dbbffbbd481fb50c32683bbe71f994451 /tmp/hblock' | shasum -c
&& sudo mv /tmp/hblock /usr/local/bin/hblock
&& sudo chown 0:0 /usr/local/bin/hblock
&& sudo chmod 755 /usr/local/bin/hblock
To enable a systemd timer to automatically update the blocklists:
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v3.5.1/resources/systemd/hblock.{service,timer}'
&& echo '45980a80506df48cbfa6dd18d20f0ad4300744344408a0f87560b2be73b7c607 /tmp/hblock.service' | shasum -c
&& echo '87a7ba5067d4c565aca96659b0dce230471a6ba35fbce1d3e9d02b264da4dc38 /tmp/hblock.timer' | shasum -c
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/
&& sudo chown 0:0 /etc/systemd/system/hblock.{service,timer}
&& sudo chmod 644 /etc/systemd/system/hblock.{service,timer}
&& sudo systemctl daemon-reload
&& sudo systemctl enable hblock.timer
&& sudo systemctl start hblock.timer
Beta Was this translation helpful? Give feedback.
All reactions