About the NOZEROCONF = yes parameter in linux/etc/sysconfig/network
About the NOZEROCONF = yes parameter in linux/etc/sysconfig/network
Today, we saw this parameter in the CSSD Fails to Join the Cluster After Private Network Recovered if avahi Daemon is up and Running (Doc ID 1501093.1) article,In this article, we will discuss the following:
SolutionThe solution is to shutdown and disable 3rd party zeroconf
About the Nozeroconf=yes parameter in Linux/etc/sysconfig/networkToday from CSSD fails to Join the Cluster after Private Network recovered if Avahi Daemon are up and Running (Doc ID 1501093.1) article To this parameter,In this article, there is the following discussion:Solutionthe solution is to shutdown and disable 3rd party zeroconf MDNS Process, in this case, Avahi-daemonto shut it down , as root:#/etc/init.d/avahi-daemon stopto disable it, as root
Description of/etc/sysconfig/clock in CentOS1) the time zone configuration file for CentOS is:/etc/sysconfig/clockThe configuration file supports the following configuration options: UTC, ARC, SRM, and ZONE:(1) UTCSpecifies whether the time saved in BIOS is GMT/UTC time. true indicates that the time saved in BIOS is UTC time, and false indicates that the time saved in BIOS is local time.(2) ZONESpecify the
In Linux systems, firewalls are not turned on by default, and there is no policy to configure any firewalls, so there is no/etc/sysconfig/iptables file.First, the general method of solution:1. Use the iptables command in the console to write a firewall ruleIptables-a output-j ACCEPT1. functionService Iptables SaveSave it to the Iptables file in the/etc/sysconfig directory by default.However, this method is
This script modifies Linux/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ETHX network card files in the network card one, network card two IP address (ipaddr), subnet mask (NETMASK) information
#!/bin/shProc=/bin/sedFile_path1=/etc/sysconfig/network-scripts/ifcfg-eth0File_path2=/etc/sysconfig/network-scripts/ifcfg-eth1Ip_primal1= ' grep-i ipaddr $FILE _path1|awk-f "=" '
Configuration/etc/sysconfig/network-scripts/ifcfg-ethx [IPV4 article]
Transferred from
http://blog.csdn.net/julius819/article/details/7652463
For network management in Linux systems, we often use powerful ifconfig commands.
However, the ifconfig command configuration of the network card information, after the network card reboot after the machine restart, the configuration does not exist. In order to keep the above configuration information forever
Edit the/etc/sysconfig/i18n file. delete the original settings, copy the following LANG = "zh_CN.GB18030" SUPPORTED = "zh_CN.GB18030: zh_CN: zh: en_US.UTF-8: en_US: en" SYSFONT = "latarcyrheb-sun16" Save, restart. OK. Now, Chinese characters can be displayed on the linux console, in RHEL5, the corresponding file is/usr/lib/locale/zh_CN.gb18030/etc/sysconfig/i18n. Here, the first line of system region langua
Edit the/etc/sysconfig/i18n file,Whether you have installed the Chinese version or the English version, delete the original settings and copy the followingLang = "zh_cn.gb18030"Supported = "zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en"Sysfont = "latarcyrheb-sun16"Save, restart. OKIn this case, Chinese characters can be displayed on the Linux console,The corresponding file in rhel5 is/usr/lib/locale/zh_cn.gb18030.
/Etc/
The configuration file for the system network device is saved under the "/etc/sysconfig/network-scripts" directory, Ifcfg-eth0 contains configuration information for the first network card, IFCFG-ETH1 configuration information that contains the second NIC.
The following is an example of a "/etc/sysconfig/network-scripts/ifcfg-eth0" file:
Device=eth0
Onboot=yes
Bootproto=static
ipaddr=192.168.0.66
netm
The following values are common in all basic configuration files:* Device=name, where name is the name of the physical device (except for dynamically assigned PPP devices,Its name is "logical name".* Ipaddr=addr, here addr is the IP address.* Netmask=mask, here Mask is the netmask.* Network=addr, here addr is the network address.* Broadcast=addr, here addr is the broadcast address.* Gateway=addr, here addr is the gateway address.* Onboot=answer, here answer take one of the following values:o Yes
For network management in Linux systems, we often use powerful ifconfig commands.
However, the ifconfig command configuration of the network card information, after the network card reboot after the machine restart, the configuration does not exist. In order to keep the above configuration information forever in the computer, it is necessary to modify the network card configuration file. There is a very important member in the configuration file:/etc/sysconf
usemd5=Yes|No -whether to use MD5 for identity verification
usekerberos=Yes|No -whether to use Kerberos for identity authentication
useldapauth=Yes|No -whether to use LDAP for identity authentication
passwdalgorithm=sha512 -hash algorithm for password encryption on/etc/shadow.
usesysnetauth=yes #是否启用本地登陆功能, this random
Usemkhomedir = Yes #用户是否创建家目录This article is from "Smile_ Youth" blog, please be sure to keep this source http://smileyouth.blog.51cto.com/7273768/1748528/et
A Linux server cannot find the file when using the CAT/etc/sysconfig/iptables command.1. Service iptables statusUse this command to check the statusIf the configuration file cannot be found, run the command and you will see that the firewall has stopped"2. Start the firewall: Service iptables restart3. Generate iptables configuration: Service iptables saveSo far OK.Reference link:Http://blog.btnotes.com/articles/233.htmlHttp://blog.goyiyo.com/archives
#头两行是注释说明 # Firewall configuration written by System-config-securitylevel # Manual customization to this file is not recom
Mended. #使用filter表 *filter #下面四条内容定义了内建的INPUT, Forwaard, ACCEPT chain, also created a new chain called Rh-firewall-1-input:
When I think of the Linux system modified hostname already very familiar with the time, today encountered a few problems, these several questions for me a good lesson, a lot of knowledge points, when you think you have mastered the time, in fact, you know is still only fur. Technical life, do not have to be tasted then stop!
Experimental Environment: Red Hat Enterprise Linux Server release 5.7 (Tikanga), other versions of Linux may be different. Please take the actual environment as the subject
From:http://www.cnblogs.com/kerrycode/p/3595724.html written in quite detail!!! Deep understanding of Linux modification hostname2014-03-12 10:17 by Xiaoxiang Hermit, 81950 reads, 19 Comments, Favorites, compilation When I think of the Linux system modified hostname is already very familiar with, today encountered a few problems, these questions give me a good lesson, a lot of knowledge points, when you think you have mastered, in fact, you know is only fur. Technical work, do not taste the stop
Transferred from: http://www.cnblogs.com/kerrycode/p/3595724.htmlWhen I think of the Linux system modified hostname is already very familiar with, today encountered a few problems, these questions give me a good lesson, a lot of knowledge points, when you think you have mastered, in fact, you know is only fur. Technical work, do not taste the stop!Lab Environment: Red Hat Enterprise Linux Server release 5.7 (Tikanga), other versions of Linux may be different. Please take the actual circumstances
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.