Local environment: Windows 10 Home Edition + 16G memory + 512G hard disk
Software: VMWare WorkStation 16.0
FinalShell 4.0.1
1. Download the necessary software packages
The download software all chooses the x86 architecture 64-bit! ! ! (You can choose according to your own computer configuration)
CentOS Linux mirror iso file :
https://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/isos/x86_64/
FinalShell download address :
http://www.hostbuf.com/
MySQL 8.0.33 rpm包:
https://dev.mysql.com/downloads/mysql/
JDK11.0 package :
https://repo.huaweicloud.com/java/jdk/11.0.2+9/
Minio rpm package :
https://dl.min.io/server/minio/release/linux-amd64/
2. Actual combat script
2.1 Script to install JDK11
After uploading the installation script and installation package, you need to give jdk11_install.sh
the script file execution permission, the command is as follows:
chmod 777 jdk11_install.sh
After the command is executed, the file will turn green
in the above picture Note: If there is a permission problem, you must first authorize the jdk to the user
提示
: bash: /usr/java/jdk1.8/bin/java: insufficient permissions
Solution: chmod +x /usr/java/jdk1.8/bin/java
- chmod: method to change permissions
- +: Represents adding permissions
- x: Represents execution permission
Just execute the script directly.
Note: There is no script provided here, you can refer to the link below to write it yourself
For script content, please refer to:
Installing JDK 11 on CentOS7.6
The latest Centos 8.5.2111丨JDK installation & uninstallation & running Jar
2.2 Install MySQL script
Same as above, create a new folder /usr/local/
under the folder , upload the MySQL rpm tar package here, and upload the script in addition.名为mysql
After uploading the installation script and installation package, you need to give mysql_install(8.0).sh
the script file execution permission, the command is as follows:
chmod 777 mysql_install(8.0).sh
After the command is executed, the file will turn green
in the figure above , just execute the script directly.
Note: There is no script provided here, you can refer to the link below to write it yourself
For script content, please refer to:
RPM method of installing MySQL on CentOs7
2.3 Minio installation script
Same as above, create a new folder /usr/local/
under the folder , upload the rpm package of Minio here, and also upload the script.名为minio
After uploading the installation script and installation package, you need to give minio_install.sh
the script file execution permission, the command is as follows:
chmod 777 minio_install.sh
After the command is executed, the file will turn green
in the figure above , just execute the script directly.
Note: There is no script provided here, you can refer to the link below to write it yourself
Script content can refer to:
centos7 environment installation stand-alone version MinIo background self-start
Linux (centos7+/redhat7+) system rpm offline installation minio graphic detailed explanation
Centos 7 installation series (9): Minio (rpm mode)
According to feedback from netizens: To share this running script, please refer to the blog link below: