我爱mysql


grant all on *.* to user@'1.1.1.1' identified by 'ZTZLlm';
grant all on db_name.* to user@'1.1.1.1' identified by 'e06AZr';

create user user@'127.0.0.1' identified by 'xxxxx';
grant all on *.* to user@'127.0.0.1';
grant select on *.* to user@&

Read more

常用命令


echo "xxx" >/etc/hostname
hostname -F /etc/hostname


cat /etc/locale.conf
LANG="zh_CN.UTF-8"
LANG="en_US.UTF-8"

yum install -y virt-what
yum install -y net-tools.x86_64


/etc/selinux/config

yum安装
# 安装EPEL源
yum install epel-release 
# 安装python36、pip36
yum install 

Read more