I’d like to divide it into three parts:
Since six months ago I purchased a host with the most economic plan in Godaddy, trouble comes one after another.
- Delay: timeout from L.A. to P.R.C is insufferable. I am still receiving caution mail from my DNS server.
- Complexity: cPanel is a messy system and it is out of control without VPS plan.
- Ceiling Effect: Imagine those difficulties could be solved, but there is no room for me to study the IT through blogging. Because everything is JUST pre-defined by Godaddy. I cannot conduct experimental work on that.
WP deploying in host but not VPS is so dangerous that you would have NO idea about what would happen after you conducted several normal actions.
At first I followed this article to export my data. One of the most damned thing is that the tool it mentioned to export lead my host resources to upper bound.
Coincidently, my backup system just backed up the server after I install the plugin. Here are the table showing comparison:
More terrible thing is the overall host, including CPU Usage, Physical Memory Usage, I/O Usage, all went to high. I tried UI or SSH, but no access to restart the system. Damnned Godaddy!!!
Later I got the useful toolkit. Just follow Binux’s article to normally export WP contents into XML files.
One thing I need to say concretely is about this plugin exitwp, which was used to convert WP .xml into .MDs.
Assume that I’ve put the xml file(s) into
RamDisk (a directory)
cd /Volumn/RamDisk/ ## This is a temp directory
Now, your old WPs had been convert into markdowns in the directory:
Next thing we need to do is install Jekyll on the local in order to do debug.
Create a new repo called
$USER.github.io in your github.
sudo HTTP_PROXY="http://127.0.0.1:8087" gem install jekyll
sudo pip install Pygments
cd ~/Documents/github/ ## this is the place where you would like to host locally
git clone https://github.com/plusjade/jekyll-bootstrap.git hasset.github.com
git remote set-url origin [email protected]:hasset/hasset.github.com.git
git push origin master
If you’ve successfully done the job above, now feel free visit your local demo.
After modification, you can repush this repo. The Github Pages would be updated within 30 minutes.
- I used to comment on some blogs and found a strange issue, after refresh the comment would be vanished. Up to now I realized that this is because of the updating delay of git-pages system.
- The typo issues on my old diaries, which is not image links but also contains Latex zoteros and downloads, may not be fix until I got free time.
- I will continue opening my old blog until the host expired. But I will only post on github from now on.