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 clone existing KVM virtual machine images on Linux
To clone an existing KVM virtual machine image on Linux, you can use the virt-clone tool. The virt-clone tool allows you to clone a virtual machine by creating a new virtual machine based on the configuration and disk image of an existing virtual machine. Here's how to clone an existing KVM virtual
How to enable proposed archive repo on Ubuntu Linux to install packages
The proposed repository in Ubuntu is a repository that contains packages that are in the process of being tested for release. To enable the proposed repository on Ubuntu, you can follow these steps: n n Open the /etc/apt/sources.list file:n n n sudo nano /etc/apt/sources.list n n n n Add the line be
How to rename KVM virtual machine (VM) domain with virsh command
To rename a KVM virtual machine (VM) domain using the virsh command, you can follow these steps:rn rn Check the name of the virtual machine:rn rn rn sudo virsh list -- all rn rn rn Shut down the virtual machine:rn rn rn sudo virsh shutdown <old-vm-name>rn rn rnwhere <old-vm-name> is the
How to add disk image to KVM virtual machine with virsh command
To add a disk image to a KVM virtual machine using the virsh command, you can follow these steps: n n Attach the disk image to the virtual machine:n n n sudo virsh attach-disk <vm-name> <disk-image-path> <target-dev> --subdriver qcow2 --cache none --persistent n n n where <vm-na
How to disable ssh password login on Linux to increase security
To disable password authentication for SSH on Linux, follow these steps: n n Open the SSH configuration file:n n n sudo nano /etc/ssh/sshd_config n n n n Find the line that says:n n n # PasswordAuthentication yes n n n n Uncomment the line by removing the # character and change yes to no . It should
How to install Ansible on MacOS using CLI
To install Ansible on MacOS using the command line interface (CLI), you can use the Homebrew package manager. Here are the steps to install Ansible using Homebrew:rn rn Install Homebrew, if it's not already installed on your MacOS system: rn rn rn rn /bin/bash -c " $(curl -fsSL https://raw.githubuse
How do I determine RHEL (Red Hat Enterprise Linux) version?
There are several ways to determine the version of Red Hat Enterprise Linux (RHEL) you are using:rn rn Using the lsb_release command: rn rn rn rn lsb_release - a rn rn rnThe output will include a line indicating the distribution name and version, for example:rn rn rn Distributor ID: RedHatEnterprise
How to enable KVM virsh console access for Ubuntu Linux VM
To enable console access for a KVM virtual machine (VM) managed by virsh on Ubuntu Linux, you need to perform the following steps:rn rn Connect to the virtual machine using virsh : rn rn rn rn virsh -c qemu: /// system console <VM_name> rn rn rn rn Log into the virtual machine as the root user
How to auto start LXD containers VM at boot time in Linux
To automatically start an LXD container at boot time on a Linux system, you need to configure the container to start automatically. Here are the steps to do this:rn rn Start the container: rn rn rn rn lxc start < container_name > rn rn rn rn Set the container to start automatically: rn rn rn r
How to create a new config file in Ansible playbook
To create a new configuration file in an Ansible playbook, you can use the template module. The template module allows you to copy a file from a source on the Ansible control machine to a destination on the remote host, while replacing variables in the source file with values specified in the playbo
How to install and configure Varnish cache on Ubuntu Linux 16.04 LTS
Here are the steps to install and configure Varnish cache on Ubuntu 16.04 LTS:rn rn Install Varnish: rn rn rn rn sudo apt - get update rnsudo apt - get install varnishrn rn rn rn Edit the default Varnish configuration: rn rn rn rn sudo nano /etc/ default /varnishrn rn rn rn Change the DAEMON_OPTS va
How to add an extra second hard drive on Linux LVM and increase the size of storage
Here is a high-level overview of the steps to add an extra hard drive and increase the size of storage on Linux LVM:rn rn Prepare the new hard drive: Connect the new hard drive to your Linux system and use fdisk to create a new partition on the drive. rn Create a physical volume: Use the pvcreate co
How to display cpu wise usage using top command on FreeBSD Unix operating system
In the top command on a FreeBSD Unix operating system, you can display the CPU usage per core by using the m key. To do this, run the top command in your terminal, then press m while the top display is active. This will toggle the display between the default multi-process mode and the per-CPU mod
How to set rsync speed limit from eating all bandwidth with ‐‐bwlimit option
The --bwlimit option in rsync allows you to limit the bandwidth used by the transfer. You can specify the bandwidth limit in kilobytes per second. For example, to limit the transfer speed to 128 kilobytes per second, use the following command:rn rn rn rsync --bwlimit=128 < source > < des
How to find all hard links in a directory on Linux
You can use the find command to find all hard links in a directory on Linux. A hard link is a second reference to an existing file that has the same inode number as the original file. Here's the command to find all hard links in the current directory and its subdirectories:rn rn rn find . - type
How to forcefully shutdown a guest VM using virsh command on Linux KVM
rn To forcefully shut down a guest virtual machine (VM) using the virsh command on Linux KVM, use the following command: rn rn rn rn rn rn rn rn virsh destroy < domain-name > rn rn rnwhere <domain-name> is the name of the guest VM. This will send an ACPI signal to the guest OS and immedi
How to wipe a signature from a disk device on Linux with wipefs command
Here's how you can wipe a signature from a disk device on Linux using the wipefs command:rn rn Find the disk device you want to wipe the signature from by using the lsblk command: rn rn rn rn lsblkrn rn rn rn Unmount the disk device if it is currently mounted: rn rn rn rn sudo umount /dev/<device
How to install GlusterFS with a replicated high availability storage volume on Ubuntu Linux 16.04 LTS
Here's how you can install GlusterFS with a replicated high availability storage volume on Ubuntu 16.04 LTS:rn rn Install GlusterFS: rn rn rn rn sudo apt - get update rnsudo apt - get install glusterfs - serverrn rn rn rn Start and enable the GlusterFS service: rn rn rn rn sudo systemctl start glust
How to enable gzip compression in nginx server on Linux or Unix system
Here’s how you can enable gzip compression in Nginx server on a Linux or Unix system: n n Open the Nginx configuration file, typically located at /etc/nginx/nginx.conf . n In the http block, add the following lines to enable gzip compression: n n n n http { n ... n gzip on; n gzip_types text/p
How to install and configure MariaDB Galera as master to master replication cluster on Ubuntu 16.04 LTS
Here's how you can install and configure MariaDB Galera as a master-to-master replication cluster on Ubuntu 16.04 LTS:rn rn Install MariaDB on each node in the cluster: rn rn rn rn sudo apt - get update rnsudo apt - get install software - properties - commonrnsudo apt - key adv --recv-keys --keyserv
2,685 guides published.
