[Python development practice] Windows 7 + VirtualBox + Ubuntu environment configuration, virtualboxubuntu

Source: Internet
Author: User
Tags ssh port ssh server

[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"

  • Install Open SSH Server


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

 



Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.