You need to set the root password for MySQL (press Enter without entering it and it will be set to root). Enter it and press Enter to go to the next step, as shown in the figure below:
Here you need to confirm whether MySQL InnoDB is enabled, if you are not sure whether it is enabled
You can enter y, enter y to enable,
Enter n to disable it.
The default is y enabled, enter and press Enter to enter the next step, select the MySQL version:
Enter the serial number of the PHP version, press Enter to proceed to the next step, and choose whether to install memory optimization:
You can choose not to install, Jemalloc or TCmalloc, enter the corresponding serial number and press Enter
The red box means please select any key to install. At this time, you can choose Enter and the installation will proceed.
Successful installation:
Check that the service is running, and ports 80 and 3306 are both present.
On the browser page, enter the server URL to check whether the installation is successful.