Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed tutorials for installing VirtualBox and Ubuntu16.04 under Windows system

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Software introduction

VirtualBox

VirtualBox is a free open source virtual machine software, the so-called virtual machine software, is able to provide a variety of simulated hardware environment, and install a variety of operating systems, currently supports Window,Linux,Mac OS X. Its download address can be clicked here. After clicking the link, because it is to be installed under window, you can refer to the following and directly click on the link in the red box to download the widnow version of VirtualBox.

After downloading, double-click directly to open it, similar to the following picture and text steps, just click the next step to install.

Ubuntu

Ubuntu, known as "Ubuntu" in Chinese, is an open source Linux operating system based on Linux kernel development, supporting x86, amd64 (x64) and ppc architecture. Its download address can be clicked here. After opening the link above, you can see the following link

We are here to download the version 16.04. all the links marked with three red boxes can download the version 16.04. it is possible that you can't download the first link, and you may need to climb over the wall. at this time, you try the second or third link. According to the number of cpu digits supported by your computer, most computers now support 64-bit directly, if you click on the third link. Will go to the following page

Search china, you can click any of the following links to complete the download, the downloaded file is a .iso format, double-click directly can not be opened, the following will tell you how to install Ubuntu.

two。 Actual operation

Enable VirtualBox to support 64-bit systems

Although some computers support 64-bit, there is no 64-bit support for virtualBox enabled by default, so you need to open Virtualization in Bios, please refer to here.

Install Ubuntu into VirtualBox

Double-click to open the VirtualBox you just installed, and then click "New"

Pay attention to the red box in the picture above and set it according to the actual situation, in which the memory defaults to no more than half of your computer's memory. File size is the size of the created virtual machine, which will be used to store various files. Usually, a 10-20GB is configured enough to create it, click finish, then go back to the VirtualBox interface and double-click the virtual machine you just created.

Click the blue box on the right side of the pop-up box

Select the Ubuntu file you just downloaded

After that, you can start the installation process of Ubuntu, and directly refer to the screenshot below to do it step by step:

Here, you need to configure the user name and password for Ubuntu. Then click to continue, the following process will be a little longer because of network problems, we need to wait patiently

Finally, click "restart now" in the pop-up box.

At this point, the installation process of Ubuntu is basically completed.

Ubuntu installs enhanced tools to start seamless mode

The so-called enhancement tools can provide some convenient functions to facilitate the communication between the host system and the virtual machine, such as seamless display of the interface, file sharing, sharing pasteboard and so on. We can open the Ubuntu virtual machine that we just installed, and then click the device in the menu above-install the enhancement tool:

Enter the username and password set during the previous installation here

After the installation is complete, click the view-seamless mode of the menu, and then you can drag the window at will, and the window will zoom automatically to ensure that the contents are displayed normally and will not be compressed or deformed.

Realize the file sharing between Ubuntu and Window

Go back to the main interface of VirtualBox, select the Ubuntu virtual machine you just created, and then click "Settings" on the right.

Then select a shared folder according to the above instructions to create a shared folder

After opening Ubuntu, you can see the shared folder you just created, create a random file in it, and then go back to window to see the file you just created.

Ubuntu settings shared pasteboard, drag and drop

Directly refer to the screenshot below, and then select the device of the menu-shared pasteboard-bidirectional, so that the shared pasteboard function of window and ubuntu can be realized.

Here, if you configure the shared folder according to the above steps, an error was reported when accessing the shared folder in the virtual machine: if you do not have access rights, follow these steps:

(1) execute the following instructions:

Sudo usermod-aG vboxsf test

The meaning of this instruction is:

Usermod-aG

Add (append) the user to the group, where the option [- aG] means to append to the group.

(2) restart the virtual machine system

Then enter the system, the shared folder can be used normally.

Realize the Internet function of Ubuntu

Usually, after installing the virtual machine according to the above steps, Ubuntu can access the Internet directly. If not, you can refer to the screenshot below, open the settings, and then select the network to see if the configuration of Nic 2 is like that in the figure.

3. Commonly used Linux commands and tools

Terminal

Since the most powerful thing about Ubuntu is that it can execute various commands to help provide productivity, then where to execute various commands, you need the terminal software. You can refer to the screenshot below, click on the icon in the upper left corner, and then enter the word ter to search the terminal.

Common Linux commands

Mainly some commands that are used very frequently

Commands for file manipulation classes

Cd,ls,touch,mkdir,cp,mv,gedit,pwd

Commands for file permission classes

Sudo chmod

Vim

Text editing artifact

For more details, please refer to here.

Summary

The above is the detailed tutorial of installing VirtualBox and Ubuntu16.04 under the Windows system introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report