VPS install WordPress with LNMP, vpslnmpwordpress_PHP tutorial

Source: Internet
Author: User
Tags vps install wordpress
VPS uses LNMP to install WordPress and vpslnmpwordpress. VPS install WordPress with LNMP. vpslnmpwordpress preface a few days ago, a friend had an idle vps and MB of memory on his hand. I decided to give it a try. After some thought, I still used to install WordPress and vpslnmpwordpress with LNMP for the remote VPS.
Preface

A few days ago, a friend had an idle vps and M memory on hand. I decided to give it a try. After some thought, we still use it to stop the station. Then the CentOS6 system decides to use the LNMP that has never been used. As a result, Baidu and Google looked for tutorials and many tutorials were problematic. as a result, the system was reinstalled countless times, wasting a lot of time. Summarize the successful experiences.

Install screen

EnterYum install screen

EnterScreen-S lnmp

Why? The answer is simple because it can protect your remote connection and stop your work unexpectedly. I have been installing LNMP for a long time, and XShell has been disconnected for some time, so I thought I would try again. Fortunately, the screen was started and the process was still in progress.

If your terminal is accidentally disconnected at work, you can enterScreen-lsTo view all screen sessions, and then enterScreen-r + code.

Install LNMP

Enter the following code on the terminal:

Wget-c http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz & tar zxf lnmp1.1-full.tar.gz & cd lnmp1.1-full &./centos. sh

Install as prompted

Enter the MYSQL password.

Enter here to check whether MySQL InnoDB is enabled

Select php version

Select mysql version

I personally suggest you use the latest version.

Long wait ..... It took me three hours .....

Success

Configure site

After the environment has been installed, how can we make it possible to log on to the station.

Enter/Root/vhost. sh

Enter the domain name to bind. here, www.joycex.com and joycex.com are not the same domain name. We recommend that you enter the two domain names together and use spaces to separate them.

If you accidentally make a mistake, use Ctrl + Backspace to delete it. do not directly use Backspace (this will not delete it, but ^ H will appear)

After you press enter, the following prompt will appear:

If you want to add more domain names, enter n or press Enter. Enter y and press enter if necessary.

The next step is to set the website directory location. Generally, you do not need to set the press enter directly.

Select whether to add pseudo-static rules. if you do not need pseudo-static rules, enter n and press enter. If you need to enter y and press enter, then select pseudo static or custom pseudo static

If you select y, the following message is displayed.

By default, many items are available. you can enter the above name directly.

We can install wordpress here and enter wordpress directly.

Select whether to enable the log below

N is generally useless.

When Press any key to start create unique ul host... is displayed, Press enter again to confirm that the VM will be automatically added.

Install wordpress

Since it is inconvenient to use commands, we recommend that you first download them to your local computer and then use the SFTP software such as WinSCP to upload them to the website directory.

Go to http://cn.wordpress.org/download wordpress first

Upload with WinSCP

Enter in the browserHttp: // domain name/wp-admin/install. php

Then enter the classic installation interface of wordpress. the prompt is very simple and easy to install.

In less than five minutes, we are done!

Preface a few days ago, a friend had an idle vps and M memory on hand. I decided to give it a try. After some thought, it was still used for hanging the station...

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.