Linux Server Web Environment one-click installation package and tutorial

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Lanmp/lamp/lnmp/lnamp One-click installation package, quick install package, Linux Server Web environment one-click installation package

LANMP One-button installation package is a quick and easy installation package for the Web application environment that Wdlinux launched at the end of 2010.

Execute a script, the entire environment will be installed to complete the use, fast, easy to operate, safe and stable

LANMP One-click installation package is written with a shell script, and is open source, you can also according to business needs, make appropriate adjustments to install the environment you need.

LANMP represents the linux,apache,nginx,mysql,php abbreviation, currently supports three kinds of environmental installation, that is Lamp,lnmp,lnamp

At the same time, the default installation zend,eaccelerator,pureftpd and other corresponding acceleration, optimization and other software, as well as FTP software

Optional installation of the following three, can also be installed, and then through the WDCP background can switch to use a different environment

1 lamp (Linux+apache+php+mysql) is called the Golden Combination of Web applications under Linux

2 Lnmp (Linux+nginx+php+mysql) A new popular application portfolio for static processing is better

2 Lnamp (Linux+nginx+apache+php+mysql), that is, the nginx+apache combination of the application of the environment, that is, nginx front-end processing of static, pictures and so on, apche processing the background PHP script program.

Nginx in the processing of static files have very good performance and stability, and save resources, but in the processing of PHP application is relatively unstable, and Apache in the processing of PHP application is very stable, and therefore, the current more popular a n+a combination of applications emerged

Using one-click installation package, convenient, simple, and fast. such as their own installation, trouble, but also time-consuming, may be some inexplicable problems difficult to solve, of course, a key package installation may also have problems, but the problem will be less, at least there will be no input errors and other errors appear

Related tutorials:

Instructions on installing a key package "stuck" at MySQL compile time

When installing a key pack or WDCP, someone often reacts when installing MySQL "stuck", as shown below

  

It's not a card, it's a MySQL build. The installation itself takes longer than any other apache,php,nginx.

Generally 10-30 minutes, but also according to the machine hardware configuration, high configuration of the machine will be faster, low configuration naturally longer a little

So please use a key package to compile, more patience to wait

You can also determine whether MySQL is in the installation or is really jammed by the following method

On the SSH connection terminal, view resources with top

If you can see some make,cc1,install and so on the process of beating, instructions are in the installation, patience is

If there's nothing, it could be real stuck or the network's broken.

But as far as I know, the basics rarely get stuck, sometimes because of network outages.

WDCP, a health installation package how to modify the MySQL data directory

The default installation directory for MySQL in WDCP and one-click packages is

/www/wdlinux/mysql Directory

The Data directory is

/www/wdlinux/mysql/var

What if the database is large or the partition is too little? Just put the database data in another directory or partition to

The method of operation can have several

1 Modifying/WWW/WDLINUX/ETC/MY.CNF files

2 using a partition to mount a directory or File connection form

Here, only the instructions to modify the my.cnf file, in fact, very simple

1 Create a storage directory, such as

Mkdir-p/data/mysql/var

2 Stop MySQL

Service Mysqld Stop

3 Modifying the configuration file

Vi/www/wdlinux/etc/my.cnf

Add the following line in the [mysqld] section

Datadir=/data/mysql/var

The following figure

  

Save exit

4 move or copy data to a new directory, as follows

cp-pr/www/wdlinux/mysql/var//data/mysql/

5 Start MySQL

Service mysqld Start

At this point, complete

MySQL data has been moved to the new directory

LNMP Environment set 301 jump with IP access to the domain name problem description settings

Problem description

In the LNMP environment, added a site, and set the 301 jump, and then directly with IP to open the jump to the domain name on the

Solutions

WDCP Create a default site in the background

This article is excerpted from Wdlinux Forum, reproduced please specify!

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.