Tag: Size SEL Practice Hadoop Service Agent IP address digital TCP/IP
I this person is lazy, this TMD is the world's most pit father's shortcomings, of course, swearing is also a disadvantage, let me vent it. T^t
From N long ago, opened the day of the Hadoop lesson, I thought to be configured, the results two times even glasses have forgotten to bring, can imagine is what accompany me spent those two afternoons, yes yes, is the cell phone movie.
So, because not, drag, drag, and no one is generous, unsurprisingly.
Therefore, the cost of three days, said to be ashamed, in addition to the class writing industry to watch TV, do this.
No nonsense.
First, the installation of virtual machines, our teachers to arrange the use of host-only mode of network configuration, this is more flexible, this is said Host-only, because I personally practiced, just finished, fresh and fresh.
Configure subnet ip--> This means a network segment, so the format is 192.168.*.0.
But you know where 192.168 is from, right?
Network Sharing Center Change adapter settings, there is VMnet1---this thing, online many of the article called Network card, unfortunately I saw a long time to understand, virtual network card yo, host-only virtual machine is through this stuff and your computer connected OH.
Right-click
Open it
Check the Tcp/ipv4 property
Here 139 this number is very scary, changed to 1, automatically changed to 139, I also spit to, but Ipconfig out is 192.168.1.1, the purpose is good.
The IP address here is the same as the previous bold and red, no no no,* The position is the same, here is *.1, above is *.0...
As for 192.168 of the source, is cmd->ipconfig view host IP, although dynamic, even a WiFi will change, but changed. My routed IP is 192.168.1.102.
* Fill in what number is good, start I was insurance, the network segment and host IP set to the same, it turns out that in the virtual machine ping192.168.1.102 is never ping, and you are not in a network segment which has yarn relationship oh.
Note that the virtual machine communicates with the host through the host's network card named VirtualBox host-only network, so IP is the IP 192.168.*.1 of the NIC, not the IP you are currently using to surf the internet
That's what I've been doing. Three days, port modification, Linux firewall, host firewall, 360 are almost innocent deleted, IPsec Policy agent service I shut down and shut, virtual machine etc/selinux iptables .... Also do not know how much change, in short, in fact, I have been a good machine, is to ignore this point.
OK, the DHCP will not choose the laborious, we are all fixed IP, we do not daoteng this.
Then open the etc/sysconfig/networking-scripts/ifcfg-eth0s file and modify the parameters.
Very earth Turtle to knock command line, mainly these days have been knocked, to crazy, provincial things.
VI really very bad use Ah, for me this kind of clay turtle.
And then to Terimal,service network restart
Then Ifconfig
Show a whole bunch of parameters
Then ping it, and ping through minutes.
Not to be continued.
Linux Configuration Virtual Machine network environment (host-only required by teacher)