Ideal working environment-goodbye to Linux-Linux Enterprise Application-Linux server application information. For more information, see the following. Recently, due to work, many Linux systems require not only local Linux environments, but also ssh to the server to write programs for compilation and debugging.
Of course, the best solution is to use Linux, but for many reasons, such as ipod music, online banking controls, and the network printer in the research room (IPP cannot be used for life or death), qq msn is not easy to use, poor font display and other issues make me unable to do without Windows. This requires switching back and forth, and because I insist on using Chinese piracy, Japanese display and input are even more serious.
To solve all these problems, cygwin + puttycyg:
Previously, putty was used for ssh remote host. Later, because you need to enter the Japanese looked at putty option, found that it is really powerful, in the Translation charset designated as UTF-8, because the locale of the remote host is ja_JP.UTF-8, so everything is normal, then select the putty font to MS Gothic 10, which is quite comfortable after full screen. In ~ /. Vimrc to encoding all designated as UTF-8, garbled problem completely solved.
There was no problem because I only needed to log on remotely. Later, due to the use of Eclipse for development, it was too troublesome to upload and debug the project at one time, so cygwin was installed and a local environment was set up, all required tools are compiled into binary code that can be run directly in windows, which greatly facilitates development. Cygwin is started with Windows cmd, cmd with a bad Fixedsys font, the font to enlarge the window is also followed by amplification, and does not support Japanese input, the most terrible is does not support UTF-8, vim cannot be used at all. Later, rxvt was used to define the font, But unicode was not supported. Finally, we found puttycyg and directly used putty to log on to the local cygwin. It seems that it is no different from logging on to the remote host. All problems are solved, and the font and input problems are solved.
The original ssh key is protected by passphrase, and every time it is difficult to lose, a new one without passphrase is generated, and the Public key is added to the remote host ~ /. Ssh/authorized_keys, put the private key locally ~ /. Ssh, you can directly use ssh. If the domain name is too long, ping the IP address and write the short host name corresponding to the IP address to/etc/hosts. directly use ssh hostname to log on to the remote host conveniently.
I think I can use the space allocated to Linux to download movies.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service