Virtual machine centos configuration lnmp one click installation package environment - Mrxn's Blog
«

Virtual machine centos configuration lnmp one click installation package environment

admin Published on October 10, 2015 at 14:17 9564 readings Linux   


Episode: Found after linking virtual machine centos with ssh Wget: command not found Because the wget package is not installed , here are two solutions:

In general, wget will not be installed by default when minimizing the installation of Linux.

You can install it in two ways:

1. Rpm installation

Rpm download source address: http://mirrors.163.com/centos/6.4/os/x86_64/Packages/

Download the RPM package of wget: http://mirrors.163.com/centos/6.4/os/x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm

Rpm ivh wget-1.12-1.4.el6.x86_64.rpm.

What if the client uses SecureCRT and the rzsz package is not installed in Linux, and rz cannot upload files? I want to install another SSH client: SSH Secure Shell. Then it is transferred to the server for installation. This is difficult, so the second method is recommended. However, if the yum package is not installed, this method is the only way.

2. Yum installation


 yum -y install wget


 01.png

The second method is simpler!!


Latest version:

LNMP 1.2

Download version: http://soft.vpser.net/lnmp/lnmp1.2.tar.gz   (107KB)
MD5:4be72b49b67605477871d3f9676ca52f
Full version: http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz   (312MB)
MD5:b3d3d9e40395f4eb5e525adfaabfb675
Domestic download address:
https://api.sinas3.com/v1/SAE_lnmp/soft/lnmp1.2-full.tar.gz When downloading, wget needs to add the -- no check certificate parameter
http://static.suod.ga/lnmp/lnmp1.2-full.tar.gz
Singapore: http://oah.vpser.net/lnmp1.2-full.tar.gz
Last updated: July 24, 2015 17:34 GMT+8

We'd better use a domestic address. The speed depends on your broadband. If it is the default


 wget -c  http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz  && tar zxf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./ install.sh lnmp

Very slow... It is estimated that it will not be ready until the flowers have all withered, Use domestic address:

 wget -c --no-check-certificate  https://api.sinas3.com/v1/SAE_lnmp/soft/lnmp1.2-full.tar.gz  && tar zxf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./ install.sh lnmp


 03.png

If you need to install LNMPA or LAMP, set the/ Replace the parameters after install.sh with lnmpa or lamp OK. The following are all copies...

If the download speed is slow, please replace the other download node. For details, see Download Page Specific replacement method of LNMP download node

After the above command is executed, the following prompt will appear:

You need to set the root password of MySQL (if you do not enter a direct carriage return, it will be set as root). Enter it and press Enter to enter the next step, as shown in the following figure:

Here, you need to confirm whether to enable MySQL InnoDB. If you are not sure whether to enable MySQL InnoDB, you can enter y to enable it, and n to disable it. It is enabled by default. Enter and enter to enter the next step. Select MySQL version:

Enter the serial number of MySQL or MariaDB version, press Enter to enter the next step, and select the PHP version:

Enter the serial number of the PHP version, press Enter to enter the next step, and select whether to install memory optimization:

You can choose not to install, Jemalloc or TCmalloc, and enter the corresponding serial number.

If it is LNMPA or LAMP, the administrator mailbox needs to be set

Then select the Apache version

When prompted "Press any key to install... or Press Ctrl+c to cancel", press Enter to confirm the installation.
The LNMP script will automatically install and compile Nginx, MySQL, PHP, phpMyAdmin, and Zend Optimizer.

The installation time may vary from tens of minutes to several hours, mainly due to the network speed configured on the machine.

3. Installation complete
If Nginx: OK, MySQL: OK, PHP: OK is displayed

Nginx, MySQL and PHP are all running. Ports 80 and 3306 exist. Install lnmp V1.2 completed! Enjoy it. indicates that the installation is successful.
Next press Add Virtual Host Tutorial , add a virtual host through sftp or Ftp server Upload the website, resolve the domain name to the VPS or server IP, and the resolution is effective.

4. Installation failed

If a prompt similar to the above figure appears, it indicates that the installation failed, indicating that the installation was not successful!! Need to use winscp Or other similar tools, download the lnmp-install.log under the/root directory to LNMP Support Forum Post a post indicating your system release name and version number, 32-bit or 64 bit information, and upload the lnmp-install.log compression to the forum in the form of an attachment. We will find errors through the log and give corresponding solutions.

5. Adding and deleting virtual hosts and pseudo static management
http://lnmp.org/faq/lnmp-vhost-add-howto.html

6. Installation of eAccelerator, xcache, memcached, imageMagick, ionCube, Redis, and opcache
http://lnmp.org/faq/addons.html

7. LNMP related software directory and file location
http://lnmp.org/faq/lnmp-software-list.html

8. LNMP state management command
http://lnmp.org/faq/lnmp-status-manager.html


You can also go to the lnmp official website to view related tutorials: http://lnmp.org/install.html

Linux nginx vps Operation and maintenance lnmp

copyright: Mrxn's Blog
Article Title: Virtual machine centos configuration lnmp one click installation package environment
Article link: https://mrxn.net/Linux/lnmp-VMware.html
All articles on this website are original, and please do not use them for any commercial purpose without authorization

Scan QR code and read on mobile phone

Recommended reading: