In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the example analysis of network-related configuration files in Linux, which is very detailed and has a certain reference value. Interested friends must read it!
Linux Network related Profil
A corresponding relationship between network parameters and configuration files
The required network parameters the main configuration file names important parameters
IP
Netmask
DHCP
Gateway et al.
/ etc/sysconfig/network-scripts/ifcfg-eth0
Name of DEVICE= network card
Whether BOOTPROTO= uses dhcp or not
HWADDR = whether to join the MAC address of the network card
IPADDR = IP address
NETMASK = subnet mask
ONBOOT = do you want to start this interface by default
GATEWAY = gateway address
Hostname / etc/sysconfig/network
NETWORKING = do you want to use the network
NETWORKING_IPV6 = whether IPv6 is supported
DNS IP/etc/resolv.confName Server DNS IP address Private IP corresponding hostname / etc/hosts private IP hostname alias
2 other documents
/ etc/service
This file records the port numbers defined by various protocols built on TCP/IP, including HTTP, FTP, SSH, Telnet and other services. If you need to customize a new protocol corresponding to port, you need to change this file.
/ etc/protocols
This file defines the data related to the IP packet protocol, including the definition of the ICMP/TCP/UDP packet protocol.
The above is all the contents of the article "sample Analysis of Network-related configuration Files in Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.