How to show dropped packets per interface on Linux

Installing dnscrypt-proxy with an ad-blocker on Linux can be done by following these steps: Start by installing dnscrypt-proxy by following the instructions on the official website, this could vary depending on the distribution you are using. Next, you will need to install an ad-blocker such as dnscrypt-proxy-blocklist. To do this, you can download the blocklist … Read more

Alpine Linux set up WireGuard VPN server

Setting up a WireGuard VPN server on Alpine Linux can be done by following these steps: Start by installing the WireGuard package by running the following command: apk add wireguard-tools wireguard-virt Create a new directory to store the configuration files by running the following command: mkdir -p /etc/wireguard Generate a private key for the server … Read more

How to check TLS/SSL certificate expiration date from command-line

You can check the expiration date of a TLS/SSL certificate from the command line using the “openssl” tool. Here’s an example command that checks the expiration date of a certificate for the domain “example.com”: openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates The “-connect” option specifies the domain and port to … Read more

How to install Go [golang] on Ubuntu Linux

To install Go (Golang) on Ubuntu Linux, you can follow these steps: Download the latest version of Go from the official website by running the following command: wget https://golang.org/dl/go1.x.linux-amd64.tar.gz Extract the downloaded archive by running the following command: tar -xvf go1.x.linux-amd64.tar.gz Move the extracted folder to the ‘/usr/local’ directory by running the following command: sudo … Read more

How to install MySQL server on CentOS 8 Linux

To install MySQL server on CentOS 8, follow these steps: Start by enabling the MySQL module by running the following command: sudo dnf module enable mysql:8.0 Next, install the MySQL server package by running the following command: sudo dnf install mysql-server After the installation is complete, start the MySQL service and enable it to start … Read more