Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Help: Old Employees Accessing The Linux Server
If you have employees who have left the company, but still have access to your Linux server, you should immediately revoke their access to prevent any potential security breaches. Here are some steps you can take to do this:rn rn Identify the user accounts that need to be revoked. You can do this by
CentOS / RedHat: Set Password Quality Requirements
In CentOS and Red Hat, you can set password quality requirements using the pwquality module. This module is used by the PAM (Pluggable Authentication Modules) system to enforce password quality policies. Here are the steps to set password quality requirements:rn rn Install the libpwquality package i
Bash Script: Read One Character At A Time
In a Bash script, you can read one character at a time using the read command with the -n 1 option. Here's an example:rn rn rn #!/bin/bash while true ; do rn read -n 1 charrn case $char in rn q) exit ;;rn *) echo "You pressed the $char key" ;;rn esac rn done rn rn rnThis script reads one charac
Gnome Find Drive Serial Number
In GNOME, you can find the serial number of a drive using the Disks utility. Here are the steps:rn rn Open the Disks utility by clicking on the Applications menu and searching for "Disks". rn In the Disks window, select the drive you want to find the serial number for from the list of drives on the
Linux / UNIX: Restrict Access To A Given Command
In Linux and UNIX, you can restrict access to a given command using file permissions and ownership, as well as the sudo and chroot commands. Here are some methods to restrict access to a given command: n n File permissions and ownership: You can set the file permissions and ownership of the command&
Linux Software for iTunes (iPod classic / iPod Touch / iPhone)
While there is no official iTunes software available for Linux, there are several open-source and third-party applications that can be used to manage your iPod classic, iPod Touch, or iPhone on a Linux system. Here are some options:rn rn Rhythmbox: Rhythmbox is a popular music player and manager for
Samba Restrict File Sharing To Particular Users or Network Addresses
If you are running Samba on a Linux server and want to restrict file sharing to particular users or network addresses, you can use Samba's built-in access control mechanisms. Here are the steps to do so:rn rn Open the Samba configuration file for editing: rn rn rn rn sudo nano /etc/samba/smb.confrn
Samba: Linux Iptables Firewall Configuration
Samba is a popular open-source implementation of the SMB/CIFS protocol, which allows file and printer sharing between different operating systems. If you are running Samba on a Linux server, you may want to configure your iptables firewall to allow Samba traffic. n Here are the steps to configure ip
Linux Tuning The VM (memory) Subsystem
Tuning the VM (Virtual Memory) subsystem in Linux can help improve performance in systems with memory-intensive workloads. Here are some general tips to help tune the VM subsystem:rn rn Adjust the swappiness value: The swappiness value determines how aggressively the kernel will swap out memory page
CentOS / Redhat: Protect Yum Repo's Packages
To protect the packages in your Yum repositories on CentOS/Redhat, you can use GPG (GNU Privacy Guard) to sign the RPM packages and verify their signatures before installing them. Here are the steps:rn rn Install the necessary packages to support GPG signing and verification: rn rn rn rn sudo yum in
Redhat / CentOS Install Memcached Caching System
To install Memcached caching system on Redhat/CentOS, you can follow these steps: n n Update the system’s package cache using the following command: n n n n sudo yum update n n n n Install Memcached and its dependencies by running the following command: n n n n sudo yum install memcached libme
How To: Upgrade CentOS Linux 5.3 to v5.4
To upgrade CentOS Linux 5.3 to v5.4, you can follow these steps:rn rn Backup your important data and configuration files to ensure that you can recover them if necessary. rn Update the current system using the following command to install any available updates: rn rn rn rn yum update rn rn rn rn Reb
Linux Iptables: Add / Delete An IP Address Remotely Using A Shell Script
To add or delete an IP address remotely using a shell script on Linux using iptables, you can use the following steps:rn rn Connect to the remote server using SSH or any other remote access method. rn Create a shell script using a text editor such as vi or nano. rn Add the following code to the shel
Linux MTU Change Size
The MTU (Maximum Transmission Unit) is the maximum size of a packet that can be transmitted over a network. In Linux, you can change the MTU size to improve network performance or to work around network issues. To change the MTU size in Linux, you can use the ifconfig or ip command. Here's how to
Linux Increasing The Transmit Queue Length (txqueuelen)
In Linux, the txqueuelen parameter is used to set the transmit queue length on a network interface. The transmit queue length determines the number of packets that can be queued for transmission on the network interface at any given time. By default, the txqueuelen value is set to a relatively small
Linux / UNIX Command To Find Out Who Owns a Domain Name
You can use the whois command to find out who owns a domain name on Linux/UNIX. The whois command is a client for the WHOIS protocol that is used to query databases that store information about registered domain names and other resources on the internet. n To use the whois command to find out who ow
Linux Kernel /etc/sysctl.conf Security Hardening
The /etc/sysctl.conf file is used to configure various system parameters on Linux systems, including security-related settings. Here are some steps you can take to harden your Linux kernel by editing the /etc/sysctl.conf file:rn rn Open the /etc/sysctl.conf file with your preferred text editor. rn r
Linux Convert an MP3 File to WAV Format
To convert an MP3 file to WAV format on Linux, you can use the ffmpeg command-line tool. Here are the steps to do it: n n Open a terminal window. n Install ffmpeg if it’s not already installed on your system. On Ubuntu or Debian, you can install it with the following command: n n n n sudo apt-
Rsnapshot WARNING: Could not lchown() symlink "/path/to/file" Error and Solution
The rsnapshot warning message “Could not lchown() symlink” indicates that the rsnapshot backup utility encountered a problem while trying to set the ownership of a symbolic link during the backup process. The lchown() function is used to change the owner of a file, and it can’t be
How to compress files using tar command on Ubuntu Linux
To compress files using the tar command on Ubuntu Linux, you can use the tar command with the -z or -j options to create a compressed archive file. Here are the steps:rn rn Open a terminal window. rn To compress files and directories using the gzip algorithm, use the following command: rn rn rn r
2,685 guides published.
