Whether it is linux, unix, or windows, there is an IP address such as 127.0.0.1. This is a special IP address called the host loopback address. Open the/etc/hosts file, with at least 127.0.0.1. In daily work, it is very likely that the loopback address is used to complete a certain task. However, there are still few ar
Linux traditional network configuration command and ip advanced routing command-Linux Enterprise Application-Linux server application information, the following is a detailed description. Knowing how to configure network commands is a must-have technique for general technicians. After some time of research and study, I
://s3.51cto.com/wyfs02/M02/5B/8F/wKioL1UMLIDTrwMfAABQfMLCx9g380.jpg "title=" Picture 4.png "alt=" Wkiol1umlidtrwmfaabqfmlcx9g380.jpg "/>Apache's main configuration file/etc/httpd/conf/httpd.confhttpd Default Listener 80 portApache Virtualhost is to run multiple Web sites on a single server, each virtual host can be bound to separate domain names, for these domain names can specify a separate directory, access to these domain names, Apache will open th
Linux host dual Nic packet sending and receiving ARP learning is not normal-Linux Enterprise Application-Linux server application information, the following is a detailed description. 1. Check that the network has no loops.
2. PING the windows dual-nic
Often there is such a requirement that we download packages in Windows, how to upload to a remote Linux host? And how to download packages from Linux hosts to Windows; Before my practice now looks good stupid good cumbersome, but also achieved the purpose, stupid people have this method;How I do it:1. Open a local Linux
Realize the communication between Linux and host machine-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. cd/etc/sysconfig/network-scripts/
2. ls-a to view all files under the current directory; and cat ifcfg-eth0 to view ifcfg-eth0 content
3. there ar
Article Title: communication between Linux and host machines. 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. cd/etc/sysconfig/network-scripts/2. ls-a to view all files under the
Linux, or download files from Linux to Windows;
1. Use our commonly used Xshell logon tool to create a remote session, fill in the IP address and user name and password, select the bottom ZMODEM, fill in the download path, and load the path; two paths can be the same or different;
2. Install the upload and download tool kits rz and sz on the
When the system prompts:[Root@localhost ~]# Ping www.baidu.comPing:unknown Host Www.baidu.com, first see if you can ping the router, and the router can connect to the SISU network[[email protected] ~]# Ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) bytes of data.Bytes from 8.8.8.8:icmp_seq=1 ttl=128 time=123 msBytes from 8.8.8.8:icmp_seq=2 ttl=128 time=175 msBytes from 8.8.8.8:icmp_seq=3 ttl=128 time=196 ms^c---8.8.8.8 ping statistics---3 Packets transmitted, 3 r
The following conditions are required to remotely obtain the Windows and Linux operating system versions and host names:AssumeHost A (Windows 7), ip:192.168.12.2Host B (CentOS 6.3), ip:192.168.12.3Host C (Windows 2008)-a host for remote access to information,
In the virtual machine Linux installed httpd, that is, Appache, after the boot, according to the normal situation in the host can be accessed by the browser through the virtual machine Linux IP to access. If an inaccessible situation occurs, the solution can refer to the following:Here my virtual machine networking mod
the static acquisition of IP2. Check the configuration of the Eth0 network card to verify the success of joining the 207 lab subnet.3. Scan hosts in 207 Labs (TCP SYN semi-connection mode)4. To analyze the host 222.26.28.73, intuitive judgment for the Linux systemTo analyze the host 222.26.28.122, visually determine t
1, source code to install Nginx, and configure Port-based virtual hostConfiguration requirements: The host IP address is 172.16.249.96, which requires a virtual host of 80 ports and 8080 ports respectively.In the first chapter has explained how to compile the installation Nginx, all here will no longer demonstrate the installation process, directly based on the i
= @ mysql_query ($ query, $ dbh );$ Err = @ mysql_error ();If ($ err ){// Unable to connect$ R ["result"] =-3;Return ($ r );}$ Row = mysql_fetch_array ($ res );$ R = $ row;If ($ r ["Slave_IO_Running"] = "Yes") ($ r ["Slave_ SQL _Running"] = "Yes ")){$ R ["result"] = 0;} Else {If (! Emptyempty ($ row )){$ R ["result"] = 1;} Else {$ R ["result"] = 2;}}} Catch (Exception $ e ){$ R ["result"] =-4;}Return ($ r );}
Mysql_instance.php:
The code is as follows:
// Grant replication client on *. * TO
protected] ~]#Here, summarize the method of modifying the hostname:1. Stop the software that is associated with the host name, such as MySQL.2. First use hostname newname to set the hostname.3. In/etc/hosts, modify or add the IP FQDN newname line and check the original 127.0.0.1 row settings. 4. Modify the Hostname=newname in/etc/sysconfig/network.5. Restart the
From http://memo.cnticketing.com/uchome/space.php? Uid = 2 Do = Blog id = 6
RedHat Linux host name modification (hostname)
Hostname # view the Host Name of the current host
Hostname newhostname # Temporarily modify the current host name
Modify
Label:1. First WWW server, inaccessible in host host browser? (1) Modify the Linux firewall, allow host host IP access. (2) Close the firewall to access. Service iptables stop; 2. Mysqld service started, the MySQL client software
I. MTU
Both Ethernet and IEEE 802.3 have limits on the length of data frames. The maximum values are 1500 and 1492 bytes respectively. These limits are called the maximum transmission unit (MTU, maximum transmission unit)If there is a datagram to be transmitted on the IP layer and the data length is greater than the MTU on the link layer, fragmentation is required on the IP layer to split the datagram into
There is no difference between the basic idea and the windows platform.
1. Disconnect the network cable
This is the safest way to disconnect a connection. Apart from protecting yourself, it may also protect other hosts in the same network segment.
2. Analyze login file information and search for possible intrusion methods
After the intrusion, you will not be able to reinstall it, but also analyze the causes and ways of the Host Intrusion. If you find
In the virtual machine Linux installed httpd, that is, Appache, after booting, according to normal situation in the host can be accessed by the browser by accessing the virtual machine Linux IP. In the event of an unreachable situation, the workaround can be as follows:Here my virtual machine is connected to a physical
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.