Linux VPS Installation PHP probe specific method steps

Source: Internet
Author: User
Tags vps
There are many ways to install a PHP probe, but the installation method is sometimes somewhat problematic, and here I will give you a comparison of the time-saving memory installation method. The content is not much, but it is time-saving.

Description: A lot of people estimate will only install military elder brother's Lnmp a key package, this is very troublesome, after all, after all installs LNMP to be very long time, also has many people to write the Fool type tutorial more or less also will appear the point question, also did not have any good method, on oneself wants to write a few minutes can install the good tutorial, See Foreigners write Lowendscript lnmp script installed nginx and PHP environment is very fast, but also save memory, the use of the next, here is the method, generally installed 2 minutes, or quite fast.

Note: This method is only available for Ubuntu and Debian systems.

1. System Update and upgrade

APT-GET-Y Update && apt-get-y upgrade

2, install Nginx and PHP environment
Login VPS Run the following command:

wget--no-check-certificate https://raw.github.com/Xeoncross/lowendscript/master/setup-debian.sh && chmod + x setup-debian.sh &&./setup-debian.sh dotdeb &&/setup-debian.sh nginx &&./setup-debian.sh Php

3, create the site directory and download Ya black probe
If the system is not installed unzip use the command: Apt-get install unzip installation, the following will be used.

Change the YOUR_IP in the following command to your server IP and execute the command:

./setup-debian.sh site Your_ip && cd/var/www/your_ip/public && wget http://www.yahei.net/tz/tz.zip && Unzip Tz.zip

You can also change the your_ip to one of your domain names, but the domain name must be resolved to the server IP.
Last probe access address: http://your_ip/tz.php

Tip: If you do not like ya black probe, you can create a site directory, using WINSCP and other FTP tools to upload other probe files to the/var/www/your_ip/public directory!

Related Article

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.