ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

Ali cloud host to migrate

Tuesday on March 24th, 2020Net Web

A few days ago has been frustrating amh Control Panel, and made people exhausted, although can be used, but the heart is still unhappy, because no official 4.2 upgrade, and if there are loopholes, you also need to make up their own, in addition to the purchase of second-rate service providers host afraid of him running, wondering change to Ali cloud.

There are two reasons, one, my domain record in Ali cloud, if the check was canceled out a lot of trouble, and the second Ali cloud should not be closed down.

Existing web host service attitude is very good, with the 20 days, after deducting the cost of a month, the other back, and be conscientious.

Ali went to see a cloud, just do activities, a cruel, buy a beggar version of the host 3 years (1 nuclear 1G1M), total cost of 1665 yuan after the discount, which under the considered stable.

With the experience of a few days ago, this yourself, facing the tutorial, LNMP deployment environment, very smooth, but the blog migrated encounter some problems, the way to record it to spare, when they bother to look around, hope It can be a friend in need some help.

Let typecho support php7.0

typecho default is not supported php7, and after the completion of the installation configuration is correct, but the display Datebase Server error.

The solution is to modify the database engine Typecho pdo_mysql, it is to config.inc.php in the root directory on the data in that row

$ Db = new Typecho_Db ( 'Mysql', 'typecho_');

Change

$ Db = new Typecho_Db ( 'Pdo_Mysql', 'typecho_');

404 Error

In addition to home can open other pages are 404, I spent several hours online explanation is pseudo-static set incorrectly, so the nginx.conf and mrhe.net.conf modified over and over again, still does not work, yet find less than back to dynamic approach, almost to a refund Ali cloud.

Calm thought, people can be successful, but I fail, what changes is not the place, that I put inside nginx.conf default Web site into a mrhe.net, so there are two configuration files conflicts, leading to pseudo-static failure to nginx.conf inside the default Web site changed back, OK after the restart!

Recommended Tools

Last we recommend the putty, is a command-line tool, this time to recommend a tool like ftp, you can modify the file directly, no need to beat the command vi /usr/nginx/nginx.conf like he It is winscp.

Details

At deployment time to be patient, the network may not need to wait a long time, I've spent only 2 hours to lnmp download and install.

Time to look at the tutorial a little cautious, although the computer is an advanced tool, but it is dead, knock a few punctuation are likely to lead to failure.

I wish everyone well happily toss their hosts.

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/Ali-cloud-host-to-migrate.htm