Linux最小化安装
安装完成之后
ifup ens33 开启网卡
ip addr 获取机器地址
下载mysql
curl -O http://10.10.45.193/software/mysql/8.0/
安装mysql
yum install perl net-tools -y
yum remove mariadb*
rpm -vih mysql-community-common-8.0.19-1.el7.x86_64.rpm
rpm -vih mysql-community-libs-8.0.19-1.el7.x86_64.rpm
rpm -vih mysql-community-client-8.0.19-1.el7.x86_64.rpm
rpm -vih mysql-community-server-8.0.19-1.el7.x86_64.rpm
开机启动
systemctl enable mysqld
跳过安全检查
vi /etc/my.cnf 添加 skip-grant-tables
启动mysql
systemctl start mysqld
登录
mysql -u root -p