Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
How To Upgrade Ubuntu 18.04 to 20.04 LTS using command line
Upgrading Ubuntu 18.04 to 20.04 LTS using the command line involves several steps, including updating the package lists, upgrading the packages, and finally, upgrading the system to the new release. Here are the general steps to upgrade Ubuntu 18.04 to 20.04 LTS:rn rn Start by running the command su
Thinkpad update firmware on Linux (X1 extreme/P1 gen2)
To update the firmware on a Lenovo ThinkPad X1 Extreme or P1 Gen 2 on Linux, you can use the fwupd tool. Here are the steps to update the firmware:rn rn Install the fwupd package on your Linux system, if it's not already installed. On Ubuntu or Debian, you can install it with: rn rn rn rn sudo apt-
Ubuntu Install Tinc and Set Up a Basic VPN
Tinc is a Virtual Private Network (VPN) daemon that can be used to create a secure network between multiple hosts. Here are the steps to install Tinc and set up a basic VPN on Ubuntu: n n Install Tinc by running the command sudo apt install tinc n Create a directory for Tinc’s configuration fi
How to Undo in Vim / Vi text editor
To update the firmware on a Lenovo ThinkPad X1 Extreme or P1 Gen 2 on Linux, you can use the fwupd tool. Here are the steps to update the firmware:rn rn Install the fwupd package on your Linux system, if it's not already installed. On Ubuntu or Debian, you can install it with: rn rn rn rn sudo apt-
Ansible apt update all packages on Ubuntu / Debian Linux
Ansible is an automation tool that can be used to manage and automate tasks on multiple servers. To update all packages on Ubuntu or Debian Linux using Ansible, you can use the apt module. Here are the steps to do this:rn rn Install Ansible on your management machine by running the command sudo apt
OpenSUSE install sudo to execute commands as root
On OpenSUSE, you can install the sudo package to allow users to execute commands as the root user. Here are the steps to do this:rn rn Open a terminal window and log in as the root user by running the command su and entering the root password. rn Update the package index by running the command zyppe
Linux extend file system after resize disk volume
When you resize a disk volume on a Linux system, the file system on that volume may not automatically adjust to the new size. To extend the file system to use the new space, you can use the resize2fs command. Here are the general steps to extend a file system after resizing a disk volume:rn rn First
Linux extend file system after resize disk volume
To update the firmware on a Lenovo ThinkPad X1 Extreme or P1 Gen 2 on Linux, you can use the fwupd tool. Here are the steps to update the firmware:rn rn Install the fwupd package on your Linux system, if it's not already installed. On Ubuntu or Debian, you can install it with: rn rn rn rn sudo apt-
How to Set Up and Use LXD on CentOS 8.x / RHEL 8.x
To set up and use LXD on CentOS 8.x / RHEL 8.x, you can follow these steps:rn rn Install the lxd package using the package manager: rn rn rn rn sudo dnf install lxdrn rn rn rn Initialize LXD: rn rn rn rn sudo lxd init rn rn rn rn Start the lxd service: rn rn rn rn sudo systemctl start lxdrn rn rn rn
Explain DEBIAN_FRONTEND apt-get variable for Ubuntu / Debian
The DEBIAN_FRONTEND variable is an environment variable that controls the user interface used by the apt-get package manager on Ubuntu and Debian systems. It is used to specify the type of user interface that should be used when running apt-get commands. There are three main options for the DEBIA
How to enable firewalld logging for denied packets on Linux
Firewalld is a firewall management tool for Linux systems that uses dynamic firewall rules. To enable logging for denied packets in Firewalld, you will need to make some changes to the Firewalld configuration. First, you need to set the log level to "debug" or "info". You can do this by running t
Linux bind IP that doesn’t exist with net.ipv4.ip_nonlocal_bind
In Linux, the net.ipv4.ip_nonlocal_bind sysctl variable controls whether or not a process can bind to an IP address that does not exist on the local system. By default, this variable is set to 0, which means that a process cannot bind to an IP address that does not exist on the local system. To a
How To: Vim show line numbers by default on Linux
You can configure Vim to show line numbers by default on Linux by editing the Vim configuration file, .vimrc . Here are the steps to do this:rn rn Open a terminal window and navigate to your home directory by running the command cd ~ . rn Check if the .vimrc file exist in your home directory using t
Change my default shell in Linux using chsh
The chsh command (short for “change shell”) allows you to change the default shell for a user in Linux. Here are the steps to change your default shell using chsh : n n Open a terminal window n Run the command cat /etc/shells , this will list the available shells on your system, make sur
Linux iptables delete prerouting rule command
In Linux, you can use the iptables command to manage the firewall rules. To delete a prerouting rule, you can use the -D option, followed by the table, chain, and rule number. For example, to delete a prerouting rule in the nat table, in the PREROUTING chain, with a rule number of 2 , you would u
How To Configure Firewall with UFW on Ubuntu 20.04 LTS
UFW (Uncomplicated Firewall) is a firewall management tool for Ubuntu 20.04 LTS. It is a command-line tool that makes it easy to configure and manage iptables, the Linux kernel’s built-in firewall. n Here are the steps to configure the firewall with UFW on Ubuntu 20.04 LTS: n n Install UFW by
How to Install phpredis on CentOS 8 / RHEL 8
To install phpredis on CentOS 8 / RHEL 8, you can use the following steps:rn rn First, make sure that your system is up to date by running the command sudo yum update . rn Install the PHP development tools and the Redis package by running the command sudo yum install php-devel redis . rn Next, you w
How to save terminal output to a file under Linux/Unix
There are several ways to save terminal output to a file under Linux or Unix:rn rn Using the > operator: This operator redirects the output of a command to a file. For example, to save the output of the ls command to a file named "ls_output.txt", you would use the following command: rn rn rn rn l
How to Change Hostname on Ubuntu 20.04
To change the hostname on Ubuntu 20.04, you can use the hostnamectl command. Here are the steps to change the hostname on Ubuntu 20.04:rn rn Open a terminal window on your Ubuntu 20.04 system. rn Check the current hostname by running the following command: rn rn rn rn hostnamectlrn rn rn rn To chang
Linux uninstall package / software using the CLI
To uninstall a package or software on Linux using the command line, you can use the package manager specific to your distribution.rn rn Debian/Ubuntu : The package manager on Debian and Ubuntu distributions is apt, you can use the following command to uninstall a package: rn rn rn rn sudo apt remove
2,685 guides published.
