Linux,centos, build WordPress with LNMP, update fixed connection--whole process

Source: Internet
Author: User

Afternoon to night time, bought a Linux server, with the CentOS system, encountered various problems!

1, with Putty,ssh to the VPS, according to the online command, step by step download and installation, concrete steps can look at the online tutorial, lnmp.org station on the tutorial is more authoritative

This process is still relatively smooth, including building up, it is best to open the FTP convenient file transfer. I use the first method does not, with the PUREFTP, successfully open the FTP server.

When setting up an FTP account, remember to select the WWW user group and modify the directory permissions.

2, the server environment is configured well, began to build the site.

First of all to add the domain name on the server, add will be in the home directory to generate the corresponding folder, http://www.laozuo.org/181.html this blog is enough to write

Then modify the point in the domain Name service provider.

Download the latest installation package from the official WordPress station and upload it to the domain name directory you just bound under the home path.

After the domain name resolution is effective, you can build the website

Remember to change the name of each file and folder within the default directory in the home directory to ensure security

3, after the construction of the website, there are a lot of trouble things

First of all, WordPress inside theme Brush out a variety of theme folders, because the Scandir function is disable

Login Putty To modify the php.ini file under/usr/local/php/etc

Here to use the Linux read and write modified file of the VI command, here to pre-study VI of various operations, pay attention to the operation process, do not mistakenly delete other text, or use FTP download to modify, but I modified the upload, always out of 503 errors

In this way, you can read the various topics under the theme file.

Then there is a problem, WordPress fixed connection, modified always out of 404 error

The way to find this is to modify the Conf file inside the usr/local/nginx/vhost/.

Need to add a few lines of code, search the Web also has a detailed tutorial

At this point, the site is basically built up, the next step is to add content seo.

The article is written very grass, maybe the whole process is not complete, if there is any problem in the article under the message!

Linux,centos, build WordPress with LNMP, update fixed connection--whole process

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.