Immigrate WordPress to Google Cloud (Ubuntu 18.04)

At the begining the lowest capacity was chosen for the instance. Just few hours after the immigration finished, I couldn’t load to the site. Neither SSH connection worked.  I tried to review the serial port log, where I could only find soe trace that it might be caused by the PHP. But apart from that, there was no way for me to fix the issue. The first time when I encountered this, I was thinking, OK, maybe I did wrong on some configurations, so let’s redo it… and I got the same result the second time ! 

The third time, I installed BT Panel, which can set up the environment automatically. And still the second day I get notified that the performance of the instance is saturated. 

继续阅读Immigrate WordPress to Google Cloud (Ubuntu 18.04)

Ubuntu 10.04 安装 Google Pinyin输入法

【来源】

A. 获取代码:(没有git的先安装git:sudo apt-get install git-core

$ git clone git://github.com/tchaikov/scim-googlepinyin.git

$ cd scim-googlepinyin.git

B. 编译前提:

上面给的链接里面有介绍怎么编译的,但少提了几个必需组件,这里列一下:

* autotools-dev

* libgtk2.0-dev

* libscim-dev

* libtool

* automake

用下面命令看看是不是安装了,如果没有,会自动帮你安装上:

$ aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automake

C. 编译:

记住系统必须先存在SCIM(没有的话 sudo apt-get install scim 一下)

$ ./autogen.sh

$ make

$ sudo make install

现在重启scim:

关闭scim:

$ pkill scim

然后启动:

$ scim -d

OK,去首选项里的“语言支持”的“输入法”选择scim作为默认输入法就OK了。