One-click installation of LNMP on Linux [simple and practical]

basic concepts

Insert image description here

Reference URL

#安装LNMP执行
wget -c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz &&tar xvf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./install.shlnmp

Installation command

下载并安装LNMP一键安装包:
#tar -xvf lnmp1.2-full.tar.gz
#cd lnmp1.2-full
#./install.sh  lnmp | lamp | lnmpa
安装失败想卸载,执行
./uninstall进行卸载

下载完后会进入到    lnmp 1.2-full
然后可执行 ./install.sh lnmp|lamp|lnmpa
  • 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:
    Insert image description here
  • 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:
    Insert image description here
  • Enter the serial number of the PHP version, press Enter to proceed to the next step, and choose whether to install memory optimization:
    Insert image description here
  • You can choose not to install, Jemalloc or TCmalloc, enter the corresponding serial number and press Enter
    Insert image description here
  • The red box means please select any key to install. At this time, you can choose Enter and the installation will proceed.
    Insert image description here
  • Successful installation:
    Insert image description here
  • Check that the service is running, and ports 80 and 3306 are both present.
    Insert image description here
  • On the browser page, enter the server URL to check whether the installation is successful.
    Insert image description here

Guess you like

Origin blog.csdn.net/m0_50760467/article/details/131605301