Bahrain Redhat Linux Enterprise 5.4 just pretty excited, but I would like to configure the search in the Linux environment, it is necessary to test the Chinese search, Chinese environment must support.
First, I will change the Chinese Language, when are small frame, Rangou very silent ah.
Chinese display issue
The Windows / fonts / simsun.ttc (Times New Roman / New Times New Roman font files) into the ftp, and then use the ftp command to download down (even in the company to use the virtual machine, m have the means, or else like using U disk a)
cd to / usr / share, mkdir fontstruetype, cd fontstruetype, mkdir simsun
Will simsun.ttc into simsun, the re-registration system. Chinese support has been buttoned up.
Chinese input method installed
Then download the small penguins input, official website: http://www.fcitx.org/
First download the fcitx-3.6.2.tar.bz2, but seemingly a successful decompression of the meter.
Then use rpm package fcitx-3.0.2-1.rpm.i386.
# Rpm-ivh fcitx-3.0.2-1.i386.rpm
# Cd / usr / bin
# Ln-sf fcitx chinput
Revision. Bashrc file vi ~ /. Bashrc (no need for the root user)
Found this place:
if [-f / etc / bashrc]; then
. / Etc / bashrc
Subsequently add the following few:
export LANG = zh_CN.UTF-8
export LC_CTYPE = zh_CN.UTF-8
export LC_ALL =
export XMODIFIERS = @ im = fcitx
Restart the computer (logoff can) Chinese input you can use Ctrl + Space to switch out.