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:rn rn Open a terminal on your Debian or Ubuntu system. rn Change to the directory containing the .deb package file. For example, if the package file is in the Downloads directory, run the following
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:rn rn rn sudo partprobern rn rnThis 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
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: n n Check if your CPU supports virtualization: n n n n egrep -c '(vmx|svm)' /proc/cpuinfo n n n If the output is greater than zero, it means that your CPU supports virtual
CentOS / Redhat: Create Software RAID 1 Array
To create a Software RAID 1 array in CentOS or Redhat, you can follow the steps below:rn rn 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. rn Partition the disks using the fdisk utility. For each disk, creat
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:rn rn rn sudo chflags uchg example.txtrn rn rnThe sudo command is used to run
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:rn rn Install the NFS server software: rn rn rn rn sudo yum install nfs-utilsrn rn rn rn Create a directory that you want to share as the NFS file system: rn rn rn rn sudo mkdir /path/to/nfs/shared/directoryrn rn rn rn Change th
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:rn rn Create a serial port in your virtual machine configuration file: rn rn rn rn < serial type = 'pty' > rn < target port = '0' /> rn </ serial
CentOS / Redhat: Install KVM Virtualization Software
To install KVM virtualization software on CentOS or Red Hat systems, you can follow these steps:rn rn Check if your system supports hardware virtualization by running the following command: rn rn rn rn grep -E --color 'vmx|svm' /proc/cpuinforn rn rnIf the output shows the vmx or svm flags, your syst
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:rn rn Check
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. n Here are the steps to allow normal users to take down eth1:N but not eth1 : n n Create a new group: Create a new grou
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:rn rn Locate the network configuration file: The network configuration file is typically stored in the /etc/li
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
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:rn rn rn ssh user @remote _server_iprn rn rnAfter running the command, you'll be prompted for the password of the user account o
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:rn rn rn systemctl restart network.servicern rn rnTo stop the network service, you can run:rn rn rn systemctl stop network.servicern r
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:rn rn rn shred -uv /pat
CentOS / Redhat: Chroot And Mount Raid Or Actual Hard Disk From Rescue Kernel / CD
n 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: n n n n n n n Boot the system using a rescue CD or boot into a rescue kernel. n Use the fdisk command to identify the partitions on the hard disk. For example: n n n n fdisk -l n
Ubuntu Linux: Install MySQL Server Version 5
To install MySQL Server version 5 on an Ubuntu Linux system, you can use the following steps:rn rn Update the package index: rn rn rn rn sudo apt update rn rn rn rn Install the MySQL Server package: rn rn rn rn sudo apt install mysql-server-5.7rn rn rn rn After the installation is complete, run the
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:rn rn rn ssh-keygen -f /path/ to / key -R hostnamern rn rnWhere /path/to/key is the path to the SSH key file, and hostname is the hostname associated with the key.
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.rnr
/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 ser
2,685 guides published.
