Lnmp 0.4 Installation Guide

Source: Internet
Author: User
Tags vps
System installation requirements:
  • 1 GB hard disk space remaining
  • Memory above MB
    Installation steps:

    1. Download the one-click installation package of lnmp:

  • You can use the downloaded version (recommended for foreign or U.S. VPs) or the full version (recommended for domestic VPs.
    2. Unzip the one-click installation package of lnmp:
  • Run the tar zxvf lnmp0.4.tar.gz or tar zxvf lnmp0.4-full.tar.gz to decompress the lnmp one-key installation package.
    3. centos Installation Steps
  • Run the CD lnmp0.4/command in the downloaded version, and run the command in the full version: CD lnmp0.4-full/
  • Then run./centos. Sh, enter the domain name to bind, press enter, enter the MySQL Root Password to be set, and press enter again to confirm.ProgramNginx, PHP, MySQL, phpMyAdmin, and Zend software will be automatically installed and compiled.
    4. Installation Steps In Debian/Ubuntu
  • Run the CD lnmp0.4/command in the downloaded version, and run the command in the full version: CD lnmp0.4-full/
  • Then the 32-bit system is executed. /Debian. SH: Enter the domain name to bind, press enter, enter the location of the VPs/server again: Asia, America, Europe, Oceania or Africa, press enter, and then enter the MySQL Root Password to be set, press enter and press enter again. The program automatically installs and compiles software nginx, PHP, MySQL, phpMyAdmin, and Zend. It takes about 10 minutes to install MySQL.
    Install other components
  • 1. Install eaccelerator and execute the following command:./eaccelerator. Sh will automatically install and restart the web service.
  • 2. Install the pureftpd and Management Panel and run the following command :. /pureftpd. sh will automatically install pureftpd. After installing pureftpd, You need to execute http: // your domain name or IP/FTP/install in the browser. PHP installation of pureftpd user management, first.
    VM management
  • 1. Add a VM and run the following command :. /vhost. sh enter the domain name to be bound as prompted, and press Enter. If you want to add more domain names, enter y, and then enter the domain name to be bound. Multiple Domain names can be separated by spaces. Enter the directory to which the domain name is bound (absolute directory, such as/home/wwwroot/lnmp. If this parameter is left blank, the default domain name is/home/wwwroot/.), and then select whether to add pseudo-static rules, by default, discuz, WordPress, sablog, emlog, and dabr are available. You can directly enter the Preceding Names. To add custom pseudo-static rules, enter the desired name, the program will automatically create a pseudo-static file, directly under/usr/local/nginx/CONF/your custom pseudo-static name. add pseudo-static rules in Conf. Next, you will be prompted whether to enable the log function. Generally, you do not need to start it. Simply enter n. If you need to start it, enter y, and then enter the name of the log file to be defined, press enter to automatically add a VM.
  • lnmp status management: /root/lnmp {START | stop | reload | restart | kill | status}
    pureftpd status management/root/pureftpd {START | stop | restart | kill | status}
    phpinfo: http: // The domain name or IP address entered earlier/phpinfo. php
    phpMyAdmin: http: // The domain name or IP address entered earlier/PHPmyAdmin/
    Probe: http: // The domain name or IP address entered earlier/P. php
    MySQL Root Password: if you do not enter the password, press enter as root. Otherwise, enter the password for you.
    lnmp Directory:
    MYSQL:/usr/local/MySQL
    PHP:/usr/local/php
    nginx: /usr/local/nginx
    website directory:/home/wwwroot

    Note: already in diahosting and photonvps (Thanks for providing the test VPs) rashost, vps.net, breezehost, rapidxen, And the centos 32/64 bit and Debian 4/5 32/64 bit on VPs provided by several lnmp users. I would also like to thank the merchants and netizens who provided the test VPs.

  • 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.