I bought a cloud host in the space quotient. is CentOS 6.3 64 bit.
How do I install these environments?
I mean. Is it connected to a direct installation, or will it be uploaded via software (Xshell) to the host and then installed?
It is best to install the source code:
This issue has been turned off because of an issue where the exact result cannot be obtained
Reply content:
I bought a cloud host in the space quotient. is CentOS 6.3 64 bit.
How do I install these environments?
I mean. Is it connected to a direct installation, or will it be uploaded via software (Xshell) to the host and then installed?
It is best to install the source code:
It is not recommended to use an integrated installation package as long as it is not a local development environment for Windows, even if they are simple to use (usually the configuration and integration of these packages is very sophisticated). You should install with the appropriate Linux distribution Package Manager or use the source code to compile the installation, download directly to the cloud host via Xshell, and then compile and install.
It is recommended that each command be logged for later viewing or reuse.
Lnmp One piece of installation package
It is not recommended to compile and install the source code, looks very strong appearance, in fact, it is better to use the Package Manager convenient, and you compile the installation path does not necessarily conform to the Linux standard directory structure
Here's how to install it, please do it one line at a 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 (replace codename with Squeeze or Wheezy depending on the version of the operating system):
Deb Http://nginx.org/packages/mainline/debian/codename Nginx
DEB-SRC Http://nginx.org/packages/mainline/debian/codename Nginx
Execute 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
It is recommended to install one with Yum. Just need to find the name of the corresponding package.
Ubuntu I have an example to teach you to install step-by-step, CentOS temporarily does not.
LNMP is a good integration, why not recommend it? The main thing to consider is safety? Or are there other lectures?
For people who can't install,
Lnmp.org One-click installation package is a good choice
Before the amh.sh is actually more simple choice, but the author does not know why the interests of the heart out of the 5.0 version, 4.2 old version of the installation is not smooth, and so-called pay 5.0 is more difficult to use very ...
There's a wdlinux for a long time, and I don't know what's going on.
CentOS Direct Yum installation on line
Https://github.com/lj2007331/lnmp
You can try this.