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 install tar on RHEL/CentOS 6/7/8 using yum
To install the tar utility on a Red Hat Enterprise Linux (RHEL) or CentOS 6/7/8 system using the yum package manager, you can use the following command:rn rn rn sudo yum install tarrn rn rnThis command will install the tar package, which includes the tar command-line utility for creating and extract
How to Install PHP 7.x on CentOS 8 For Nginx
Here are the steps to install PHP 7.x on CentOS 8 for Nginx:rn rn Add the remi repository to your system: rn rn rn rn sudo dnf -y install https : //rpms.remirepo.net/enterprise/remi-release-8.rpm rn rn rn rn Enable the remi-php73 repository: rn rn rn rn sudo dnf module enable remi-php73rn rn rn rn U
Linux check the physical health of a USB stick [ Flash drive ]
There are a few ways to check the physical health of a USB stick (also known as a flash drive) on a Linux system.rn rn One way is to use the smartctl command, which is a command-line utility for monitoring the SMART attributes of a storage device. To use this command, you will need to first install
How to install htop on OpenSUSE Linux using zypper
To install htop on OpenSUSE Linux using zypper, you can use the following command: n n n sudo zypper install htop n n n This will install the htop package and its dependencies. Once the installation is complete, you can run htop by simply typing htop in the terminal. n Alternatively, you can use the
How to test and validate DNSSEC using dig command line
To test and validate DNSSEC using the dig command line, you can use the +dnssec option to check the DNSSEC status of a domain. Here's an example:rn rn rn dig +dnssec example.comrn rn rnThis will return the DNS record for the domain example.com along with the DNSSEC-related information such as the RR
How to see Time-To-Live (TTL) for a DNS record
Time-To-Live (TTL) is a value in DNS records that determines how long a resolver should cache the DNS record before requesting a new one. The lower the TTL value, the more frequently resolvers will query the DNS server for the record, while a higher value will reduce the number of requests. You c
Add / Create a Sudo User on CentOS Linux 8 sudoers
In CentOS 8 Linux, you can add bash auto completion by installing the bash-completion package and enabling it in the .bashrc file. Here are the steps to set it up:rn rn Open a terminal window and log in as the root user or use the sudo command to run the following commands. rn Install the bash-compl
How to add bash auto completion in CentOS 8 Linux
In CentOS 8 Linux, you can add bash auto completion by installing the bash-completion package and enabling it in the .bashrc file. Here are the steps to set it up:rn rn Open a terminal window and log in as the root user or use the sudo command to run the following commands. rn Install the bash-compl
How to install and use Nginx on CentOS 8
rn Log in as the root user: rn rn rn sudo surn rn rn rn Create a new user: rn rn rn rn useradd < username > rn rn rn rn Set the password for the new user: rn rn rn rn passwd < username > rn rn rn rn Add the new user to the sudo group: rn rn rn rn usermod -aG wheel < username > rn r
How to add or mount directory in LXD (Linux container)
n n n n n n In LXD, you can add or mount a directory from the host system to a container using the lxc config device command. Here are the steps to add or mount a directory in a container: n n Open a terminal window and log in as the root user or use the sudo command to run the following commands. n
How To Configure Nginx to use TLS 1.2 / 1.3 only
To configure Nginx to use only TLS 1.2 or 1.3, you will need to modify the Nginx configuration file.rn rn Open the Nginx configuration file located at /etc/nginx/nginx.conf in a text editor. rn Find the "http" block in the file and add the following line: rn rn rn rn ssl_protocols TLSv1.2 TLSv1.3;rn
How to set up a firewall using FirewallD on OpenSUSE Linux
FirewallD is a dynamic firewall manager for Linux systems that provides a command-line interface and a D-Bus interface for controlling and managing firewall rules. Here are the steps to set up a firewall using FirewallD on OpenSUSE Linux:rn rn Open a terminal window and log in as the root user or us
How to check and list installed packages in CentOS Linux
In CentOS Linux, you can use the yum package manager to check and list the installed packages on your system. Here are the steps to check and list installed packages:rn rn Open a terminal window and log in as the root user or use the sudo command to run the following commands. rn To check if a speci
How to Create a new user account in CentOS 7/8/9
In CentOS 7/8/9, you can create a new user account using the useradd command, which is a command-line utility for adding new users to the system. Here are the steps to create a new user account:rn rn Open a terminal window and log in as the root user or use the sudo command to run the following comm
How to install htop on CentOS Linux 8
To install htop on CentOS Linux 8, you can use the package manager yum .rn rn First, ensure that the EPEL (Extra Packages for Enterprise Linux) repository is enabled by running the command: rn rn rn rn sudo yum install epel - release rn rn rn rn Once the EPEL repository is enabled, you can install h
Bash get filename from given path on Linux or Unix
In bash, you can use the basename command to extract the filename from a given path on Linux or Unix. The basename command takes the path as an argument, and returns the filename without the path. Here is an example of how to use the basename command to extract the filename from a given path:rn rn r
How to return pid of a last command in Linux / Unix
To return the PID (process ID) of the last command in Linux or Unix, you can use the special shell variable $! . This variable contains the PID of the last background process started by the current shell. For example, if you run the command sleep 30 & , the variable $! will contain the PID of
How to find fan speed in Linux for CPU and GPU
To find the fan speed in Linux for the CPU and GPU, you can use the following commands: n CPU fan speed: n n You can use the lm-sensors package to check the fan speed of the CPU. To install it, use the command sudo apt-get install lm-sensors (or sudo yum install lm-sensors on Fedora/CentOS). n After
bash: file: command not found. How to install file
The “file” command is a utility that allows you to determine the type of a file based on its contents, rather than its name or extension. If you are getting the “bash: file: command not found” error, it means that the “file” package is not installed on your system
Ubuntu 20.04 LTS change hostname permanently
To change the hostname of an Ubuntu 20.04 LTS system permanently, you can use the hostnamectl command. Here are the steps to change the hostname:rn rn Open a terminal window and run the command hostnamectl set-hostname new-hostname replacing "new-hostname" with the desired hostname. rn Verify the ne
2,685 guides published.
