Small white: VirtualBox install ubuntu16.04-> initialize-image backup

Source: Internet
Author: User
Tags virtualbox download

1. Download

1) Ubuntu16.04 System download

Website: NetEase Open source Mirror station http://ubuntu.cn99.com/

Catalog: http://ubuntu.cn99.com/ubuntu-releases/16.04/

System files: Ubuntu-16.04.2-desktop-amd64.iso

Note: After the download is complete, look at the size of the download file, this file 1G or so.

2) VirtualBox Download

Because the new version of VMware is chargeable, VirtualBox is recommended.

2. Installation

1) Install VirtualBox first

2) Enter VirtualBox, click New

3) Fill in the name and select the system

4) Set the memory size -2048m

5) Hard disk size: 60G (can be set according to their needs) all the way to click the default, this has been set to complete, the next step is to install the downloaded system.

6) Install the system: Select the new system and click Start. Select the Ubuntu16.04 system files that have been downloaded. will be installed automatically.

3. SOURCE Substitution

See this blog in more detail: http://www.cnblogs.com/dtiove/p/5917263.html

The main steps are as follows:

1) Enter/etc/apt/

Cd/etc/apt

2) Modify the Sources.list file to back up the previous file

sudo cp sources.list Sources.list.bak

sudo vi sources.list (to have Administrator privileges)

3) Delete the other contents of the source.list, any choice of the content of a source copy paste into, save, for example, choose Ali Source

4) Update apt

sudo apt-get update

4. SSH

The main implementation of Xshell connection to the virtual machine, while setting up boot from

1) Install Ssh-server service

sudo apt-get install Openssh-server

2) Verification

Ps-e | grep ssh

If only ssh-agent that Ssh-server has not started, need to/etc/init.d/ssh start, if you see the sshd that shows that Ssh-server has been started.

3) Use Xshell connection, if not successful, set up firewall:

sudo iptables-nvl See if the firewall is set to enter the chain, whether it is a drop

If yes, you need to add to open the firewall:

Iptables-a input-p TCP S-dport 22-j ACCEPT

5. Mirror

See the article: http://www.cnblogs.com/xuxm2007/archive/2010/07/24/1784364.html, you can easily backup different branches.

Small white: VirtualBox install ubuntu16.04-> initialize-image backup

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.