Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Redhat (03): Linux initialization configuration

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Uninstall method of virbr0 virtual network card

In the process of using dual-computer software, if the system is the xen kernel after the centos 5.x default system installation is completed, then there will be virtual network cards (vethx, vif0.x, virbr0, xenbr1, etc.) after xen kernel boot.

This will directly result in the same IP address on both machines of the dual-computer software (the IP address of the virbr0 Nic is 192.168.122.1). Therefore, it will lead to the phenomenon that the standby will not take over when the host in the dual-computer system shuts down. Therefore, you need to uninstall the virbr0:

Execute the command: yum remove-y libvirt*, uses ifconfig-a to see if the network card virbr0 is uninstalled.

If you perform an yum error, you can vi / etc/yum/plugincon.d/rhnplugin.conf and then change the enable=1 in the file to enable=0 in order to disable this feature before performing yum remove libvirt to uninstall.

Restart the system

2. Uninstall network manager

Yum remove NetworkManager-y

Set to close the graphical interface (install the graphical interface so that you can apply eclipse, the general application server will not choose to install the graphical interface)

Systemctl set-default multi-user.target

Third, shut down unnecessary services chkconfig nfs offchkconfig pcmcia offchkconfig lpd offchkconfig autofs offchkconfig anacron offchkconfig portmap offchkconfig isdn offchkconfig nfslock offchkconfig sendmail offchkconfig cups offchkconfig smartd offchkconfig bluetooth offchkconfig netfs offchkconfig rpcgssd offchkconfig rpcidmapd offchkconfig rpcbind offchkconfig pcscd offchkconfig smolt offchkconfig cups offchkconfig isdn offchkconfig ip6tables offsystemctl disable nfssystemctl disable pcmciasystemctl disable lpdsystemctl disable autofssystemctl disable anacronsystemctl disable portmapsystemctl disable isdnsystemctl disable nfslocksystemctl disable sendmailsystemctl disable cupssystemctl disable smartdsystemctl disable bluetoothsystemctl disable netfssystemctl disable rpcgssdsystemctl disable rpcidmapdsystemctl disable rpcbindsystemctl disable pcscdsystemctl disable smoltsystemctl disable cupssystemctl disable isdnsystemctl disable ip6tablessystemctl disable firewalld. Commonly used package installation yum-y install gccyum-y install gcc-c++yum-y install net-snmpyum-y install ntpyum-y install unzipyum-y install vim-enhancedyum-y install wgetyum-y install telnetyum-y install kernel-develyum-y install fingeryum-y install sshyum-y install nslookupyum-y install zlib-develyum-y install krb5-develyum-y install sysstatyum-y install lsofyum-y install fuseryum-y install bind-utilsyum-y install glancesyum-y install dstatyum-y install net-toolsyum-y install vimyum-y install wget

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report