[Python development practice] Windows 7 + VirtualBox + Ubuntu environment configuration, virtualboxubuntu
1. VirtualBox Installation
Refer to the general installation method.
VirtualBox 4.3.14 for Windows hosts: http://download.virtualbox.org/virtualbox/4.3.14/VirtualBox-4.3.14-95030-Win.exe
2. Install Ubuntu server
Ubuntu-14.04-server-amd64 (http://www.ubuntu.com/download/server)
- Configure Chinese Environment
During the installation process, select "English". After installation, configure Chinese characters. Avoid exceptions in Chinese display on the VirtualBox terminal.
Sudo apt-get install language-pack-zh-hans;
Sudo local-gen zh_CN.GBK;
Sudo dpkg-reconfigure locales;
Export LANG = "zh_CN.UTF-8 ";
Export LANGUAGE = "zh_CN: zh: en_US: en"
3. Back up virtual machines
4. Use Putty to establish a connection between the host and the virtual plane.
SSH is used to establish connections between servers.
Check the SSH daemon thread: ps aux | grep sshd
If "/usr/bin/sshd-D" is displayed, It is started normally.
Putty is a client of ssh. You need to configure the connection port in VirtualBox. Here, port 2222 of HostOS is mapped to the SSH port on Guest OS (22 by default ).
Set> network> Nic 1> port ing ".
5. Shared Folders between host machines and virtual planes