Objective
Send the text message point in time, the traffic is large, the request is more concurrent, the business Web machine can't handle it, the new 2 sets of web-machine response is added. The Linux software installation knows that the dependency of various libraries will cause people to crash, especially if the server can not access the external network, it will be very egg pain. Previously installed LNMP development environment is a single separate source code compilation installation, installation process due to environmental problems, will encounter all kinds of strange problems, to solve these problems need to spend some effort. I used to know that Windows has an integrated development package, it's a frog! After coming to the new owner, we know that Linux also has such an integration package, the online Web machine is installed using the integration package, has been running for several years, has been very stable. Using an integration pack installation can greatly reduce the time it takes to build an environment, and only take a bit of time to configure the service. If you are learning to study, it is recommended that you do not use Integration pack installation. Integration package is best to download the official website, it is best not to the kind of advertising very many download stations, now unscrupulous manufacturers too much, download to a Trojan or back door is not good, after all, the online server is not noisy end!
Bitnami
Bitnami is an open source project designed to streamline the installation of high-quality open Source services, and the Open source service suite contains the various software related to launching this service, which can be used as long as the service is installed. Most open source service suites are available, and the suite supports three major operating systems. In the new owner for the first time to find an nginx daemon process has more than 20 trillion, thought that the use of what black technology, the original use of this thing installed, all kinds of dependent libraries are loaded together, so the executable file will be relatively large.
Bitnami Installing the LNMP development environment
Download
Https://bitnami.com/stack/nginx/installer
Installation
1 Root Permissions Installation
2 Install package Add executable permissions
chmod u+x./bitnami-nginxstack-1.8.0-0-linux-x64-installer.run
3 Perform the installation, follow the instructions
1[Email protected]_web07 ~]#./bitnami-nginxstack-1.8.0-0-linux-x64-Installer.run2----------------------------------------------------------------------------3 Welcome to the Bitnami Nginx Stack Setup Wizard.4 5----------------------------------------------------------------------------6Select the components of your want toInstall;ClearThe components DoNot want7ToInstall. Click Next When your is ready to continue.8 9Varnish [y/N]: nTen One Phpmyadmin:y (cannot be edited) A -Is the selection above correct? [y/N]: y - the---------------------------------------------------------------------------- - installation Folder - -Choose a folder toInstallBitnami Nginx Stack + -Select a folder [/opt/nginxstack-1.8.0-0]:/u01/Server + A---------------------------------------------------------------------------- atCreate MySQL'Root' Account - - Bitnami Nginx Stack database root user creation - - Password: -re-Enter: in---------------------------------------------------------------------------- - Setup is now the ready-to- begin installing Bitnami Nginx Stack on your computer. to +Want to continue? [y/N]: y - the---------------------------------------------------------------------------- *Pleasewait whileSetup installs Bitnami Nginx Stack on your computer. $ Panax Notoginseng Installing - 0% ______________ -% ______________ -% the ######################################### + A---------------------------------------------------------------------------- the Setup has finished installing Bitnami Nginx stacks on your computer. + -Launch Bitnami Nginx Stack [y/n]: N
View Code
4 Turn off the started service modify Nginx PHP-FPM configuration as appropriate
[Email protected]_web07 ~]# cd/u01/server
[Email protected]_web07 server]#./ctlscript.sh stop
5 Delete unnecessary services and files (services that are not needed, such as Mysql,sqlite)
Service Management
1 Close all services
./ctlscript.sh Stop
2 Start all services
./ctlscript.sh Start
3 Restart all services
./ctlscript.sh Restart
4 Starting a single service
./ctlscript.sh Start Nginx
./ctlscript.sh Start PHP-FPM
Postscript
Each kit has a Readme help document, which contains the software versions in the package, as well as the installation steps. There are several places to compare pits: 1 The official website only the latest version of the kit, if it is still possible to use the old version, you need to save the old version, 2 after the installation, the service will start automatically; 3 need to know the version of a bundle in the suite, Only after the installation is finished or by reviewing the Readme help documentation.
Resources
"1" Bitnami official website
https://bitnami.com/
"2" Bitnami Wiki
https://wiki.bitnami.com/
Bitnami LNMP Integration Pack Installation Simple Summary