If a server has only one IP or needs to access different virtual hosts through different ports, you can use a port-based virtual host configuration.(1) on the CENTOS7 server of the virtual machine, configure Eth0:4 to 192.168.1.214:(2) Configure the/etc/hosts file for easy testing:Do a ping test to see if the IP addres
Recent project to use Minicom, installed on Linux after the installation, found that the Development Board and virtual machine serial port can not communicate, by looking for information, you must first set up the relevant virtual serial port-Create a web hosting pipeline.
1. In the serial bar check [] enable the
Reprinted from: http://hi.baidu.com/%C9%B3%BC%D3%BB%C6%BD%F0%CA%A5%B6%B7%CA%BF/blog/item/026988d1a82d482e9b5027cd.html
There is such a piece of code in mini2440_leds_misc.c. Throughout the c file, I feel like the real core code:
S3c2410_gpio_setpin (led_table [I],! CMD );
The core of this sentence is s3c2410_gpio_setpin.
Baidu has come to give a detailed explanation. It provides exceptionally powerful guidance on understanding the address ing of the 24x0 series Development Board in arm-Linux.
Environment:
Ubuntu 14.04.1
MongoDB v3.4.1
Virtual Machine Connection mode is a NAT connection
First, MongoDB startup problemAfter updating the kernel, when running MongoDB, the Data directory/data/db not found. Error, the time is long not remember installed configuration OrzLooked up some information, this is because MongoDB default dbpath is/data/db, this directory can only be created with the root user, after the creation of t
Recently, I started to do something related to serial communication. Because I don't have a physical serial port on my computer, but to test whether my writing can work normally, I must have a serial port, therefore, the software of virtual serial ports is used again. In short, several serial ports are virtualized in your system, and you can "Connect" them virtua
How to install the driver in Win8.1 can solve problems such as virtual serial port installation and VMware bridge driver installation ., Win8.1vmwareA virtual machine is installed in win8.1, but there is no virtual network card vmnet0 vmnet1 vmnet8?The network cannot be changed to the bridging status: Is there no host
The virtual machine is installed in the win8.1, but there is no virtual network card vmnet0 Vmnet1 vmnet8?Unable to change network to bridged state: No host network adapter not bridged?win8.1 how to set up VMware bridging mode Internet?Netbridge.inf don't fit in? VMware Bridge protocol not fit in? Data error?The virtual serial
On Saturday, to test the gadget factory inspection, because I was Win7 64Bit system, so I used 32 bit original XP and WIN7 Reflector 2 virtual machine.(The motherboard for more than one new computer is not a serial port, so install the USB Tour series.))(fixed-length data, 120 look.) )--------------the original reproduced in this article, please maintain the integrity and prominent references---------------
. Create a zhangsa user and restart the httpd serviceIn the host testTwo building multi-site (virtual host)1 same IP same Port different host name benet and ACCPedit vi/etc/named.conf configuration filecreating benet and ACCP directoriesInstall the bind packageChange The main configuration file for bind vi/etc/named.confChange The Zone profile for bind vi/etc/named.rfc1912.zonesChange The Zone data profi
experimental Environment: RHEL6 as server, host or another win system for the access terminalExperimental Purpose: To achieve multi-channel Web AccessExperimental Requirements: Server IP address: 192.168.100.10 IP Address: 192.168.100.25 (as long as the 100 segment of the line)1. First install the HTTPD service, enter the configuration file to configureVim/etc/httpd/conf/httpd.confListen 192.168.100.10:80//Listening port#Listen//ipv6 Write offServerNa
To implement three types of virtual hosts need to modify the code under Http\server in the Nginx nginx.conf file, share two ways to configure a virtual host:
# domain-based virtual host
server {
listen; # Listen to the Port
server_name a.com, listen to the domain name, note that localhost is also a do
IP in the same network segment)
IP Style:
IP 169.254.147.9
Subnet Mask 255.255.0.0
Default Gateway None
Principle:
Each virtual machine uses VirtualBox built-in DHCP server to get IP, packet transmission does not go through the host network, so the security is high, to prevent external grab bag ~
Five, Nat mode + port mapping
Mapping a virtual machine
Windows builds a WAMP environment that is much simpler than a Linux system, but many of the online experiences are misunderstood, resulting in a lot of time to configure.1. Download Wampserver http://xiazai.xiazaiba.com/Soft/W/wamp_2.5_XiaZaiBa.zip?pcid=27954filename=wamp_2.5_ Xiazaiba.zipdownloadtype=xiazaiba_seoAfter installation, the WAMP program appears green to indicate that the service is turned on, if it is not necessary to reinstall to ensure normal.Access to localhost and localhost/php
Tomcat default Access listening port is 8080, but in the URL bar input IP plus port unavoidably some trouble, and if the use of IP parsing, can only resolve to the corresponding IP, can not directly through the browser default 80 port access, So we can modify the Tomcat default listening port to 80, so that it can be e
This article will show you how to set up a router so that the extranet can access a computer in the intranet or a local Web site on a computer. It is in the time to publish the website to the customer learned, summed down.First go to the router and locate the virtual server: Click Add New entry: In the location of the port number to fill in the port number to be
Step 1. First open the httpd.conf file inside the appserv\apache2.4\conf. Found in:LoadModule Rewrite_module modules/mod_rewrite.so This line, the "#" in front of him to remove.Step 2. Find: Include conf/extra/httpd-vhosts.conf remove the "#" from his front. (Very critical)Step 3: Add the port and locate the Listen add port as follows#Listen 12.34.56.78:80Listen 8888Listen 8081Step 4: Go to Appserv\apache2.
Serveralias www.dummy-host.abc.ccom
ErrorLog "Logs/dummy-host.abc.com-error.log"
Customlog "Logs/dummy-host.abc.com-access.log" common
ServerAdmin webmaster@dummy-host2.abc.com
DocumentRoot "G:\PHP\ABC"
ServerName dummy-host2.abc.com
ErrorLog "Logs/dummy-host2.abc.com-error.log"
Customlog "Logs/dummy-host2.abc.com-access.log" common
7, save and restart Apache.
Note:1, the above code is mainly modified port and directory, 80
Article Title: three virtual host configuration methods: IP, port, and domain name. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Virtual Hosts With the same IP address and different ports
1) vi/etc/http/conf/httpd.
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.