Windows host interacts with the WWW server in a Linux virtual host

Source: Internet
Author: User

1:windows the Hosts file to add the IP address and host name of the virtual host;

2:linux Change the/etc/hosts file, add the Windows host IP address and host name;

3: Turn off the Linux virtual machine on SELinux (/etc/selinux/config);

4: Close iptables (service iptables start);

5:ping,telnet to see if they can connect with each other;

Open the browser on the 6:windows host to enter the appropriate IP address, you should be able to access the Linux host on the Web server.

Note: The Linux virtual host operating system uses the Centos,web server is Apache, the virtual machine uses the bridge way;

It is certainly not safe to turn off SELinux and Iptables, which is only a stopgap measure for the test function, and the corresponding security settings are shelved.

Windows host interacts with the WWW server in a Linux virtual host

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.