Ubuntu Virtual Machine Installation

Source: Internet
Author: User
Tags aliyun

Have installed Ubuntu virtual machine many times, but did not have the installation encounters the problem to total, this time prepares to build the Hadoop cluster, therefore again to toss up. To summarize the problems that will be encountered in the installation.

Use Ubuntu10.04lts mirroring.

After the installation is complete, configure the domestic update source first

Because there is no vim available by default, the text visualization is first edited with Gedit.

sudo gedit/etc/apt/sources.list

Enter the required copy of the source into this list:

##163sourcesdeb http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse# # Ali Sourcedeb http://mirrors.aliyun.com/ubuntu/utopic main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/utopic-security main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/utopic-updates main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/utopic-proposed main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/utopic-backports main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/utopic main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-security main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-updates main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-proposed main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-backports main restricted universe multiverse# # Oschina sourcesdeb http://mirrors.oschina.net/ubuntu/utopic main restricted universe multiverseDeb http://mirrors.oschina.net/ubuntu/utopic-security main restricted universe multiverseDeb http://mirrors.oschina.net/ubuntu/utopic-updates main restricted universe multiverseDeb http://mirrors.oschina.net/ubuntu/utopic-proposed main restricted universe multiverseDeb http://mirrors.oschina.net/ubuntu/utopic-backports main restricted universe multiverseDEB-SRC http://mirrors.oschina.net/ubuntu/utopic main restricted universe multiverseDEB-SRC http://mirrors.oschina.net/ubuntu/utopic-security main restricted universe multiverseDEB-SRC http://mirrors.oschina.net/ubuntu/utopic-updates main restricted universe multiverseDEB-SRC http://mirrors.oschina.net/ubuntu/utopic-proposed main restricted universe multiverseDEB-SRC http://mirrors.oschina.net/ubuntu/utopic-backports main restricted universe multiverse

Update and upgrade are required, otherwise the following error will be reported:

Reading Package Lists ... Donebuilding dependency Tree         is was missing, has been obsoleted, or   is from another source

So, update and upgrade first:

sudo apt-get  updatesudo apt-get Upgrade

An error message similar to "Wick" will be reported at update time and can be ignored. And then into the long waiting upgrade.

[later found, without upgrade, after the direct update, you can install the tools you need, such as vim, git, etc.]

sudo apt-get install git
sudo apt-get install vim

Upgrade will update some of the common fundamentals and dependencies.

Ps:ubuntu Official download speed can be in 2.5mb/s, really conscience.

Ubuntu Virtual Machine Installation

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.