Edit configuration file. vim /etc/my.cnf add “skip-grant-tables” in [mysqld] field. Save and exit Restart mysql servicesystemctl restart mysqld Login mysqlmysql -uroot -p Switch database to…
PURPOSE All servers which are in internal network adopt NTP service to keep time consistent with each other,avoiding bussiness abnormal due to time issue. ROLES…
Background Some times we need to create plenty of virtual machines or containers in a physical linux server and there is a requirement that all…
How to check UUID [root@vm_666 ~]# blkid /dev/mapper/VlGroup: UUID=”a37054-05bb0bb3d6″ TYPE=”ext4″ /dev/sda1: UUID=”2354-BFD5″ TYPE=”vfat” /dev/sda2: UUID=”8546a028-60e8370cd0a4″ TYPE=”ext4″ /dev/sda3: UUID=”VSUEe9-JDla-H-YLdP0″ TYPE=”LVM2_member” /dev/sdb1: UUID=”Jt2K-x3YX-DKPG-1c-mzi” TYPE=”LVM2_member” /dev/sdc1: UUID=”57568644-dbadc066d75e” TYPE=”ext4″…
In odder to avoid ip spoof in linux, we can binding ip and mac. 1. Appoint (1). The gateway has been bound to the machine below…
1. Check version of kenel uname -a Linux RHEL6 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux 2. Download the…
Test 64K read speed with system cache dd if=/dev/zero of=/…/test bs=64k count=100000 Test 64K read speed without system cache dd if=/dev/zero of=/…/test bs=64k count=100000 oflag=direct…