Configuration of Linux in case of big data

Source: Internet
Author: User

One: The outline of the configuration

There are several aspects to the main configuration:

Host Name

Ip

Network mapping

Add new users

Access to the new user root for easy experimentation

Shutting down the firewall

Security subsystem needs to be shut down

II: Configuration of Host name

Command: Vi/etc/sysconfig/network

Three: Configuration of IP

Note: When you configure IP in the following ways, you need to close the link and then open the link

    

Four: Configuration of the network

Command: vi/etc/hosts

    

Command: The local hosts also want to modify

    

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

Define the gateway so that you can ping the network.

    

Five: Add new users

Command: Useradd Beifeng

Password: passwd Beifeng

    

Command: Permissions sudo vi/etc/sudoers

    

Six: Turn off the firewall

Command: Service iptables status

Note: Use root

    

Command: If it is not closed, use the

Service Iptables Stop

Command: Boot does not start

Chkconfig iptables off

Command: Verify boot start or not

Chkconfig

    

Seven: Modifying the security subsystem

Prevent later because of this effect cannot download

Command: Vi/etc/sysconfig/selinux

    

Eight: End of----------------------------------------------------------------------------------------------------------------- -----------------

Configuration of Linux in Big Data case

Related Article

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.