Yesterday wanted to install on your own machine to see Linux. and use the Xshell pathway. But it took a long time to end all of the tips at Xshell "Could not connect to ' 192.168.54.100 ' (port): Connection failed", a good time on the Internet, the solution has not been discovered. Finally in an article that may be the Linux firewall is not off, SSH service did not start, and then the whole is installed again. Shut down the firewall again, SSH boot, and finally succeed! Now write out my process. Hope can help others!
1. Install VMware11.0, this software has very many on the net. There are also cracked versions
2. Install Centos-6.5-x86_64-livedvd.iso, I use this version number is also downloaded from the Internet, more than 700 m. There is a minimal system on the Internet, I have tried, I do not know why is not loaded. If someone has successfully installed it with that, please do not hesitate to enlighten me.
3. Follow this tutorial,
Url=kornmzlj-aiwfwz24dmdlfqalsw8ragiubljzhf05fevbpdowh0e53reuq5hq4rujsktytq78bgfb4umuycnuqn_qf7wqv6fif_rq5vgpn _ ">http://wenku.baidu.com/link?url= Kornmzlj-aiwfwz24dmdlfqalsw8ragiubljzhf05fevbpdowh0e53reuq5hq4rujsktytq78bgfb4umuycnuqn_qf7wqv6fif_rq5vgpn_
The operation is after the 16th step. No longer participate in the photo. At this point, I entered the Setup command under Linux and did not find any information in "EDIT DEVICES".
I think it should be the previous operation to remove some of the configuration files. It doesn't matter, we can build a configuration file ourselves.
4. Enter ifconfig under Linux and you cannot see the IP at this time. Next Run VI /etc/sysconfig/network-scripts/ifcfg-eth0. After opening the file, it is found that the file is empty, because the previous steps removed the file. Enter the following information in this file:
Device=eth0
Onboot=yes
Bootproto=static
ipaddr=192.168.1.8
netmask=255.255.255.0
gateway=192.168.1.1
The ipaddr are set according to their own needs. I set the IP for the virtual machine private network in front of the 54 segment, here. My ipaddr setting is 192.168.54.100,gateway setting is 192.168.54.1
After Setup is complete. Save exit.
Enter Ifconfig again at this point and you will be able to see the IP address. Enter setup, and you can see the information you just set up in "EDIT DEVICES". Native IP Settings succeeded
5. Turn off the Linux firewall
Service Iptables Stop
Chkconfig iptables off
6. Start the SSH service
Service sshd Start
7. In Windows, open a command line that appears for example the following information
C:\users\administrator>ping 192.168.54.100
Pinging 192.168.54.100 with 32 bytes of data:
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Reply from 192.168.54.100: Byte =32 time =1ms ttl=64
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Ping Statistics for 192.168.54.100:
Packet: Sent = 4. Received = 4, lost = 0 (0% lost),
Estimated time of round trip (in milliseconds):
Shortest = 0ms, maximum = 1ms. Average = 0ms
Indicates successful connection
8. Connect to local Linux again via Xshell to succeed.
By summarizing the process above. In fact, after installing Linux, I looked at the IP address of Linux, also ping this address under Windows, in fact, it is, but with the shell is not connected. Now think carefully, assuming you can ping through. Say that the network connection is normal, should be Linux side prohibit connection.
At this point, the direct operation of 5th, 6, 7 should be connected on the line.
Because of the time reason. I'm not trying this. Interested friends can try.
I'm just studying Linux and this article may have an incorrect place. You are welcome to communicate and correct.
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Using Xshell link local virtual machine Linux