Installing an Ubuntu virtual machine in Win7 using VirtualBox

Source: Internet
Author: User

1. Installing VirtualBox and Ubuntu

1) Download the VirtualBox.exe and pack files, install the VirtualBox first, and then install the pack
Virtualbox-5.0.4-102546-win.exe
Oracle_vm_virtualbox_extension_pack-5.0.4-102546.vbox-extpack
After installation, you can see the version information of the pack installation in the VBox menu: File, Preferences, Extension ...
2) Install Ubuntu image
Open VBox, first new, then import ISO file, wait for installation to complete
3) Install Vboxguestadditions
Open Ubuntu--Devices Insert Guest addition CD Image ...
Reference: http://jingyan.baidu.com/article/2fb0ba40541a5900f2ec5f07.html

2. Ubuntu Configuration in VBox

1) configuration Sharefolder, reference: http://jingyan.baidu.com/article/2fb0ba40541a5900f2ec5f07.html
Useful commands: (where MyShare is the folder name for share in Windows;/mnt/myshare is the path to share in a Linux system)

i) Add mount point command: mount-t vboxsf myshare/mnt/myshare/#共享文件夹在/mnt/myshare/Path
II) Unload mount point command: Umount-f/mnt/share
III) Add a permanent mount point: Add a line to the/etc/fstab:
Myshare/mnt/myshare vboxsf rw, gid=110,uid=1100,auto 0 0


2) Configure the Java environment, download the Linux JDK file, or the bin file (execute bin to get the JDK)

Configuring Environment variables
#Java Path
Export java_home=/home/tracy/tools/jdk1.6.0_13
Export JRE_HOME=/HOME/TRACY/TOOLS/JDK1.6.0_13/JRE
Export path= $JAVA _home/bin: $PATH
Export classpath=./: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

3) Configuring the Android SDK
Download Linux SDK files: android-sdk_r24.3.4-linux.tgz, unzip file, execute tools/android (root user), configure environment variables

Installing an Ubuntu virtual machine in Win7 using VirtualBox

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.