I installed the virtual machine in the Windows7 system, through the virtual machine installed Ubuntu13.04, I set the host and the virtual Machine connection mode is bridged, installed, found that the virtual machine ping does not host, but the host can ping the virtual machine.My operation is: Turn off the firewall and discover that the virtual machine can ping t
Label: Io ar OS, using SP data Div on BS Virtual Host
Shared hosting is also known as a virtual host. It shares the hardware and bandwidth of this server on many websites upstream of a server. If it fails, all the above websites will be inaccessible.
VPS
VPs, virtual private server, divides a server into multiple virtual private servers for high-quality services. Each VPs can be assigned an independent
previously found that the search for host calls Zabbix API information is not so clear, and then through the Zabbix official documents to find the desired API information, and then write an article of their own this project used in the API.#!/usr/bin/env python#Coding:utf8ImportRequestsImportjsonheaders= {'Content-type':'Application/json-rpc'}server_ip='10.37.149.109'URL='http://%s/zabbix/api_jsonrpc.php'%server_ip#Get tokendefGetToken (username,passw
Recently configured the server, found that setting up IIS needs to add hundreds of host header domain names, I quickly thought of the way to bulk add the host header: Export the IIS station configuration to an XML, then edit all the host headers into the XML, and then return to the IIS6 to overwrite the original site, so that the bulk of the
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
Modify the permission that mysql allows the host to access. mysql allows the host permission.
Enable mysql Remote Access PermissionsBy default, mysql users do not have the permission for remote access. Therefore, when the program is not on the same server as the database, we need to enable the remote access permission for mysql.There are two mainstream Methods: table modification and authorization.Relative
Host win7 system, System installed virtual machine UBUNTU14, LAN other host also for Win7 system, all to open the NFS client program, Win7 home version does not have this function, open the way as follows:Because the corporate network is connected to a large switch with a static IP, the virtual machine bridging mode connection is described here, and the virtual machine bridge configuration is as follows:The
Nginx virtual host configuration tutorial, nginx virtual host tutorial
It is to start multiple websites on one server.
There are two ways to differentiate different websites:
1. Different domain names
2. Different portsDifferentiate virtual machines through ports
Nginx configuration file:
/usr/local/nginx/conf/nginx.conf
# User nobody; worker_processes 1; # error_log logs/error. log; # error_log logs/error
PHP Phpmailer Send the message, there is no connection to host, this is because the Fsockopen function is disabled, Phpmailer send email dependent on this function.
Modify:
class.stmp.php
Solve:
1:
118 lines:
$this->smtp_conn = Fsockopen ($host,//The host of the server
Switch
$this->smtp_conn = Pfsockopen ($host,//The
Three Network modes (host-only, Bridged, and NAT) and host-onlybridged
See from: http://www.cnblogs.com/hehexiaoxia/p/4042583.html
After the virtual machine is installed, two virtual NICs are added. The VMnet1 Nic is connected to the Host-only network, and the VMnet8 Nic is connected to the NAT network.
Bridged Mode
In this mode, the NIC of the VM is
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
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
MySQL cannot start or restart because the Linux host name and mysql host name have been changed.
MySQL cannot be restarted, shut down, started, or used. If you modify the host name, you can disable all mysql processes and start some mysql processes!
Today, I saw that my host name was incorrect. So I changed it to dist
Apache configuration virtual host, Apache virtual host
#在httpd. conf Open Virtual hosts Include conf/extra/httpd-vhosts.conf# and then configure # in httpd-vhosts.conf to match by IP #
# DocumentRoot "E:/htdocs" # directoryindex index.html index.htm index.php#
# Options Followsy Mlinks # allowoverride None # Order allow,deny#
allow from all# #
#根据端口号来匹配 #
# DocumentRoot "E:
Use openresty to dynamically set host and openresty Dynamic hostUse openresty to dynamically set host
Due to project requirements, nginx proxy needs to dynamically set the http_host parameter, which is not supported by native nginx. After investigation, it is found that openresty can implement:1. Install openresty2. start nginx3. modify nginx configuration nginx. conf
Set_by_lua $ new_host 'local prefix =
Python monitors whether the host is alive and sends an alarm via email. python monitors the host for alive
Python is used to write a simple script to test whether the host is alive. This script is not suitable for online use, because network delay and packet loss may cause false positives, in the future, an alert email will be sent after the ping command fails th
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.