Big Data quiz notes

Learning Environment: Vmware15 + centOS6.5 +

1. cloned from a slave machine

Right-host master -> Administration -> Clone -> Next -> Next -> Create a full clone -> to slave name and select the storage location -> Finish

2. Configure the master and slave ip ( static IP, so after login IP will not change, easy to operate )

Under each machine separately to execute ifconfig to view their ip, broadcast address and mask eg:

Then find the top right corner of the small computer icon, right click and choose Edit Connections

The following window appears:

Note that when you have configured the top window of the network connection configuration to retain only one he had just configuration, delete all other, otherwise the system will not necessarily use after logging which IP.

Click Add -> create -> IPv4 Settings -> Method to select Manual (ie, manual configuration) -> then before ifconfig query to the network information can fill -> Apply

-> Restart the network (or a small computer that will Enable NetWorking right to cancel and then check the checkmark to or directly sudo Service NetworkManager restart , pay attention to the version 6.x centOS no systectl command can only be operated with service!) -> find your computer (! not a virtual machine) virtual network Configurator -> select VMnet8

-> Select NAT Configuration -> Check whether the gateway is a gateway to configure their own, then it is ok.

ping www.baidu.com

Display Unknowed host, and then ping your gateway, you can ping each other, it blocked by the firewall.

Turn off the firewall, do not turn off the firewall if not on the external network (WAN extranet is eg: www.baidu.com the world is unique, the network is a local area network, IP network within two LANs can be the same).


Understand the internal and external network can poke here

Simple to understand:
1, the difference between the set ip address, usually the network has its own IP number segment, and the segment will not conflict Internet number, the network is the router from the beginning, and are beginning to IP 192 IP. Generally can not have external IP network, as individuals or in small groups with external networks is also a waste of resources, it is generally through the network to the Internet, extranet Ip- are generally used for companies, schools and other institutions .

2, the network computer is connected to external networks need - unified export, may be limited to some unnecessary visits, not through the outer network switch or router to access the Internet network, you can directly access to the outside world, without going through how device, directly connected to the computer.

3, relative to the external network within the network will be more - Layer Security firewall (external routes), relatively speaking, the ability to withstand attacks from outside the network would be better; network deficiencies that may be subject to attack from within; because to share the bandwidth, the relative speed may be slower (more terminal slower).

Glossary:

That means that the LAN network into interconnected by multiple computers within a certain area of ​​the computer group. - is generally within a radius of several kilometers. LAN can file management, application sharing, printer sharing, scheduling within the working group, e-mail and fax communication services and other functions. LAN is closed, and may consist of two computers in the office composition can also be made. Thousands of computers within a company composed.

That is outside the network WAN, also known as the public network. Connecting different parts of the metropolitan area or local area network computer communication with a remote network. Usually across a large range of physical, range from tens of kilometers to cover thousands of kilometers, it can connect multiple regional, city and state, or across several continents and can provide long-distance communications, the formation of an international remote network. WAN is not equivalent to the Internet.
 



(CentOS7 operation command: systemctl status firewalld see if the firewall is not running, then it is too systemctl stop firewalld to shut)

 

发布了81 篇原创文章 · 获赞 91 · 访问量 1万+

Guess you like

Origin blog.csdn.net/weixin_44593822/article/details/104355653