Virtulbox virtual machine to build a Linux CentOS system

Source: Internet
Author: User

Brief Description

The article aims to build a pre-built article for Hadoop, and of course to build an introductory article on Linux. Then I'll repeat the installation preparation software.

Environment Preparation: Http://pan.baidu.com/s/1dFrHyxV Password: 1e9g (recommended to go to the official website under the environment, to native flavor, do not secondhand)

Centos-linux System: Centos-7-x86_64-dvd-1511.iso

VirtualBox Virtual machine: Virtualbox-5.1.18-114002-win.exe

Xshell Telnet tool: Xshell.exe

XFTP Remote File transfer: Xftp.exe

Hadoop:hadoop-2.7.3.tar.gz (can be omitted)

JDK8:JDK-8U91-LINUX-X64.RPM (can be omitted)

Installation Steps

1. Install VirtualBox, after successful installation display the following interface, choose New, equivalent to add a Linux machine.

  

2. Set the machine name, type, and version. Note: The version of the Linux machine is closely related to the environment for installing the software later.

  

3. Allocate memory, select default 1G. Late enough to be able to expand, test basic enough

  

4. Create a virtual hard disk, and if you install it for the first time, the problem does not occur.

  

5. Select default

  

6. Choose dynamic allocation, how many systems you need to allocate, and may run slower than the fixed size.

  

7. Select default so that the virtual machine is created and the environment is configured below.

  

8. Select the Linux you just created, click Set up the network, choose the following settings name, perhaps the interface name is different. Follow me to explain.

  

  9. Explain the settings and configuration of the network. If you need to build a Hadoop cluster, pay particular attention to it.

  If you do not build the cluster, the step content can be ignored.

  Here do not need to modify what, just explain the principle, only need to check the IP of the Virtulbox network card.

(1) Find your computer's network settings--Select Change adapter settings virtulbox host-only network #7 (ip:192.168.56.1)

  

(2) In this case a VirtualBox network card is generated, which is the interface that provides the Internet connection. 

  

Suppose Windows is a client, a Linux cluster is a server side? Now we need to upload files, should the client and the server side of the same LAN to access?

A: Of course, must be in the same network, like the school's educational system, you do not even the school network you are not able to access the same reason. And why, we can use traffic, WiFi access to the app, website? It's because it's connected through the Internet.

Where is the IP of the Linux machine set?

A: We will modify it via the Linux command.

Assuming that the IP of the Virtulbox network card of Windows is 192.38.15.1 (for example, not real), then how does the IP of the Linux machine be set?

Answer: 192.38.15.0~255, set the IP that is not occupied by yourself. For example 192.38.15.50 51 52 53 54 55 .....

How to view the IP of the Virtulbox network card? My Virtulbox network card is Virtulbox host-only network #7 (ip:192.168.56.1)

Answer: Select the virtualbox--> right-click Property

  

10. Add the CentOS system platter to boot.

  

11. Select. Press the right CTRL key to switch the mouse from the virtual machine.

  

12. Select Done. Note: Software selection: Select the base settings server, lest add plugins later, trouble.

  

  

13. Set the user password.

  

  

14. Wait for the installation to complete, enter the user name password to login successfully.

  

15. Using VirtualBox login, uploading files will be more troublesome, using Xshell remote login.

  

  

16. upload files using xftp.

  

  

Virtulbox virtual machine to build a Linux CentOS system

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.