Switched to Jekyll!
I switched to Jekyll and moved all data over!
窝开始用Jekyll了!
Now I have a GitHub repository for my blog at here! The old posts before this are still accessible from the archived list.
把之前的数据都转移到了Jekyll,甚至放到了GitHub上 (这里)。为了方便阅读(和掩盖黑历史!) 比这篇博客更早的文章可以在这里找到。
It had been a while since I last posted. By a while, I mean 2 years and 3 months. (I need to think about why.) I still had to do the routine maintenance on the server regularly, because I was using WordPress. Every once in a while I had to:
已经很久没有写过博客了。(很久指两年零三个月。)然而因为用的是自搭的WordPress,即使在没写博客的这段时间,窝也必须时不时地维护VPS服务器,以下是例行维护时需要做的事情:
- Log in to my vps server with SSH.
- Turn off Apache.
- Update the software packages.
- Turn on Apache.
- Log in to WordPress backend. Check if there are new version of WordPress (and plugins and themes).
- Allow Apache user to write WordPress folder.
- Update WordPress.
- Disallow Apache user to write WordPress folder.
- (In the beginning of time I didn’t do this. Then my blog got destroyed by someone once, and it had to recover with a backup from a month or so before…)
- …
- SSH登录
- 关掉Apache
- 更新软件
- 开Apache
- 登录到WordPress后台,确认WordPress、主题、插件的新版本
- 赋予Apache用户WordPress文件夹的写权限
- 更新WordPress
- 回收Apache用户WordPress文件夹的写权限
- 。。。
I wrote scripts to automate some of the things but, anyway, I am getting tired of doing these. I am not very a weby engineer (“but a gamey one!”), and I was just to lazy to replace it with another thing. But I realized I need something to save me from the labor.
虽然写了脚本让事情轻松很多,需要手动做的事情还是很繁琐。即使如此窝也就这样用了很久的WordPress毕竟窝不是经常做web相关的码农(还是做游戏最棒!)。终于厌烦了重复劳动,决定找新的解决方案。
I like version control tools, especially git since it’s decentralized and easy
to backup (by just git clone
). I cannot live without them. However with
WordPress and the blog data in mysql database, it didn’t feel I was controlling
them… Plus I want to use my favorite text editor, and markdown.
窝喜欢版本控制软件,尤其是git。它在版本管理的同时还是去中心化的,也就是说每一个克隆了仓库的电脑都是一个有完整历史的备份。总之用git是非常开心的一件事!然而在WordPress里就找不到这样的快乐了:(… 此外,如果能用窝喜欢的文本编辑器那最好不过。
So I made the switch!
窝不用WordPress啦!