Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Ubuntu 20.04 add network bridge (br0) with nmcli command
In Ubuntu 20.04, you can add a network bridge (br0) using the nmcli command-line tool. Here are the steps you can follow:rn rn Start by making sure that the network-manager package is installed by running the following command: rn rn rn rn sudo apt- get install network-managerrn rn rn rn Next, you c
How to install a Wireguard VPN client in a FreeBSD jail
Wireguard is a modern, secure VPN protocol that can be used to set up a virtual private network (VPN) on a FreeBSD jail. Here's how you can install the Wireguard VPN client in a FreeBSD jail:rn rn First, create a new jail using the command "jail -c -n jail_name" rn Next, enter the jail using the com
Squid test config file for syntax errors
In Squid, you can test the configuration file for syntax errors by using the squid -k parse command. Here are the steps you can follow:rn rn Open a terminal window and navigate to the directory where the Squid configuration file is located. rn Run the following command to test the configuration file
apt-get hold back packages on Ubuntu / Debian Linux
In Ubuntu and Debian Linux, you can use the apt-mark command to hold back packages from being upgraded. Here are the steps you can follow:rn rn Start by updating the package list by running the following command: rn rn rn rn sudo apt - get update rn rn rn rn Next, you can hold back a package by runn
Route 53 Let’s Encrypt wildcard certificate with acme.sh
Amazon Route 53 is a DNS service offered by Amazon Web Services (AWS) and acme.sh is a command-line utility for automating the process of obtaining and renewing Let's Encrypt SSL/TLS certificates. Here's how you can use acme.sh to obtain a wildcard certificate for a domain hosted on Route 53:rn rn F
How to install less on CentOS / RHEL / Fedora
In CentOS, Red Hat Enterprise Linux (RHEL), and Fedora, you can install less by using the package manager yum . Here are the steps you can follow:rn rn Start by updating the package list by running the following command: rn rn rn rn sudo yum update rn rn rn rn Next, install less by running the follo
How to write the output into the file in Linux
In Linux, you can use the “>” symbol to redirect the output of a command to a file. Here’s an example of how you can use it: n n n ls -l > file.txt n n n This command will run the “ls -l” command and write the output to a file named “file.txt” in the c
How to set/change FQDN on Ubuntu 20.04 Linux
In Ubuntu 20.04, you can set or change the Fully Qualified Domain Name (FQDN) by following these steps:rn rn First, open the /etc/hosts file by running the following command: rn rn rn rn sudo nano /etc/hostsrn rn rn rn Locate the line that starts with 127.0.0.1 and change the hostname to your desire
Set up automatic unattended updates for Ubuntu 20.04
Unattended-upgrades is a package that allows Ubuntu to automatically download and install security updates and other important updates without any user intervention. This can be useful for servers or other systems that are running 24/7, as it ensures that the system remains up-to-date with security
How to add days to date and get new date on Linux
On Linux, you can use the command line tool “date” to add days to a date and get a new date. n Here’s an example of how you can add 30 days to the current date and get the new date: n n n date --date= '30 days' +%Y-%m-%d n n n This command will add 30 days to the current date and r
How to save iptables firewall rules permanently on Linux
To save iptables firewall rules permanently on Linux, you can use the iptables-save and iptables-restore commands. n n Start by saving your current iptables rules by running the following command: n n n n sudo iptables-save > /etc/i ptables/iptables. rules n n n This command will save the current
How to view status of a service on Linux using systemctl
On Linux systems using systemd, you can use the "systemctl" command to view the status of a service. The basic syntax for the command is:rn rn rn systemctl status rn rn rnFor example, to check the status of the Apache web server, you can use the command:rn rn rn systemctl status httpdrn rn rnThis co
How To Set Up a Firewall with Awall on Alpine Linux
Awall is a firewall management tool for Alpine Linux that allows you to configure the firewall using a simple and easy to understand configuration file. Here's how you can set up a firewall with Awall on Alpine Linux:rn rn First, install the Awall package by running the command "apk add awall" rn Ne
Alpine Linux Change Hostname (computer name)
In Alpine Linux, you can change the hostname (computer name) by following these steps:rn rn First, open the system's hostname configuration file, typically located at /etc/hostname , by running the following command: rn rn rn rn nano /etc/hostnamern rn rn rn Replace the current hostname with your de
How to Install Java on Ubuntu 20.04 LTS Linux
There are a few different ways to install Java on Ubuntu 20.04 LTS, but the most common way is to use the package manager. Here's how you can do it:rn rn First, update your package lists by running the command "sudo apt update" rn Next, you can install the default OpenJDK package by running the comm
How to use ssh-agent for authentication on Linux / Unix
ssh-agent is a program that allows you to store your private SSH keys in memory, so that you don't have to enter the passphrase every time you use them. To use ssh-agent for authentication on Linux or Unix, you can follow these steps:rn rn Start by starting the ssh-agent program by running the fo
How to create a Linux swap file
You can create a Linux swap file by following these steps:rn rn First, check the available disk space by running the command "df -h". This will show you the amount of free space available on your system. rn Decide on the size of the swap file. It's recommended that the swap file size is at least twi
How to check if CentOS / RHEL needs a full reboot
On CentOS and RHEL, you can check if the system needs a full reboot by checking the kernel version and the kernel release. A full reboot is required when the running kernel version and release are different from the latest installed kernel version and release. You can check the running kernel
FreeBSD configure AWS SES with Postfix MTA
rn rn rn rn rn To configure Amazon Web Services (AWS) Simple Email Service (SES) with the Postfix Mail Transfer Agent (MTA) on FreeBSD, you will need to follow these steps:rn rn Install the Postfix MTA by running the command "pkg install postfix". rn Configure the Postfix MTA by editing the "/us
How to save iptables firewall rules permanently on Linux
To save iptables firewall rules permanently on Linux, you can use the iptables-save and iptables-restore commands.rn rn Start by saving your current iptables rules by running the following command: rn rn rn rn sudo iptables-save > /etc/i ptables/iptables. rules rn rn rnThis command will save the
2,685 guides published.
