by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years ago )

If Vim is set to Chinese environment, but Ubuntu is not set to zh_TW.UTF-8 during installation, How to install this environment?

If you can't find this zh_TW, use "Locale-Gen" to add this locale library
and reset once (requires ROOT permission)
$ sudo locale-gen zh_TW.UTF-8 
$ dpkg-reconfigure locales

Missing packages, please install

apt -get install -y locales

 

Tags: config vim

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


security,config

Raspberry Pi fail2ban installation notes

My mainframe basically has remote logs set up, and all of them are sent to the log center on the Synology NAS. Among them, there is a Raspberry Pi that is used as a router, and there will be a bunch of sshd verification attempts to log in. Basically, I only allow public key verification, so I don’t want to use passwords to brute force it, but a bunch of logs of verification failures are really good. Hate.

docker, goaccess, config

phpenv actual combat GoAccess is real website analysis (docker version)

Before I start, let me say that GoAccess can also generate static data as long as you have a log, because I think the real-time feeling is more dazzling, so this article will focus on the part of GoAccess real-time display. Although Google Analytics (GA) is very useful, it is also very good to try another GA. For example, you want to know which browsers website users use to visit the website.

vim

About vimdiff

My vimdiff cheat sheet