Installation and mounting centos7 mysql 5.7.20 (pro-test)

A mounting system centos:
1. Download http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
2. ifconfig unavailable solve:
In the virtual machine minimize installed centos7, after no Internet access, the card is not activated by default because centos7.
And not in the sbin directory ifconfig file because centos7 no longer use the ifconfig command has been replaced by the ip command;
and the name of the card is not eth0, but rather a change eno16777736.
Ifconfig solve unavailable: ip addr network card that is allocated viewing situation.
Activate the card: in the file / etc / sysconfig / network-scripts / ifcfg-enp0s3 in
edit mode, the ONBOOT = no change ONBOOT = yes, it is OK.
After saving the restart card: service network restart
at this time can be online. (If you do not know how to judge whether the Internet, ping URLs can look, is so simple, such as a command: the ping www.baidu.com)
3. -bash: netstat: the Command not found
yum install NET-Tools
under 4. Centos7 no iptables file
https://blog.csdn.net/momo_mutou/article/details/81739155


Two, mysql 5.7.20 installation:

1. MySQL package download: https: //cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz

2. The installation process is very detailed:
https://www.jianshu.com/p/6430458aad78

Guess you like

Origin www.cnblogs.com/mobaids/p/11367699.html