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
Tags: Creating an instance Error host nameThere is a phenomenon, after DB2 installation, using DB2ICRT to create an instance, the host name is not valid, prompting the following:[plain] view plain copy
[Email protected] instance]#/db2icrt-u db2inst1 db2inst1
The host name "Centos-0.msdomain" is invalid. Specify a valid
1. Set the host NicDisable VMnet1 for the VM, enable VMnet8 for the VM, set VMnet8 to automatically obtain the IP address, and automatically obtain the DNS server (or use the IP address 192.168.98.1, subnet mask 255.255.0, gateway and DNS server are not required ). Select "Local Connection", right-click "properties", and click "Internet Connection Sharing.
2. Set the guest OS NicSet the "local connection" of the guest operating system in your virtual
Multiplexing (port address Translation,pat)Refers to changing the source port of an out-of-Office packet and port translation, which is Port address translation (PAT, Port addresstranslation). The port multiplexing method is used. All hosts on the internal network can share a legitimate external IP address to enable access to the Internet, thereby maximizing the savings in IP address resources. At the same time, can hide all the hosts inside the network, effectively avoid attacks from the Inter
support information, create a tracker, create mailing-lists, create a forums, source code, documentation, tasks, and each action may has sub-actions, for example, in the "code" action, you can view subversion repository, submit code, view subversion statistics.
Homepage: http://sourceforge.net/or http://sf.net
Google Code:Google Code is well known by Google service users. google Inc. provide its own featured codes, most of which are widely used. it also provides project
Phenomenon:Online settings AllSigned and other methods are invalid. Later consideration may be related to the command line version compatibility, and then found in the registry command line configuration of a ForceV2 set items, holding a try to change the mentality, and indeed resolved!Workaround: Modify the Registry Hkey_current_user\console the value of ForceV2 to 1, restart the computer, and then open the VS-tools-NuGet Package Manager-The package management console is initialized."Original"
When the underlying operating system of the ESXi host is installed on the SD card, when the host is configured in Vcenter, if the ESXi host has an error "not configuring system logging on the host XXX.XXX.XXX.XXX" or "the system log on the host is stored in non-persistent st
From the virtual host business, perhaps Hawkhost Eagle host is not considered to be the most outstanding business in our eyes, but from this black Friday activities, as well as such a cost-effective and business reputation for our general user blogs, personal sites, as well as the storage of corporate sites is more reliable. Before the old left also has released their home promotion information, see some no
Google cannot be opened because the Host file is modified with the latest virus. You are prompted to use Baidu for search.
Gseeker message:
In the near future, some users may log on to google.cn/.comand return to China at the prompt: “google. please use a hundred-degree search engine ". This is obviously not normal because Google has not withdrawn from China. The reason why the user will see this jump page is that the system files on the user's comp
with the root account, go to its home directory, create the authorized_keys file, and set the permissions.Cd ~ /. SshCat/tmp/id_rsa.pub> authorized_keysChmod 400 authorized_keysRm-f/tmp/id_rsa.pub
4) testGo to the root account on machine A and try to log on to machine B. Check if the password is not required.Note:The authorized_keys File Permission is very important. If it is set to 777, you still need to provide a password when logging on.Remember to delete id_rsa.pub in the temporary director
1. Description of the problem
In general, there is a limit to the login IP of the database.For Web services and MySQL services on the same machine, the general limit is that only the local computer can access the MySQL service.For web and MySQL service separation, it is generally specified that only the host of the Web service can access the MySQL service. 2. Backup
Suppose 192.168.0.1 is running a Web service, 192.168.0.2 is a MySQL service. Only 1
Label:Problem description, 1 check whether the MySQL service is started, 2 shutting down the firewallNetfilter/iptables off mode [[email protected] ~] #iptables-FSELINUX shutdown mode [[email protected] ~] #setsebool-P samba_enable_home_dir on3 See if there is a listening MySQL port Netstat-an |grep 33064 or not, but the way the tunnel is connected can be passed. Then use the following method ok 1. Change the table method. It may be that your account is not allowed to log on remotely, only on
Enter/etc directory or edit/etc/hosts file directlyThe following are the contents of my Hosts file: 127.0 . 0.1 localhost 127.0 . 1.1 wakasann-rev-1 -0 # The following lines is desirable for I PV6 capable hosts :: 1 ip6-localhost ip6- Loopback fe00::0 ip6-localnet Ff00::0 ip6-mcastprefix Ff02::1 ip6-allnodes ff02::2 ip6-Because I am in the settings, information, device name modified to: wakasann-rev-0Each time sudo is displayed, it will appear once:sudo: Unable to resolve
operating system.There are many versions of Linux, and I chose to develop my personal BI system based on this stable version:Red Hat Enterprise Linux Server release 6.4 (Santiago)
3. Bi System host InformationTo do this, after selecting the operating system, come down to install the server. I chose a VMware virtual machine to install the Linux server. Here, the installation of VMware virtual machines has a lot of relevant articles on the networ
Cloud Server ECS Linux host modifies host name
There are two ways to modify cloud server ECS Linux hostname, which is outlined in this article.Temporary effective modificationUsing the command line to modify the hostname hostname (customizable), the login shell takes effect.You can see that the shell is in effect when you log back inPermanent change in effectTake the CentOS system as an example, you need
The UDP contract is usually by the hacker through the PHP execution attacks others ' website to perform some operations, such consequence is our server's bandwidth will be depleted, the CPU runs full, therefore needs our space to have the use DEDECMS and so on program's best setting, prevents our server to become the broiler.
Phenomenon: the host contract (generally because of the dedecms loophole causes hackers to upload the Trojan program to send U
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.