In the previous article, we used the U disk to install Ubuntu and installed the latest Ubuntu tuserver11.04. Because & ldquo; Chinese & rdquo; is selected by default during installation, the vim editor is quite unavailable! The main cause is that it cannot be edited normally when vim is used for remote ssh login. There is no way, mainly because ssh has poor language control. In addition, UbuntuServer11.04 does not support Chinese characters at the moment. However, for Ub
The latest Ubuntu Server 11.04 is installed using the USB flash drive installed in the previous article.
Because "Chinese" is selected by default during installation, the vim editor is quite unavailable!
The main cause is that the remote ssh logon fails to be edited normally when vim is used.
There is no way, mainly because ssh has poor language control.
Ubuntu Server 11.04 does not currently support Chinese characters.
However, for Ubuntu Server, the system language is better than Chinese.
To switch the system language to English, there are two ways:
1. Temporary switch (not recommended ):
Run the following command under root:
export LANG=en_USexport LC_ALL=en_US
This method only temporarily modifies the system language. After the system is restarted or logged on again, the system will be restored.
2. Permanent switch (recommended, directly on the keyboard of the device ):
Edit locale as the root user:
sudo vi /etc/default/locale
Modify locale as follows:
LANG="en_US.UTF-8″LANGUAGE="en_US:en”
But there is a problem. As mentioned above, remote logon via ssh cannot be edited normally using vim,
Therefore, you must modify locale directly on the terminal and restart it.
No problem with using ssh remote (character encoding can be set to UTF-8 In the SSH tool ).