In normal Linux development, it would be pleasant if you can use the Linux environment programming in Windonws. In particular, you can easily use QQ and other programs. The following describes how I set up such an environment. 1. First, modify the network settings of the virtual machine. I am using VMware. Choose VM-> Settings-> hardware-> NetworkAdapter-> hostonly:
In normal Linux development, it would be pleasant if you can use the Linux environment programming in Windonws. In particular, QQ and other programs can be easily used :)
The following describes how I set up such an environment.
1. First, modify the network settings of the virtual machine. I am using VMware.
Menu VM-> Settings-> hardware-> NetworkAdapter-> host only
As follows:
2. Install ssh in Ubuntu
Ssh can be considered as an enhanced version of telnet and encrypted transmission information. It can also be understood as remote logon in windows.
Ssh installation command in Ubuntu: sudo apt-get install openssh-server openssh-client
After installing ssh, restart ssh: sudo/etc/init. d/ssh restart
Then, check the ssh status: netstat-tlp.
You can try to use ssh connection in Linux with the command: ssh 127.0.0.1
After these steps are completed, it indicates that the operations under Ubuntu have been completed.
3. Enable secureCRT for quick connection
Select ssh2 and enter the ip address (in Linux, run the ifconfig command to view the ip address)
Enter the user name, port 22, and other default values.
Connect, enter the password, and save the password.
Of course, I encountered a strange problem here, that is, secureCRT cannot be connected at all times. Although I finally switched to Xshell and successfully logged on to the VM, if anyone knows why, please kindly advise ~
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2