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: systemd: Systemd is a system and service manager t
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): Go to System Preferences and click on Sharing. In the left sidebar, select Internet Sharing. In the right-hand panel, select the internet connection you want to share from the "Share your connection from" drop
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: Open a terminal window on your Linux machine. Add the Google Chrome repository to your system's software sources by running the following command: For Ubuntu/Debian: wget -q -
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: for i in {1..5}; do echo $i ; done This loop will print the numbers 1 through 5 on separate lines. Here's a breakdown of how the loop works: for i in {1..5}; sets up the loop to iterate over a range of numbers from 1 to 5
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: 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. Save t
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: Launch virt-manager by running the command virt-manager in a terminal window or by launching it from the Applications menu. Click the Create a new virtual machine button or select File > New Virtual Machin
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: Install the necessary packages: sudo yum install -y qemu-kvm libvirt virt-install bridge-utils Create a bridge interface by editing the /etc/sysconfig/network-scripts/ifcfg-br0 file. Replace eth0 with
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: libvirt log files: These log files are located in the /var/log/lib
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 : Open a terminal window on your KVM host machine. Type the following command to start the installation process: virt-install \ -
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: Open a terminal window on your KVM host machine. Type the following command to display a list of all running and stopped virt
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: Open a terminal window on your Linux machine. Type the following command to display a list of all available network interfaces: ifconfig - a This will show all the network
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: Open a terminal window on your Linux machine. Type the following command to copy a file or directory from the source to the destination, and show a progress bar: rsync --progr
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: Open your Nginx configuration file in a text editor. The file is typically located at /etc/nginx/nginx.conf or /etc/nginx/conf.d/de
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: 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: sudo
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: Open a terminal window. Navigate to the parent directory of the directory you want to remove. Type the following command to remove an empty directory using the rmdir command: rmdir directory_name Replace "
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: Open a terminal window. Navigate to the directory where the files you want to remove are located. Type the following command to start the for loop: for file in file1 file2 file3 Replace "file1", "file2", and
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: Open a terminal window. Type the following command and press Enter: uname -a This will display a long list of system information, including the operating system release and vers
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: Open a terminal window. Type the following command to start the for loop: for i in { 1 .. 100 } This will set up the for loop to iterate through the numbers 1 to 100. Type the commands tha
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: Open a terminal window. Check if the TMOUT varia
2,685 guides published.
