Host: System Win7,ip address 172.18.186.210Virtual machines: VMware Workstation 7, the CentOS operating system is installed under the virtual machine, the IP address is 192.168.202.128, and the lamp is deployed as a Web serverNetwork Environment: Campus Network (with authentication server, need account authentication to surf the Internet), virtual machine using NAT Way NetworkIn the campus network environme
same. This approach requires the server to be equipped with multiple network interfaces, so the application is not very extensive;
Based on IP port
Different TCP port numbers are used to differentiate different site content, but users need to specify a port number to access the different virtual sites;
Nginx (pronounced with engine x) is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server that is released under a bsd-like protocol. It is characterized by the possession of less memory, concurrency is strong, in fact, nginx concurrency is actually in the same type of Web server performance better. Nginx as with Apache httpd, Nginx also provides IP-based, port-based and domain name mode to configure the
USB is faulty. Therefore, the embedded system should be directly connected to the PC through the USB Bus Interface (through the on-Chip USB interface or the On-Chip USB interface chip), and the MCU can directly complete the protocol conversion of the USB virtual serial port.
In the USB standard subclass, there is a type of protocol called CDC that can implement virtual
, You can automatically obtain the IP address, but for Linux, you must manually configure the IP address and subnet mask. During manual configuration, you must ensure that the IP addresses of each virtual machine are in the same network segment)
IP style:
IP 169.254.147.9
Subnet Mask 255.255.0.0
No Default Gateway
Principle:
Each virtual machine uses the built-in DHCP server of virtualbox to obtain the IP
Linux is installed on the virtual machine VMware. to enable the host to access web services running in Linux on the virtual machine, the VMwareNAT Port ing configuration is required. The details are as follows:
Linux is installed on the virtual machine VMware. to enable the host to access web services running in Linux
1. Virtual directoryEach Internet service can be published from multiple directories, a virtual server can have one host directory and any number of other publishing directories, and other publishing directories are called virtual directories.Specifies the customer URL address that the service submits to the customer as a directory tree for the entire publishing
Scene:Physical machine extranet for IP a virtual machine NAT Intranet IP B now wants to access the virtual machine with the intranet IP B through IP a. Principle: The Web server uses port 80, so just do a 80-port mapping. SSH default port is 22, also need to do mapping to SS
The Nat virtual server is mainly used for the flow from the adslwan port to the LAN port. Sometimes, you will find that you can log on to another Wan FTP server from the adsl lan computer, but you cannot log on to your adsl lan ftp server from the WAN. Why? Because you have not configured a virtual server, ADSL will no
These two days need to develop a program to implement the GSM at command into CDMA at the command set (in order to tie in with another GSM at command of the third party SMS program access to our CDMA Modem), considered, decided to use the virtual serial port of the way to achieve, Is that we develop a gateway program control modem, while in the system simulation of a new serial
description of the previous article : Windows host ip:10.100.70.135Linux virtual machine ip:192.168.233.129Docker container ip:172.17.0.11for the convenience of testing, we typically choose to Install the virtual machine in the Windows host (this is VMware workstation) and deploy Docker in the virtual machine container. the outer network of containers that w
VMware Workstation provides two ways to access virtual machines, one bridge, one Nat,bridge to get a public address, and NAT to be an intranet address.NAT is equivalent to using a host as a NAT translator, and we can add port mappings so that the extranet can access virtual machines that use NAT to surf the web.Here are two examples ofThe host environment used is
instances, including www.a.org and www. B .net.
Add the following content to the httpd configuration file:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/53/wKioL1PnQaPg-F-1AADYnN1AQfo186.jpg "Title =" 2014-08-10 17_50_14-root @ sueking _~ -Xshell 4.jpg" alt = "wKioL1PnQaPg-F-1AADYnN1AQfo186.jpg"/>
After the configuration is complete, check the syntax and restart the service: # httpd-T # service httpd restart
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/5
Currently, both the on-board and PND devices have the function of automatically correcting the system time. The implementation method is generally when GPS is used (of course, for devices with CMMB module, you can also use CMMB for calibration ). However, because the serial port device is an exclusive device, the GPS serial port cannot be used by the navigation software and calibration program at the same t
In the Ubuntu virtual machine, the Meteor daemon runs, requires a terminal connection, and requires a port map of the Ubuntu virtual machine and Windows (the virtual machine shares the IP address with the host).
The following steps are set:
1. Click Compile, Virtual networ
Overview:Virtual directory: Refers to the establishment of a virtual subdirectory under the site, specifying a fixed physical path as the site's application path. Each Internet service can be published from multiple catalogs. A virtual server can have a host directory and any number of other publishing directories. Other publishing directories are called virtual
In 3.17 days have written an article about the APAHCE based on the domain name, port, IP address 3 ways of virtual host implementation. The principle is the same, now record Nginx virtual host These three ways of implementation.The system version is Rhel5.6,nginx version 1.1.6.1. Domain-based:Based on the way the domain name, to first have a DNS server, here for
Apache Configuration Managementone, based on the port, that is, based on the different ports, the same IP virtual host virtual hosts with different ports based on the same IP 1) vi/etc/http/conf/httpd.conf2) Change the Listen field toListen 80Listen 8888(the above setting means using 80 and 8888 Ports) 3) Change the virtual
By default, Apache on Linux uses the
The default document directory is:/var/www
The default port is: 80
If you want to publish your own system resource directory, you can use the following method to execute the following command:
(1) Adding a listening port#cd/etc/apache2
#vim ports.conf
File Additions:
Namevirtualhost *:8000Listen 8000
(2) Configuring the virtual
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.