Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Linux Default Services Which Are Enabled at Boot
The list of default services that are enabled at boot can vary depending on the specific Linux distribution and version, as well as the system configuration. However, here are some common Linux services that are typically enabled at boot by default:rn rn systemd: Systemd is a system and service mana
Mac OS X: Set Port Forwarding Nat Router (Internet Sharing)
Here are the steps to set up port forwarding on a Mac using NAT router (Internet Sharing):rn rn Go to System Preferences and click on Sharing. rn In the left sidebar, select Internet Sharing. rn In the right-hand panel, select the internet connection you want to share from the "Share your connection
Linux Install Google Chrome Browser [ Ubuntu, Suse, Debian, Fedora ]
To install Google Chrome browser on Ubuntu, Suse, Debian, Fedora, and other Linux distributions, you can follow these steps:rn rn Open a terminal window on your Linux machine. rn Add the Google Chrome repository to your system's software sources by running the following command: rn rnFor Ubuntu/Debi
How To Use bash For Loop In One Line
It is possible to use a for loop in bash on a single line. Here is an example:rn rn rn for i in {1..5}; do echo $i ; done rn rn rnThis loop will print the numbers 1 through 5 on separate lines. Here's a breakdown of how the loop works:rn rn for i in {1..5}; sets up the loop to iterate over a range o
KVM: Install CentOS / RHEL Using Kickstart File (Automated Installation)
Here are the steps to install CentOS or RHEL on KVM using a kickstart file for automated installation:rn rn Create a kickstart file (e.g. ks.cfg) with the desired installation configuration. You can use the Kickstart Configurator tool to generate a kickstart file with a GUI or create one manually. r
KVM virt-manager: Install CentOS As Guest Operating System
Here are the steps to install CentOS as a guest operating system in KVM using virt-manager:rn rn Launch virt-manager by running the command virt-manager in a terminal window or by launching it from the Applications menu. rn Click the Create a new virtual machine button or select File > New Virtua
CentOS / Redhat: KVM Bridged Network Configuration
Here's how to set up a bridged network configuration in KVM on CentOS or Red Hat Enterprise Linux:rn rn Install the necessary packages: rn rn rn rn sudo yum install -y qemu-kvm libvirt virt-install bridge-utilsrn rn rn rn Create a bridge interface by editing the /etc/sysconfig/network-scripts/ifcfg-
Troubleshooting KVM Virtualization Problem With Log Files in Linux
KVM provides several log files that can be used to troubleshoot virtualization problems in Linux. The location of these log files may vary depending on your system configuration, but here are some common log files that you can check:rn rn libvirt log files: These log files are located in the /var/lo
KVM virt-install: Install FreeBSD / CentOS As Guest Operating System
virt-install is a command-line tool used to create virtual machines in KVM. Here are the steps to install FreeBSD or CentOS as a guest operating system using virt-install : n n Open a terminal window on your KVM host machine. n Type the following command to start the installation process:n n n virt-
KVM: Starting / Stopping Guest Operating Systems With virsh Command
You can use the virsh command in KVM (Kernel-based Virtual Machine) to manage guest operating systems, including starting, stopping, and restarting them. Here's how to do it:rn rn Open a terminal window on your KVM host machine. rn Type the following command to display a list of all running and stop
Linux Show / Display Available Network Interfaces
You can use the ifconfig command in Linux to display a list of available network interfaces on your system. Here's how to do it:rn rn Open a terminal window on your Linux machine. rn Type the following command to display a list of all available network interfaces:rn rn rn ifconfig - a rn rn rnThis w
Rsync Show Progress Bar While Copying Files
You can use the rsync command with the --progress option to display a progress bar while copying files. Here's how to do it:rn rn Open a terminal window on your Linux machine. rn Type the following command to copy a file or directory from the source to the destination, and show a progress bar:rn rn
Nginx Block And Deny IP Address OR Network Subnets
You can use Nginx to block and deny access to specific IP addresses or network subnets by adding a deny directive in your Nginx configuration file. Here's how to do it:rn rn Open your Nginx configuration file in a text editor. The file is typically located at /etc/nginx/nginx.conf or /etc/nginx/conf
HowTo: Linux Remove a PDF File Password Using Command Line Options
You can use the qpdf command-line tool to remove a password from a PDF file in Linux. Here's how to do it:rn rn Install the qpdf package if it's not already installed on your system. You can do this using the package manager for your Linux distribution. For example, in Ubuntu or Debian, you can run:
Nginx Force (Redirect) WWW.Domain.COM To Domain.COM
To force a redirect from www.domain.com to domain.com using Nginx, you can add a server block to your Nginx configuration file with a server_name directive that includes both the www and non- www versions of your domain name, and a return directive with a 301 status code to redirect requests to the
Removing a Directory In Linux
In Linux/Unix, you can use the rmdir or rm command to remove a directory. Here's how to do it:rn rn Open a terminal window. rn Navigate to the parent directory of the directory you want to remove. rn Type the following command to remove an empty directory using the rmdir command: rn rn rn rn rmdir d
Linux / UNIX: For Loop To Remove Files
In Linux/Unix, you can use a for loop to remove multiple files at once. Here's how to do it:rn rn Open a terminal window. rn Navigate to the directory where the files you want to remove are located. rn Type the following command to start the for loop: rn rn rn rn for file in file1 file2 file3rn rn r
Find: UNIX Operating System Release and Version Number
In Unix/Linux, you can use the uname command to find the operating system release and version number. Here's how to do it:rn rn Open a terminal window. rn Type the following command and press Enter: rn rn rn rn uname -arn rn rnThis will display a long list of system information, including the operat
How To Unix For Loop 1 to 100 Numbers
In Unix/Linux, you can use a for loop to iterate through a range of numbers from 1 to 100. Here's how to do it:rn rn Open a terminal window. rn Type the following command to start the for loop: rn rn rn rn for i in { 1 .. 100 }rn rn rnThis will set up the for loop to iterate through the numbers 1 to
HowTo: Linux / UNIX Unset TMOUT ( AutoLogOut )
In Linux/Unix, TMOUT is an environment variable that determines the number of seconds of inactivity allowed before a user is automatically logged out. If you want to disable the automatic log out, you can unset the TMOUT variable. Here's how to do it:rn rn Open a terminal window. rn Check if the TMO
2,685 guides published.
