VMware installs centOS6.4 virtual machines and basic environments

Source: Internet
Author: User

An empty virtual machine is complete.

But this virtual machine is still a shell, and we need to import the prepared system files

OK, after

Skip Detection

Set the host name and configure the network card

Tick the boot-up NIC

Select time Zone

Set Password

Write to disk

Select the desktop version, next

Wait about 10 minutes, reboot into the system.

Without setting up users, the next step

Go down there's nothing to say, and finally the whole system is done.

Next comes the building of the basic environment

192.168.138.131 is the IP address Bcast is the broadcast address mask is the subnet mask

1.IP Address

The network is now available

Above IP is 192.168.138.131 is belong to 192.168.138 network segment, now need to fixed IP, guarantee future use of IP will not always change

That can be seen now that the IP is automatically acquired, in order to be used in later clusters, modified to fixed IP

These three are IP addresses, subnet masks, gateways. In Ifconfig we know that mask is a subnet mask, and IP writes a random

The same network segment of the line, the gateway should write something?

Select Edit-Virtual network editor.

We chose the net mode when we started the installation, and now we choose NET mode.

That's it.

Disconnect, and then connect

2. Host Name

 View Host Name

 Set host name (hostname do not set underline, do cluster may error hadoop-linux.itliucheng.com)

This setup mode is not effective after reboot, generally not used, we need to let him take effect permanently

Modifying a configuration file/etc/sysconfig/network

Modify to the following content

The host name is also hadoop-linux.itliucheng.com after reboot.

3. Network mapping

Modify the/etc/hosts file

After the completion, we need to modify the host file of our machine, note that it is not a virtual machine, is our local

Completion phase

By now, the basic Environment configuration is completed, but this time want to ping the outside network is ping not pass

We need to set DNS domain name resolution to provide conversions between IP and domain names

Edit/etc/sysconfig/network-scripts/ifcfg-eth0 This is a network card configuration file

Edit him

Setting the DNS1 value is the value of Gateway gateways

Exit Restart Network Service

You can now ping the

All the basic settings have been completed so far

At this point we can test it with a remote terminal.

Using SECURECRT

Complete!

VMware installs centOS6.4 virtual machines and basic environments

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.