Binding IP addresses to MAC addresses as static ARP entries on Linux helps prevent ARP spoofing attacks on the LAN. This article covers the immediate-effect arp -s command and writing it into rc.local for auto-binding at boot.
On CentOS, edit the ifcfg-eth0 network configuration file to set a static IP, netmask, and gateway, configure DNS in /etc/resolv.conf, then restart the network interface. This article provides a complete configuration example.
Use mount -t cifs to mount a Samba share from one CentOS server onto another. This article covers anonymous mounts, authenticated mounts, auto-mount at boot, and mounting with a specific SMB version.
Installing and configuring Samba on CentOS 7 lets you share server directories with Windows or other Linux machines. This guide covers installation, smb.conf configuration, user setup, and a one-click configuration script.
Disks under 4T can be partitioned with fdisk on CentOS, formatted with mkfs.ext4, and mounted to a target directory. This article covers the full flow from listing disks, formatting, partitioning, mounting, to writing fstab.
Disks larger than 2T cannot be partitioned with fdisk; you must use parted to create a GPT partition table. This article walks through partitioning, formatting, and mounting a 4T disk to /www on CentOS 7, including partition alignment.
After a minimal CentOS install, the scp command may be missing and report -bash: scp: command not found, while yum install scp finds no matching package. scp actually belongs to openssh-clients, so installing that package fixes it.
Use the dd command to quickly test the disk read/write speed on a CentOS server. This article covers three common dd commands for write speed, read speed, and synchronous (small-block) write speed, along with their meaning.
An incorrect server time on CentOS affects logs and scheduled tasks. This article shows how to sync time with ntpdate in one command, write it to the hardware clock, and change the timezone to Shanghai (CST).
Batch extracting multiple zip files on CentOS can be done with xargs, find -exec, or a for loop. This article covers four batch extraction methods and how to overwrite-extract zip files with a given prefix.
Google AdSense does not offer a direct way to change the login email, but you can indirectly achieve it by transferring the account to another Google account via Access and Authorization. This article records the complete process and considerations.
The SVN version bundled with CentOS 7 is often old. You can upgrade SVN to 1.8 by configuring the Wandisco yum repository. This article covers removing the old version, configuring the repo, installing, and verifying.