Iptables using multiport to add multiple discontinuous ports for disc dancing, 01:26, Linux technology, reviews (0), references (0), reading (12214), Via site original Big | c3> Use multiport to add multiple ports that are not connected and can add up to 15 groups. As follows-A input-p tcp-m multiport–dport 21:25,135:139-j DROPIf you do not use the
This article mainly introduced the Phpstudy configuration Multi-site multi-domain and the multi-port method, has the certain reference value, has the interest to be possible to understand
This article describes the Phpstudy configuration multi-site multi-domain and multiport method, share to everyone, but also to leave a note
The WWW directory has three project directories: a b C
Apache default httpd port is 80, Site Directory is D:\WWW\a
1. Configur
; ServerAdmin [email protected]DocumentRoot "G:PHPABC"ServerName dummy-host2.abc.comErrorlog "Logs/dummy-host2.abc.com-error.log"Customlog "Logs/dummy-host2.abc.com-access.log" common7. Save and restart Apache.Note:1, the above code is mainly modified port and directory, 80 port corresponding directory for the g:php,8080 port corresponding directory for G:PHPABC;2, the newly added port corresponding directory must be under the Apache directory;3. Open http://localhost:8080 to access the G:PHPA
", such as:/yourpath/server/httpd/conf/my-httpd-vhosts.conf, and enter the following configuration, Save. Namevirtualhost *:80include/yourpath/server/httpd/conf/vhosts/80.confnamevirtualhost *:81include/yourpath/server /httpd/conf/vhosts/81.confnamevirtualhost *:82include/yourpath/server/httpd/conf/vhosts/82.confThis file is introduced in the httpd.conf configurationServerRoot "/yourpath/server/httpd" Listen 80Listen 82Listen 84include/yourpath/server/httpd/my-httpd-vhosts.confCreate a new three
the home directory of Tomcat, open the Conf folder, locate and open the Server.xml file. Edit the Server.xml file and add it to the
3Follow the configuration in step 2 to save and start Tomcat.You can use domain1 access to Web1, and domain2 access to WEB2.END
Tomcat for multi-domain access (using a different port number)
Note: In contrast to the second case, the current situation should be applied very commonly.
Locate the Tomcat home directory, open the Conf folder, an
/) to access different sites, you need to add at the bottom of the file:# Multi-Port virtual host configuration #ServerName localhostDocumentRoot D:\xampp\htdocs\yii# dedecms_test #ServerName localhostDocumentRoot D:\xampp\htdocs\yiiIf you want to use different domains to access different websites, you need to add them at the bottom:# Multi-domain Virtual host configuration #ServerName www.a.comDocumentRoot D:\xampp\htdocs\yiiServerName www.b.comDocumentRoot D:\xampp\htdocs\magento5. The most im
| grep 0.0.0.0:80
Query the currently running Nginx path with the appropriate process ID (for example: 4562):ll /proc/4562/exe
Once you get to the Nginx execution path, use the-t parameter to get the corresponding profile path for that process, such as:```/usr/local/nginx/sbin/nginx-t
Nginx:the configuration file/usr/local/nginx/conf/nginx.conf syntax is OKNginx:configuration file/usr/local/nginx/conf/nginx.conf Test is successful## 添加匹配规则在已经配置好的443端口下,继续添加location规则HTTPS Server#s
) Create sites and Web documents for each virtual web based on configuration file settings(4) Open a browser on the client to access the virtual Web host4, Port-based virtual hostPort-based virtual hosts are typically used only for the same Web site, and the IP address is often the same for the site name, but different TCP ports provide access to different Web content. The port number of the server should be explicitly indicated when the browser accesses a non-80 port. such as access to http://w
the existing database directly, but pay attention to the configuration of the permissions.Start all DB instancesMysqld_multi--defaults-extra-file=/etc/my_multi.cnf StartConfigure the same root password for each database (as in/etc/my_multi.cnf)Mysqladmin-s/data1/mysql.sock-uroot password redhatmysqladmin-s/data1/mysq2.sock-uroot password RedhatThis is the end of the entire configuration.Related content# log path/var/log/mysqld_multi.log# start all DB instances Mysqld_multi--defaults-extra-file=
Update the NIC Driver and fix the blue screen netr28x. sys Driver file error when the win7 Ralink RT3290 Nic is sleeping on the computer and when the NIC is started.
Update the NIC Driver and fix the blue screen netr28x. sys driver error when the win7 Ralink RT3290 Nic is
Update new NIC driver, fix win7 ralink nic ralink RT3290 blue screen netr28x.sys drive file error when PC sleeps and boot NICMy laptop is win7, ralink Nic Ralink RT3290 802.11bgn Wi-Fi AdapterAfter testing did solve the blue screen problem, download the network card driver here, install the update: NIC driver version:
The following describes how to perform the operation. Take my computer as an example to give a demonstration.
I also have two NICs, one is the Office intranet and the other is the Internet.Set the IP address to 192.168.1.111 and the gateway to 192.168.1.1.Nic connected to the Internet, IP: 192.168.0.111, and Gateway: 192.168.0.1In the command line, run the route print command to view the current default route table:The bottom row: Default Gateway: 1
Fault symptom:When the Driver and Application Installation are used on the Y710 Cube to overwrite the Driver for installing the Killer NIC and Wireless NIC, or the Driver is upgraded and installed, the DAI software cannot be installed.Cause analysis:The Silent installation parameters of Killer NICs and wireless Nic drivers are only applicable to all-new installat
Modify the NIC name of ubuntu change the NIC name of the device change eno16777736 to eth0 ubuntu 15.10 Nic name to eno16777736, eno1677773615.10
Ubuntu linux enters the root user, Administrator Mode
Administrator mode is required to edit this file
Add the figure below GRUB_CMD_LINUX.
If you have any information about the file and want to change the fil
The following describes how to perform the operation. Take my computer as an example to give a demonstration.
I also have two NICs, one is the Office intranet and the other is the Internet.Connect to the Intranet Nic,IPSet:192.168.1.111, Gateway is set192.168.1.1Nic connected to the Internet,IPSet:192.168.0.111, Gateway is set192.168.0.1In the command line, useRoute printCommand to view the current default route table:The bottom line:Default Gatewa
Linux load balancing based on two-NIC binding technology for PlatformMaintaining high availability of servers is an important factor in an enterprise-wide IT environment. One of the most important is the high availability of server network connections. Network interface card (NIC) binding technology helps ensure high availability features and provides additional benefits to improve networking performance.
1. Network card basic configuration information
The 1th step: first we want to switch to the "/etc/sysconfig/network-scripts" directory (this directory is stored with the network card configuration file).
Step 2nd: Use the VIM editor to modify the NIC file "ifcfg-eno16777736", write the configuration parameters, and save the exit.
Device Type: type=ethernet
address assignment mode: bootproto=static
network card name: name=eno16777736
boot: onboot=yes
What is an IP alias?In the words of Windows, you configure multiple IPs for a network card.When do I add IP aliases to what occasions?Web needs, multi-IP access testing, specific software for multiple IP needs ... and so on.HowHere are a few examples of how to use the Ifconfig command to configure an IP alias for a network card.For the configuration of the ip/mask/dns/Gateway/route, seeRouter/linux host/win The host's routing configuration summary. Note: Be aware that your configuration takes ef
Today in the VMware virtual machine installed centos6.5, select Hardware, do not select the network card, the system started, found that there is no network card, then select the virtual machine in VMware-"Settings-" Add-"network adapter, add network card,Start the system, after entering the system, the ifconfig command found that there are only two network cardsUse Ifconfig-a to view eth0 Nic foundUse the command ifconfig eth0 up boot network card wh
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.