Linux OPS NotesConfigure IPThere are two main ways of configuring IP1. Immediate effect, temporary modificationIfconfig eth0 (NIC name) 10.0.0.211 (IP address) netmask 223.5.5.5 (subnet mask)2. Restart effective, permanent modificationVim or VI
Network Five elements:MAC address IP address netmask Gateway DNS:convert IP address to domain name Pingifconfigroute/etc/resolv.Confnetstatipnmapcat/etc/resolv.conf view DNS, get nameserver 192.168.0.1ping Google.CA If there is a packet return it
Linux systems have some basic commands that can be well used for server monitoring.For a brief introduction, use Help to view or access relevant information.
Network: Ifconfig,netstat
Disk: DF
Cpu:w
Process: PS
Memory: Free
BodyLinux system version: Centos 6.5Linux system version: Centos 7Earlier, we used the remote tool SECURECRT, with the "ifconfig eth0 + specific IP Address" command to the Linux with an IP address (refer to my blog: Remote login management tool for
The Linux catalogue's special1,/root is the vertex of all the items2. The structure is like an inverted tree3, the catalogue and the magnetic disc division is not related4,/root under different records may be different in the region and the magnetic
(1) Enter the NIC configuration directory[Email protected] ~ #]cd/etc/sysconfig/network-scripts/Comments:CD indicates which level of directory to enterCD behind and directory to add a space, otherwise will be reported no such file or directory
Reference blog: http://www.cnblogs.com/chensiqiqi/p/6243549.html Thank Yumbo Lord for learning Linux for me to specify the direction!!Linux directory: Everything starts with "root", "/" is the starting point of all directories (fixed point)Linux
Note: The eighth week of homework, please organize the following topics in the 51cto blog, after completion, please submit the corresponding post link address in the answer bar, the submission format is as follows:School Number + name + Post link
Start the network card serviceService Network restartdevice=eth0# the name of the NIC hwaddr=00:0c:29:d3:01:b7# Mike address type=ethernet# with what web uuid= ebfe7255-c409-4b89-a08a-cae826677d11#uuidonboot=yesnm_controlled=nobootproto=static#
Linux Network configuration1. Temporarily changing the network configuration① Setting the IP address and subnet mask#ifconfig eth0 192.168.1.33 netmask 255.255.255.0 up//eth0 is the network card to be set, 192.168.1.33 is the subnet mask to be set②
Set IP address under Centos/linux1: Temporary modification:1.1: Modify IP Address# ifconfig Eth0 192.168.100.1001.2: Modify the gateway address# route add default GW 192.168.100.1 dev eth01.3: Modify DNS# echo "NameServer 8.8.8.8"
Linux Common Command LearningThe role of PWD: To see what directory Users are currently in II, CD role: Into a directory 1, into the root directory: CD/2, return to the parent directory: CD. LS function: View the current directory of files 1,
A good deal of a daily blog, it seems that they are not hard enough. Come on, boy!Well today to share with you, because in daily use, install Linu new system too time, so cloning system became everyone's first choice, however this is not all smooth,
Introduction to Linux
In August 1991, in Chihu-Finland, a young man named Linus Torvalds released a Unix-like operating system and named it Linux, and put it on the largest FTP site in Finland, so far, a miracle appeared! Since Linux from the outset
Ifconfig usage DetailedIntroduction to Tools for configuring network interfaces IfconfigIfconfig is a tool used to view, configure, enable, or disable network interfaces, which is extremely common. You can use this tool to temporarily configure the
Windows command Line input ipconfig to view the IP address and Mac physical address of the computer, what command does the MacBook Terminal enter to view the native IP and MAC address?
Open terminal input ifconfig named, will display a lot
In a Linux system, it is common to bind multiple network adapters to a single logical NIC, which can improve the stability of the network, so how do you bind multiple networks to one? The following small series to introduce under Linux multiple
The operation is as follows, login ssh:
The code is as follows
Copy Code
vi/etc/sysconfig/network-scripts/ifcfg-eth0:0
The second IP is
The code is as follows
Copy Code
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.