Linux Virtual Machine installation (CentOS 6.5, detailed text, need to be checked by yourself), linuxcentos

Source: Internet
Author: User

Linux Virtual Machine installation (CentOS 6.5, detailed text, need to be checked by yourself), linuxcentos

Installation of Linux virtual machines (graphic explanation)

The next article will be followed by the Hadoop cluster installation (based on this)

I. Installation preparation

VMWorkstation and linux system images (the following uses CentOS6.5 as an example)

Ii. Detailed description of the installation process

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Disable Firewall:

Service iptables stop

Chkconfig iptables off

 

Add a fixed ip Address:

 

Vi/etc/sysconfig/network-scripts/ifcfg-eth0

Modify and add:

HWADDR = 00: 0C: 29: 60: 77: 3D (HWaddr corresponding to the local host)

ONBOOT = yes

BOOTPROTO = none

IPADDR = 192.168.83.small (local IP)

(You can view it using ifconfig)

GATEWAY = 192.168.83.2

DNS1 = 8.8.4.4

DNS2 = 222.85.85.85

Save and restart the network.

Service network restart

Note:(How to synchronize system time after installation)

Time Synchronization may affect the use of hadoop clusters and MapReduce in the future.

If the system time is incorrect after installation, run the following command to synchronize the system time:

Ntpdate cn.pool.ntp.org

The NTP socket is in use, exiting solution appears:

Cd/etc/rc. d/init. d

./Ntpd stop

 

Local ssh Configuration

Go to the. ssh directory/root/. ssh

Delete an existing file

Rm-f *

Ssh-keygen-t rsa

Press enter to the end of the execution

Cat id_rsa.pub> authorized_keys

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.