In order to match the previous text, here first to organize a key how to deploy LNMP environment;
In fact, small and medium-sized enterprises in the production environment is also very like to use such software packages, because after all, the source package installation steps so many who can not step in where to knock out, in the production line you say a LNMP server hangs, you are in step by step of the knock has, if you once again, the boss is still bad impression on you, You'll be miserable. In the computer room, there are a lot of service providers are using this software package, as for those will not say, we come to see what this package is.
Download down the full package name is: lnmp1.2-full.tar.gz, I unpacked open look:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E5/wKiom1XvsjmCwI5qAALT5AmtCbk361.jpg "title=" QQ picture 20150909121337.png "alt=" Wkiom1xvsjmcwi5qaalt5amtcbk361.jpg "/>
In the Conf file is placed in the configuration files, include files are installed software scripts, INIT.D is the boot file, SRC is required software, tools are some tool scripts, interested can download down to see.
Start the installation now, before you install it, you need to perform a screen-s lnmp if you save, you can install screen first.
Yum Install screen or apt-get install screen installs screen for the reason that the network suddenly dropped or accidentally putty shut down and so on, causing the LNMP installation process to be interrupted
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E2/wKioL1XvtsGBVpQQAAOuRA0sDPE788.jpg "title=" QQ picture 20150909094030.png "alt=" Wkiol1xvtsgbvpqqaaoura0sdpe788.jpg "/>
You can use the source package to install it according to your preferences. We're going to start installing LNMP.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E5/wKiom1XvtMnD3kTHAAXUcbdbpYc282.jpg "title=" QQ picture 20150909094118.png "alt=" Wkiom1xvtmnd3kthaaxucbdbpyc282.jpg "/>
Depending on the installation package that you can see we want to download lnmp1.2-full.tar.gz, go to the installation package to execute./install.sh LNMP This is the installation of LNMP, if the lamp is installed on the back with lamp or Lnmpa can be, Here we use LNMP to do the experiment. Need to download LNMP software, need to wait a few minutes.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/72/E2/wKioL1Xvt6vTEvmIAALb1mOOEX8846.jpg "title=" QQ picture 20150909115319.png "alt=" Wkiol1xvt6vtevmiaalb1mooex8846.jpg "/>
Here, the default MySQL password is "root" and you can go straight to the right to remember.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E2/wKioL1Xvt_eh-mq1AAPbYwiL3AM127.jpg "title=" QQ picture 20150909115407.png "alt=" Wkiol1xvt_eh-mq1aapbywil3am127.jpg "/>
Below is the prompt you need to install InnoDB No, if necessary, yes does not need to be no, we choose Yes. InnoDB is one of MySQL database engine, here do not do too much explanation, interested can Baidu a bit.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E5/wKiom1Xvtq3T4wRuAAHKLtgq2oc993.jpg "title=" QQ picture 20150909115530.png "alt=" Wkiom1xvtq3t4wruaahkltgq2oc993.jpg "/>
Choose the version of the installation database, the default is 5.5.42, according to their needs to choose their own needs, I choose here 5.6.23.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/E6/wKiom1XvtwnD2fqGAAGOVEIRfWY672.jpg "title=" QQ picture 20150909115605.png "alt=" Wkiom1xvtwnd2fqgaagoveirfwy672.jpg "/>
Choose PHP version, default is 5.4.41 here Select 5.6.9
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/72/E6/wKiom1XvtzWQpm4lAAF1mDM8UqI551.jpg "title=" QQ picture 20150909115717.png "alt=" Wkiom1xvtzwqpm4laaf1mdm8uqi551.jpg "/>
This according to my explanation is the memory allocator, can Baidu a bit, here does not need, I am in own virtual machine, the memory also is not big.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/E6/wKiom1Xvt6nwHR1CAAIRISWv8cs555.jpg "title=" QQ picture 20150909115739.png "alt=" Wkiom1xvt6nwhr1caairiswv8cs555.jpg "/>
When installing to this note the red part of my understanding is to install continue, do not install on CTRL + C, so enter.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/E2/wKioL1XvusTwr8w1AAfYkVETxLA645.jpg "title=" QQ picture 20150909124024.png "alt=" Wkiol1xvustwr8w1aafykvetxla645.jpg "/>
When you see this page, then congratulations, it's done,
This article from "Stand in the Cloud" blog, reproduced please contact the author!
Use shell script to build LNMP environment in one click