Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory Error and Solution
The restorecond command is used in SELinux to restore the default SELinux security context for files and directories. If you encounter the error message "Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory," it means that the file /etc/resolv.conf has mo
SUSE Linux: Install RPM File And Packages
In SUSE Linux, you can install RPM (Red Hat Package Manager) files and packages using the zypper command. Here's an example of how to install an RPM file:rn rn rn sudo zypper install package .rpmrn rn rnWhere package.rpm is the name of the RPM file that you want to install. You can also instal
Verify Keepalived IP Failover Working Or Not With tcpdump Command
The tcpdump command can be used to verify if Keepalived IP failover is working as expected by capturing and analyzing network traffic. n Here’s an example of how you can use tcpdump to verify Keepalived IP failover: n n Log in to one of the nodes in your Keepalived cluster. n Run the following
UNIX: Loop Through Files In A Directory
In Unix-like systems, you can use a for loop to iterate through all of the files in a directory. Here's an example of a simple bash shell script that loops through all of the files in the current directory:rn rn rn for file in *; do rn echo " $file " rn done rn rn rnIn this example, the * wildcard m
Ubuntu Linux Set Iscsi Initiator
An iSCSI initiator is a client that allows a system to access iSCSI-based storage devices over a network. In Ubuntu Linux, you can set up an iSCSI initiator using the open-iscsi package. Here's an overview of the steps to set up an iSCSI initiator in Ubuntu Linux:rn rn Install the open-iscsi pack
OpenBSD: Static Routing Configuration
Static routing is a form of network routing that allows administrators to manually specify the path for network packets to take through a network. In OpenBSD, you can configure static routes using the route command. n Here’s an example of how to add a static route in OpenBSD: n n Open a termin
OpenBSD: Setup a Serial Console
Setting up a serial console on OpenBSD is a straightforward process that involves configuring both the operating system and the serial device. Here are the steps to set up a serial console on OpenBSD:rn rn Connect the serial device to your OpenBSD system: Connect the serial device to the serial port
Linux Laptop Display Battery Status And Thermal Temperature From Command Line
There are several command-line tools available in Linux that allow you to monitor your laptop's battery status and thermal temperature. Here are a few popular options:rn rn acpi: The Advanced Configuration and Power Interface (acpi) is a Linux command-line tool that provides information about your l
Linux: IP Subnet (CIDR) Calculator That Will Help You With Network Settings
There are a number of IP subnet calculators available for Linux, both in the form of command-line tools and graphical applications. Here are a few popular options:rn rn ipcalc: This is a simple command-line tool that you can use to calculate subnets and display the results in a clear and concise for
Linux Use smartctl To Check Disk Behind Adaptec RAID Controllers
To check the health status of disks behind Adaptec RAID controllers in Linux, you can use the smartctl utility. Here's how:rn rn Install the smartmontools package, if it's not already installed, by running the following command: rn rn rn rn sudo apt-get install smartmontools ( for Debian-based syste
KVM: Start a Virtual Machine / Guest At Boot Time
To start a virtual machine using KVM at boot time, you can follow these steps:rn rn Install KVM and the required utilities, such as libvirt , virt-manager , and qemu-kvm . rn Create a virtual machine using virt-manager or the virsh command line utility. Make sure that the virtual machine is in the "
du Command Output In Human Readable Format ( GB / MB / TB )
The du command in Linux can be used to display the size of files and directories in a human-readable format, such as GB, MB, or TB. To do this, use the -h or --human-readable option, as follows:rn rn rn $ du -h /path/to/directory rn rn rnThis will display the size of the directory and its contents i
Linux / UNIX: Command For Executing a Shell Script
To execute a shell script in Linux or UNIX, you can use the following command in the terminal:rn rn rn $ sh script.shrn rn rnReplace "script.sh" with the name of your shell script. Alternatively, you can make the script executable by changing its permissions and then simply run it as an executabl
Reboot Linksys WAG160N / WAG54 / WAG320 / WAG120N Router / Gateway
To reboot a Linksys WAG160N, WAG54, WAG320, or WAG120N router or gateway, you can follow these steps: n n Open a web browser and enter the IP address of the router in the address bar. The default IP address is typically “192.168.1.1”. n Enter the administrator username and password. The
KVM virt-install: Install OpenBSD As Guest Operating System
Installing OpenBSD as a guest operating system on a KVM host can be done using the virt-install command line tool. Here's a basic guide to help you get started:rn rn Download the latest OpenBSD ISO image from the OpenBSD website. rn Create a virtual machine configuration file using the virt-install
read_urandom: /dev/urandom: open failed: No such file or directory
The error message "read_urandom: /dev/urandom: open failed: No such file or directory" indicates that the system is unable to open the /dev/urandom device, which is used to generate random numbers for various system functions, including cryptography. This error can occur due to a number of reason
setroubleshoot: SELinux is preventing the squid (squid_t) from binding to port 5000 Error and Solution
The error message "SELinux is preventing the squid (squid_t) from binding to port 5000" indicates that SELinux is blocking the Squid proxy server from listening on port 5000. This is because SELinux is configured to enforce strict policies on which services are allowed to bind to which network ports
Linux KVM: OpenBSD Guest Hangs At Starting tty Flags
The issue of an OpenBSD guest hanging at “Starting tty flags” on a Linux KVM host is often caused by a compatibility issue between the OpenBSD kernel and the virtualization technology used by KVM. n Here are a few steps you can try to resolve the issue: n n Upgrade to the latest version
RHEL6 Beta: HowTo Use yum Command To Install Packages Without RHN
On Red Hat Enterprise Linux (RHEL) 6 Beta, you can use the yum command to install packages without using the Red Hat Network (RHN) by configuring yum to use a local repository or a repository on a network file system (NFS). Here's how you can do this:rn rn Create a local repository: If you have the
Linux: Setup SSH To Tunnel VNC Traffic Though Internet
Setting up an SSH tunnel to tunnel VNC traffic through the internet involves creating an encrypted connection between your local machine and a remote server. This can be accomplished using the following steps:rn rn Install an SSH client on your local machine. If you're using a Linux or mac
2,685 guides published.
