Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to display Chinese in Ubuntu virtual console

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to display Chinese in the Ubuntu virtual console". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to display Chinese in the Ubuntu virtual console".

What I downloaded from the Internet is ubuntu server-7.10-i386, which is installed in Vmware.

Of course, you have to use other software to display Chinese in text mode. This software is the very famous zhcon. In order to easily download and install the software package you need, let's update the source:

1. Open / etc/apt/sources.list with vi to add the following sources:

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.)

two。 After adding, and then execute the apt-get update that we are all very familiar with, after the update, we can use apt-cache search search to see if there is zhcon this software, if nothing happens. (I saw the familiar garbled code.)

3. After the search, performing an online installation (apt-get install zhcon) should show a pile of English and indicate that it cannot be installed, while that pile of English tells you: if you want to install the zhcon package, you must install xxx,xxx,xxx because they have a dependency relationship. (hehe, I am lucky to have a successful installation. If it is not successful, please continue to read on.)

5. At this point, another command will help you complete the installation of zhcon-the purpose of the apt-get dist-upgrade command is to ignore unnecessary package installation dependencies. I was in a mood when I learned of this order. Then don't talk about it.

6. After executing this command, we can install zhcon online, which is a long process. (mainly depends on the speed of the Internet)

7. There seems to be no response after installation. Don't panic, we have a lot of preparatory work to do before entering zhcon. First of all, vi open / etc/profile and add on the * side.

Export LANG=zh_CN.GB2312

Export LC_All=zh_CN.GB2312

Even if the preparatory work is done, the purpose of these changes is to declare the use of simplified Chinese language after entering zhcon.

8. At this time, you can enter zhcon, and the way to enter it is very simple: zhcon is fine. What you need to remind me is that if you enter zhcon directly into the virtual machine, sometimes it will crash, even if it doesn't crash, and you can't enter any commands after entering it (there is no problem with the implementation of the virtual machine I used).

Why。 Because zhcon is a plug-in control platform, that is, additional software installed like US-DOS, you need a driver to get in. Of course, drivers are installed when you apt- get install zhcon. What you need is to declare the driver you use when you enter zhcon. When zhcon is installed, there are three drivers: vga, framebuffer,libggi, and I usually use * drivers. Because it is more convenient and simple, and that 2 clock drive. It's troublesome, so I haven't changed it. Now that I have said so much, I should tell you how to enter zhcon. The command is $zhcon-- utf8-- drv=vga.

Go inside, just enjoy the server in Chinese. If you can't enter Chinese at this time, execute apt-get upgrade again, and then restart ubuntu server to enter zhcon.

Thank you for your reading, the above is the content of "how to display Chinese in the Ubuntu virtual console". After the study of this article, I believe you have a deeper understanding of the problem of how to display Chinese in the Ubuntu virtual console. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report