Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
HowTo: See Contents of A .DEB Debian / Ubuntu Package File
To see the contents of a .deb Debian/Ubuntu package file, you can use the dpkg-deb command. Here's how: Open a terminal on your Debian or Ubuntu system. Change to the directory containing the .deb package file. For example, if the package file is in the Downloads directory, run the following command
HowTo: Reload (re-read) Partition Table In Ubuntu Linux
To reload or re-read the partition table in Ubuntu Linux, you can use the following command: sudo partprobe This command will instruct the Linux kernel to re-read the partition table for all storage devices connected to the system. If you have just created a new partition on a disk, or resized an ex
Linux Find Out If CPU Support Intel VT/AMD-V Virtualization For KVM
To find out if your Linux system’s CPU supports Intel VT/AMD-V virtualization for KVM, you can use the following commands: Check if your CPU supports virtualization: egrep -c '(vmx|svm)' /proc/cpuinfo If the output is greater than zero, it means that your CPU supports virtualization. Check if the vi
CentOS / Redhat: Create Software RAID 1 Array
To create a Software RAID 1 array in CentOS or Redhat, you can follow the steps below: Identify the disks that you want to use for the RAID array. In this example, we will assume that the disks are named /dev/sda and /dev/sdb. Partition the disks using the fdisk utility. For each disk, create a prim
Apple OS X: Write Protect File From Command Line
To write-protect a file on macOS (formerly OS X) from the command line, you can use the chflags command with the uchg flag. Here's an example command to write-protect a file named "example.txt" in the current directory: sudo chflags uchg example.txt The sudo command is used to run the chflags comman
CentOS / Redhat: Setup NFS v4.0 File Server
Here is how you can set up an NFS v4.0 file server on CentOS or Red Hat: Install the NFS server software: sudo yum install nfs-utils Create a directory that you want to share as the NFS file system: sudo mkdir /path/to/nfs/shared/directory Change the ownership and permissions of the directory: sudo
KVM Virsh: Redirect FreeBSD Console To A Serial Port
To redirect the console of a FreeBSD virtual machine running on KVM to a serial port, you can use the virsh tool. The steps are as follows: Create a serial port in your virtual machine configuration file: < serial type = 'pty' > < target port = '0' /> </ serial > Define the virtual
CentOS / Redhat: Install KVM Virtualization Software
To install KVM virtualization software on CentOS or Red Hat systems, you can follow these steps: Check if your system supports hardware virtualization by running the following command: grep -E --color 'vmx|svm' /proc/cpuinfo If the output shows the vmx or svm flags, your system supports hardware vir
Linux NFS Mount: wrong fs type, bad option, bad superblock on fs2:/data3 Error And Solution
The error message "wrong fs type, bad option, bad superblock on fs2:/data3" typically indicates that the NFS share cannot be mounted because there is a problem with the file system type, mount options, or the superblock of the NFS share. Here are some possible solutions for this error: Check NFS ser
Linux: Allow Normal Users To Take Down eth1:N But Not eth1 Itself
To allow normal users to take down a specific network interface, such as eth1:N but not the parent interface eth1 , you can use the sudo command in combination with the ip command. Here are the steps to allow normal users to take down eth1:N but not eth1 : Create a new group: Create a new group with
Linux KVM: Disable virbr0 NAT Interface
To disable the virbr0 NAT interface in Linux KVM, you can edit the network configuration file for the virtual network. Here are the steps to disable the virbr0 NAT interface in Linux KVM: Locate the network configuration file: The network configuration file is typically stored in the /etc/libvirt/qe
HowTo Use: Apple USB Keyboard With Linux hid_apple Driver
The "hid_apple" driver is a Linux kernel driver that allows Apple USB keyboards to be used with Linux systems. To use an Apple USB keyboard with Linux and the "hid_apple" driver, you'll need to have the driver installed and enabled on your system. Here's how you can use an Apple USB keyboard with Li
How To Use SSH With Password On Command Line
You can use the ssh command in the command line to connect to a remote server using a password for authentication. Here's an example of how you can use ssh with a password: ssh user @remote _server_ip After running the command, you'll be prompted for the password of the user account on the remote se
SUSE Linux Restart / Stop / Start Network Service
In SUSE Linux, you can use the systemctl command to restart, stop, or start the network service. To restart the network service, you can run the following command: systemctl restart network.service To stop the network service, you can run: systemctl stop network.service And to start the network serv
FreeBSD: Permanently Delete / Remove Files With Shred
In FreeBSD, you can use the shred command to permanently delete or remove files. The shred command overwrites the data in a file multiple times, making it difficult or impossible to recover the original data. To use shred to delete a file, you can run the following command: shred -uv /path/to/file T
CentOS / Redhat: Chroot And Mount Raid Or Actual Hard Disk From Rescue Kernel / CD
To chroot into a RAID or actual hard disk from a rescue kernel or CD in CentOS or Red Hat, you can follow these steps: Boot the system using a rescue CD or boot into a rescue kernel. Use the fdisk command to identify the partitions on the hard disk. For example: fdisk -l Create a mount point for the
Ubuntu Linux: Install MySQL Server Version 5
To install MySQL Server version 5 on an Ubuntu Linux system, you can use the following steps: Update the package index: sudo apt update Install the MySQL Server package: sudo apt install mysql-server-5.7 After the installation is complete, run the MySQL secure installation script to secure your MySQ
Delete SSH Keys Command for Linux and Unix
To delete SSH keys on a Linux or Unix system, you can use the ssh-keygen command. The basic syntax for deleting an SSH key is as follows: ssh-keygen -f /path/ to / key -R hostname Where /path/to/key is the path to the SSH key file, and hostname is the hostname associated with the key. For example, t
CentOS / Redhat Linux: Install OpenNTPD To Synchronize The Local Clock
OpenNTPD is a free and open-source implementation of the Network Time Protocol (NTP) that can be used to synchronize the local clock on a CentOS or Red Hat Linux system. To install OpenNTPD on your system, you will need to have the EPEL (Extra Packages for Enterprise Linux) repository configured. He
/usr/libexec/mysqld: Incorrect key file for table ‘./DBNAME/TABLE_NAME.MYI’; Try To Repair It Error and Solution
The error message “/usr/libexec/mysqld: Incorrect key file for table ‘./DBNAME/TABLE_NAME.MYI’; try to repair it” is a common issue encountered when using the MySQL database system. It typically occurs when there is a problem with the indexes in a table, causing the MySQL server to be unable to acce
2,685 guides published.
