Summary of wordpress blog migration to digital ocean

Source: Internet
Author: User
Tags vps wordpress blog

It will also be a little unstable, and the storage of cloud space is not free. I always want to buy a vps, and I don't want to buy it because of the well-known reasons in China, the goal is to put Linode and digitalocean, two vps suppliers. linode is a veteran company and has won a good reputation with ten years of operation experience and stable services that can withstand the postgraduate entrance exam. DO is a rising star, ssd hard drives and low prices have attracted many new users.
After thinking from many aspects, I decided to adopt the minimum do configuration, with a 20 GB SSD hard drive, single-core cpu, M memory, 1 TB of traffic per month, and a fee of 5 knives per month, you can use the final American Express card to pay for it.
Create a virtual machine tutorial search online, the configuration of lnmp process is also familiar, but encountered a problem when mysql was up, stuck for a long time, when starting mysql, prompt

Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/pztai. pid)

At that time, I searched for the problem solution on google, and said that I had to delete several files. The results were not good at me, check the err log (this file is under the datadir directory you configured).

InnoDB: memory with malloc! Total allocated memory

Finally in stackoverflow find the answer I want, the virtual machine is not configured swap space, refer to the how-to-add-swap-on-centos-6 this article describes how to increase the swap space, and permanent storage method.

When compiling php and make, a compilation error occurs.

Cc: Internal error: Killed (program PC3)

The reason for this error is that the vps memory is too small. During compilation, add-disable-fileinfo.

In general, vps is good to use and the speed is acceptable. I plan to write my own blog in the near future, which is simple and lightweight. For me, wordpress is still too large.

It is too time-consuming to give up on this idea. It is better to learn something else. There are a lot of wordpress plug-ins. Today we have done cache and optimized mysql, and the resource consumption has reached an acceptable level.

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.