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