CentOS:
yum -y install fcitx fcitx-googlepinyin
Debian/Ubuntu:
sudo apt-get install fcitx fcitx-googlepinyin
Reboot the server:
reboot
After rebooting, you can select the relevant input method from the top-right corner of the desktop:
CentOS:
yum -y install fcitx fcitx-googlepinyin
Debian/Ubuntu:
sudo apt-get install fcitx fcitx-googlepinyin
Reboot the server:
reboot
After rebooting, you can select the relevant input method from the top-right corner of the desktop: