Excuse me. How can I install the LNMP environment?

Source: Internet
Author: User
I bought a cloud host from a Space Provider. Is centos6.364. How can I install these environments? I mean. Is the software directly installed online, or is it necessary to upload the software to the host through the software (XSHELL) and then install it? It is best to install it in source code .. I bought a cloud host from a Space Provider. Is centos 6.3 64-bit.
How can I install these environments?
I mean. Is the software directly installed online, or is it necessary to upload the software to the host through the software (XSHELL) and then install it?
It is best to install it in source code ..

The problem has been disabled. cause: the problem cannot obtain the exact result.

Reply content:

I bought a cloud host from a Space Provider. Is centos 6.3 64-bit.
How can I install these environments?
I mean. Is the software directly installed online, or is it necessary to upload the software to the host through the software (XSHELL) and then install it?
It is best to install it in source code ..

As long as it is not a windows Local development environment, it is not recommended to use the Integrated Installation Package, even if they are very simple (usually the configuration and integration of these installation packages are very elegant ). you should use the Package Manager of the corresponding Linux release or use the source code to compile and install the package, directly download it to the cloud host through Xshell, and then compile and install the package.

We recommend that you record each command for future viewing or reuse.

LNMP installation package

It is not recommended to compile and install the source code. It looks very good. In fact, it is not as convenient as using the package manager, and the path you compile and install does not necessarily conform to the linux standard directory structure.

The following is the installation method. Execute one line and observe the execution log.

 wget http://nginx.org/keys/nginx_signing.key apt-key add nginx_signing.key

Edit/etc/apt/sources. list and add the following content (replace codename with squeeze or wheezy according to the operating system version ):

Deb http://nginx.org/packages/mainline/debian/ codename nginx
The deb-src http://nginx.org/packages/mainline/debian/ codename nginx

Run the following statement to install nginx | mysql | php
Apt-get update
Apt-get install nginx
Apt-get install mysql-server
Apt-get install php5-fpm

We recommend that you install YUM one by one. You only need to find the name of the corresponding package.
I have some examples to teach you how to install Ubuntu step by step. CentOS is unavailable for the time being.

LNMP is a good integration. Why is it not recommended? What's the main concern? Is there any other research?

For those who cannot install
One-click installation package of lnmp.org is a good choice.
Before amh. sh is actually a simpler choice, but the author does not know why the old version 5.0 cannot be installed smoothly after the new version is released, the so-called 5.0 payment is even more difficult to use...
Another wdlinux has been useless for a long time and does not know the current situation.

Install centos directly using yum.

Https://github.com/lj2007331/lnmp
You can try this

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.