VPS using Lnmp install wordpress tutorial, vpswordpress_php Tutorial

Source: Internet
Author: User
Tags vps install wordpress

VPS using Lnmp install wordpress tutorial, vpswordpress


Objective

A few days ago, my friend had a spare vps,256m memory on hand, and I decided to play it. After some thinking, it is still used to hang up the station. Then see is the CENTOS6 system, decisive decision with never played Lnmp. So, Baidu, Google to find tutorials, a lot of tutorials are problematic, resulting in reloading countless systems, wasting a lot of time. Now summarize the experience of success.

Install screen

Enter Yum install screen at terminal

When finished, enter screen-s lnmp

Why did you do it? The answer is simple, because it can protect your remote connection and let the work stop unexpectedly. I was in the installation of LNMP time longer, and Xshell once inexplicably disconnected, scared I thought again to come. Fortunately, the beginning of the screen, the process is still.

If your terminal is accidentally disconnected at work, you can enter Screen–ls to view all screen sessions and then enter the Screen–r + codename to recover.

Installing LNMP

Enter the following code in 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

Follow the prompts to install

The MySQL password is required here

Then enter here to verify that MySQL InnoDB is enabled

Select PHP Version

Select MySQL Version

I personally recommend it all up to date.

A long wait ..... I spent three hours ...

Done

Configure the site

The environment has been installed, how to make it can hang up the station.

In terminal input /root/vhost.sh

Here, enter the domain name to bind, where www.joycex.com and joycex.com are not the same domain name. It is recommended to enter here together, between two domain names open with a space.

If you accidentally hit the wrong, use Ctrl+backspace to delete, do not directly backspace (so that the child will not be deleted, but appear ^h)

The following prompt will appear after carriage return

If you need to add more domain names, do not need to enter n directly. If you need to enter Y return

Next is to set the site directory location, generally do not need to set the direct carriage return.

Here you choose whether to add pseudo-static rules, such as no pseudo-static, direct input n Enter. If you need to enter Y carriage, then select Pseudo-Static or custom pseudo-static

Select Y to receive the following prompt

The default already has a lot of things, you can directly enter the above name.

We install WordPress here, direct input WordPress can be.

Choose whether to open the log below

Generally, it's nothing. Select n

Appears: Press any key to start create Virtul host ... , enter again to confirm that the virtual host will be added automatically.

Install WordPress

In view of the command operation is very inconvenient, all recommended to download to the local, and then use WINSCP this sftp software upload to the site Directory

First go to http://cn.wordpress.org/download WordPress

Upload with WINSCP

In the browser input/HTTP/domain/wp-admin/install.php

Then went into the WordPress Classic installation Interface, the hint is very simple, very easy to install

We're done in less than five minutes!

http://www.bkjia.com/PHPjc/934021.html www.bkjia.com true http://www.bkjia.com/PHPjc/934021.html techarticle VPS using Lnmp installation wordpress tutorial, vpswordpress preface a few days ago, a friend has a free vps,256m memory, I decided to take a play. After some thinking, it is still used to ...

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