Set up VirtualBox + Ubuntu Server Environment < two >

Source: Internet
Author: User

Every other year, gradually moved to Linux under the development, the current Ubuntu is using Ubuntukylin-14.04-desktop-amd64.iso. Because it is the desktop version, remind everyone to allocate the disk, as far as possible to allocate a larger number.

Content:

Installation Enhancements

Introducing folder sharing

Install Java8, MySQL, Redis

Install Eclipse


Installation Enhancements "Vboxguestadditions.iso"

In order to be able to copy freely between guest and host, the window of guest can be zoomed out freely.

1. Shut down the system, in the storage the IDE hangs the Vboxguestadditions.iso, generally in the VirtualBox installation path.

2. Reboot the system, cd/media/find vboxadditions_xxx in subdirectory, run:
sudo sh vboxlinuxadditions.run
3. Reboot the system after completion


Shared folders with Windows

1. Share in Mount form

Step1: Shut down the system, right-jian instance->settings->options->shared Folders, select the file you want to share.

For example, after completion, a key named vm_shared, Path F:\vm_shared is created.

Step2: Open the system and execute the command:

Mkdir-p/mnt/shared mount-t vboxsf vm_shared/mnt/shared

2. Installing Samba

sudo apt-get install samba and then set up a shared folder just like Windows.


Installing Java,mysql,redis

Simply execute the following command:

     #JAVA     sudo apt-get install  Software-properties-common python-software-properties    sudo apt-get purge  openjdk*        sudo add-apt-repository ppa: Webupd8team/java    sudo apt-get update    sudo apt-get  install oracle-java8-installer    sudo apt-get install  oracle-java8-set-default         #MYSQL     sudo  apt-get install mysql-server         #NGINX      sudo apt-get install nginx         #REGIS     sudo apt-get install redis-server          Install Eclipse

Step1. Download Eclipse Latest Version http://www.eclipse.org/downloads/?osType=linux&release=undefined

Step2. Decompression Eclipse: cd/opt/&& sudo tar-zxvf ~/download/eclipse-*.tar.gz

Step3. Creating an Eclipse shortcut

sudo gedit/usr/share/applications/eclipse.desktop

Paste and save the following:

[Desktop Entry]

Encoding=utf-8

Name=eclipse 4

Type=application

Exec=/opt/eclipse_luna/eclipse

Terminal=false

icon=/opt/eclipse_luna/icon.xpm

comment=integrated Development environment

Startupnotify=true

Nodisplay=false

Categories=development;ide;

Name[en]=eclipse

Exec=env ubuntu_menuproxy=/opt/eclipse_luna/eclipse


Step4: Finally, don't forget to install the M2E plugin

Http://stackoverflow.com/questions/7111483/installing-apache-maven-plugin-for-eclipse



Installing the MAVEN Environment

Step 1:sudo apt-get Install Maven





This article is from the "Just do IT" blog, so be sure to keep this source http://vashley.blog.51cto.com/8708825/1663533

Set up VirtualBox + Ubuntu Server Environment < two >

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.