Refer to this microblog, http://ji123.blog.51cto.com/11333309/1958742 here CENTOS7 Web services are placed in REDHAT6.Here you need to set the prerouting of the NAT table in Iptables.Command in CENTOS7Iptables-t nat-a prerouting-d 192.168.0.110-p tcp--dport 80-j DNAT--to-destination 192.168.20.2Sometimes the REDHAT6 Web service port is set to 8080 and the command above will add a 8080.Iptables-t nat-a prerouting-d 192.168.0.110-p tcp--dport 80-j DNAT--to-destination 192.168.20.2:8080After remote
Web site deployed in the notebook virtual machine (CentOS 6.8), the virtual machine by bridging the way the network, the website opened successfully, in the virtual machine can be opened, but in the host's browser cannot open, after Baidu discovered that the virtual machine firewall caused. You can successfully open a Web site after you shut down the virtual machine's firewall.// shutting down the virtual machine's firewallTo access a Web site deployed on a virtual machine through a
(1) First the virtual machine has SSH service installed1) automatic installation of SSH serviceApt-get Install Openssh-serverWhen the installation is complete, the SSH service will automatically open.2) Check to see if the SSH service is turned onNetstat-pant | grep 22If the above output appears, the SSH service installation is successful and is turned on.Note: The following SSH service is required for remote login.(2) Right-click Virtual Machine-"Properties-" Virtual machine settingsSet upIf yo
Copyright Disclaimer: During reprinting, please use hyperlinks to indicate the original source and author information of the article and this statementHttp://lnote.blogbus.com/logs/10183525.html
For network services that can be started through the xinetd program, such as FTP telnet, We can modify/etc/hosts. allow and/etc/hosts. deny configuration to permit or deny access to IP addresses, hosts, and users.
For example, we addALL: 218.24.129.In this way, all customers from the 218.24.129. * doma
There may be only one IP outlet, but there are multiple projects, then you need to set up a virtual host based on the port number.
Step 1:
Check whether the httpd-vhosts.conf is enabled
Apache/CONF/httpd. conf file
# Virtual hostsInclude conf/extra/httpd-vhosts.conf
If it is not enabled, it must be in httpd. CONF file; if enabled, you can set in Apache/CONF/extra/httpd-vhosts.conf file, of course, you can also httpd. the configuration in the conf file
Apache Create virtual Directory
Open the Apache configuration file httpd.conf.
At the bottom, copy the following code in, save and restart the Apache server.
The code is as follows
Copy Code
Namevirtualhost *:80#第一个主机, Port 80ServerAdmin admin@phpnow.org#指向本地位置DocumentRoot "F:wwwrootdede"#主机名称 (Note that this is important, is your domain name, accurate input can be successful)ServerName www.111cn.netServeralias ppblog.cn#结束第一个主机配置#第二个主机, Port 80ServerAdmin admin@php
To configure the Apache virtual host, we need to do this in the following steps:
1, check the Apache virtual host module
2, open the Apache virtual host function
3, httpd-vhosts.conf documents detailed
4, according to the IP configuration of the virtual host
5, according to the port configuration virtual
From msdn: http://technet.microsoft.com/zh-cn/library/cc288637.aspx
Windows SharePoint Services 3.0 supports both host-based and Path-based website sets. The website set named after the host provides a scalable HOST solution. Each website set has a different host name. This means that the website set named after the
CSDN's new blog is fast.
In the afternoon, I was going to NFS the board, and found that the virtual machine could not be discovered.
Tested the network condition of the virtual machine:
root@ubuntu:/nfsboot/etc# Ping 202.193.89.254 This gateway is not up.
PING 202.193.89.254 (202.193.89.254) bytes of data.
From 202.193.89.253 icmp_seq=1 destination Host unreachable
From 202.193.89.253 icmp_seq=2 destination Host
Before introducing network mode, the use of several simple commands about the networkIfup eth0//start NIC Eth0Ifdown eth0//Turn off the NIC Eth0/etc/network/interfaces//Network configuration file/etc/init.d/networking//Network service location/etc/init.d/networking Restart//Restart Network/etc/resolv.conf//dns configuration fileIfconfig eth0 192.168.5.111//Reconfigure IP for NIC Eth0Simple introduction to one or three modesVMware offers three modes of operation, which are bridged (bridging mode)
Original: http://villasy1989.iteye.com/blog/956746My host is Windows7, installing a VMware virtual machine, loading the Ubuntu10.04 in the virtual machine, first introducing several virtual devices under VMware:Vmnet0:vmware is used for Virtual switch under virtual bridging network;Vmnet1:vmware is used for Virtual switch under virtual Host-only network;Vmnet8:vmware is used for Virtual switch under virtual
1 host-only Connection modeThe virtual machine has a separate IP address that differs from the host, but it is in a different network segment than the host host, and a new IP address is added to the host, and the IP address is guaranteed to be in the same network segment as
Environment: WIN7 flagship, desktop, u disk wireless Internet card.Virtual software: VMware9.0, virtual system: CentOS6.4Virtual machines need to be implemented to work as standalone machines and to surf the Internet.Three ways to introduce VMware network settings first1 host-only Connection modeThe virtual machine has a separate IP address that differs from the host, but it is in a different network segmen
Author:North SouthFrom:Linuxsir. orgAbstract:This document describes the main configuration file/etc/hosts. It also provides an example of the hostname; thank you;
Directory
1. What is a host name;
2. Host Name configuration file;
3. Host Name modification tool hostname;4. Matters not covered in this article;5. About this article;6. Update logs;7. refer
Three modes--bridged, host-only, NAT for network connectivity on VMware virtual machinesVMware offers three modes of operation, which are bridged (bridging mode), NAT (network address translation mode), and host-only (host mode). To properly apply them in network management and maintenance, you should first look at these three modes of work.1.bridged (Bridging mo
When the mmc_start_host is invoked to enable a EMMC host
void Mmc_start_host (struct mmc_host *host)
{
Host->f_init = Max (freqs[0], host->f_min);
host->rescan_disable = 0;
Host->ios.power_mode = mmc_power_undefined;
Mmc_claim_h
others ' comments: good paper, the simplest use of bridged, bridge can also choose a custom virtual network-->vmnet1, so that the virtual machine IP to host different, and VMnet1 the same. Share the host's network access to VMNET1 (this way has not been used, do not know, Editor's note) Set up VMware to use the host wireless network connection via bridge modeEnvironment: WIN7 flagship, desktop, u disk wirel
Oracle software generally uses the host name to allow the client to directly enter the host name of the server rather than the IP address network to connect to the server. To achieve this goal, you need to map the Host Name and IP address into a ing entry. In Windows, the rtlIPv
Oracle software generally uses the host
The principle of WWW server virtual host
The WWW server virtual host refers to a WWW server that uses a physical machine to act as multiple host names. For example, by a machine to provide http://www.company1.com, http://www.company2.com and other WWW services, and browsing the WWW site users do not feel this way with the different machines to provide different
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.