Article Title: implement Chinese characters on the Ubuntu virtual console. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I downloaded ubuntu server-7.10-i386 from the Internet and installed it in Vmware.
To display Chinese Characters in text mode, you must use other software. This software is a very famous zhcon. To facilitate the download, install the required software package, let's update the source:
1. Use vi to open/etc/apt/sources. list and add the following sources to it:
Deb http://archive.ubuntu.com/ubuntu/ warty universe
Deb http://archive.ubuntu.com/ubuntu/ warty multiverse
Deb http://debian.cn99.com/debian stable main non-free contrib
(In practice, it is found that the update package is mainly downloaded from the default source)
2. after the application is added, execute apt-get update, which we are very familiar with. After the update, you can use apt-cache search to find out if there is any zhcon software. (I have seen familiar garbled characters)
3. after the search is complete, execute the online installation (apt-get install zhcon) command to display a bunch of English letters and prompt that the installation cannot be performed. The heap English will tell you: to install the zhcon package, you must install xxx, xxx, and xxx because they are dependent on each other. (Haha, I am lucky to have successfully installed it. If it fails, you can continue to read it)
5. at this time, another command will help you to install the --- apt-get dist-upgrade command in zhcon. The function of this command is to ignore the dependency of unnecessary software packages. after hearing this command, I am in the mood. that's not to mention.
6. After executing this command, we can install zhcon online. The process is long (mainly depends on the network speed)
7. It seems that there is no response after installation... Don't worry, we have a lot of preparation work to do before entering zhcon. First, open/etc/profile in vi, and add
Export LANG = zh_CN.GB2312
Export LC_All = zh_CN.GB2312
The preparation is completed, and the purpose of this change is to declare the use of simplified Chinese language after entering zhcon.
8. at this time, you can enter zhcon. The access method is also very simple: zhcon is enough. It should be noted that if you directly enter zhcon in a virtual machine, sometimes the machine will crash, that is, there will be no crashes, no command can be entered (I am using a virtual machine to implement it ).
Why. because zhcon is a plug-in control platform, that is, it is an additional software installed like US-DOS. After installation, it requires a driver to go in, of course, the driver has been installed when you apt-get install zhcon. All you need is to declare the driver you use when you import zhcon, and when you install zhcon, three drivers are installed: vga, framebuffer, and libggi. I usually use the first driver because it is convenient and simple, and the two-minute driver. it's very troublesome, so I haven't changed it. after talking about this, I should tell you how to access zhcon. This command is $ zhcon -- utf8 -- drv = vga.
Now, let's take a good look at this Chinese server. If you cannot enter Chinese at this time, execute apt-get upgrade again, after that, restart the ubuntu server to enter zhcon.