Build DHCP service on Linux system server, realize two basic functions: 1, automatically assign IP address, 2, specify IP address manually.First prepare two virtual machines as the experimental object, a Linux system as a server, a windows7 system as a client, both using the same virtual NIC Vmnet1, and using only
Description
The Zabbix monitoring server is already configured and now uses Zabbix to monitor the Linux host.
Specific actions:
The following operations are performed on a monitored Linux host, taking the CentOS 6.x system as an example.
First, configure the firewall, open 10050,
name, edit the hostname file, enter a new host name in the file, and save the file. After the system is restarted, check whether the host name is successfully modified by referring to the method described above to quickly check the host name.Value indicates that not all oth
about, the type of the network card
32. Using the VI editor, press the Insert key to enter edit modeSteps to read
43. Move the cursor to the IPADDR Settings section and change to the IP address you want to set.As in this example, change to 1.118. Press the ESC key.Enter Colon: Wq Save exitWill prompt "/etc/sysconfig/network-scripts/ifcfg-eth0" 14L, 302C writtenSteps to read
54. After setting up, restart the network service, such as 2 commands c
It is most convenient to set up the Internet in the virtual machine, because there is no need to manually set up the Internet, but Nat's Internet mode by default is DHCP dynamically assigned IP, which means that every time you restart the virtual machine has a different IP address, which is not a problem for the general user. But if you have special use of the machine, such as the server, need
When the Linux System Administrator takes over a new server, if there is no good handover document, the host information we can get depends on ourselves. A lot of information can be obtained directly from the host through commands. Below we will share with you five commands for obtaining Linux
Configure linux as log service host of PIX, cisco, and huawei-Linux Enterprise Application-Linux server application information. The following is a detailed description. Log host settings
Vi/etc/sysconfig/syslog
Set
SYSLOGD_OPTIONS = "-m 0"
Change
SYSLOGD_OPTIONS = "-r-
Tags: img blog size POS address first Inux Gate classA graphical interface configuration (assumed to be computer a)If your Linux installation has a graphical interface, configure it in the following ways:I have two network card, the first network card has been configured by DHCP in the previous article: Linux minimized post-installation IP configuration (DHCP get
/putty /.
Quick start
Download puttyto the machine and double-click putty.exe. the configuration interface of 1 is displayed. Select "Session" and enter the Host Name or IP address to be accessed in the "Host Name (or IP address)" input box, for example, server1 or 192.168.9.4. Port is different based on the p
Php about host calling linux services on virtual machines my host is a Windows system and a linux open source service is required. now we can install vmware on the host and linux on the vm, install the service on the vm. The probl
My host is the window system, need to use a Linux open source service, now is the way to install a VMWARE,VM Linux system on the host, the service installed on the VM. The problem is the PHP file on my console, how to require PHP files on the VM? And how does the PHP file on the VM call the MySQL database on the
the refresh address is as follows:4, at this time, the host can access the virtual machine, but the virtual machine on the market cannot ping the host. This is because the host's firewall is turned on and the firewall is turned off.After shutting down the host's firewall settings, access the host again, but after testing is not a firewall problem, the second is
Automatically get IP address
First step: Activate the network card
Linux system installed after the default network card is eth0, with the following command to activate this network card.
The code is as follows
Copy Code
# ifconfig eth0 up
Step two: Set the network card to start when entering the systemIf you want to automatically get the
Set the network for Linux virtual machines and implement host name ssh access
To install a virtual machine, you must set the Internet access permission to use the host name for ssh remote access control.
1. Set the hostname in linux and access the linux virtual machine throu
interface, which is to ensure security and prevent forgery of the data message. Back to our instance, since the interface that received the packet is BR0, and the egress device that performs the reverse route lookup is eth1 (because we statically configured a host route), the two do not match, so the reverse route check fails, so the packet is discarded.So, is it possible to disable this reverse route look
the Redirect is mainly to the domain name a jump to domain B, more often than not with the domain name of the WWW jump to the domain name with www, then 301 redirect how to do it, this article detailed introduction of the 301 redirect practice, the following is divided into Linux host, Windows host and VPS host three
Linux does not have Internet access prompts Ping:unknown host check steps
The Linux system differs from the Windows platform in order to better use the Web services. Linux is mostly used for Web servers, and the interface is the character interface. For novice encounter the
I installed Ubuntu today but found that I cannot access the Internet. I started to troubleshoot the problem:
1. First, check whether the network connection is correct and whether the network cable used works properly.
2. Check whether the network card works properly. The detection method is as follows:
A. Ping 127.0.0.1
B. Ping the static gateway address
C. Ping the
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.