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