In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about what the RHEL/CentOS 6.x system service is. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
The system service of PS:RHEL/CentOS 6.x has a lot of new faces than the 5.x series. It is estimated that many children's shoes do not quite understand, and there is little information about it on the Internet. It is necessary for operators to understand this, because the more unnecessary services are opened, the less secure the system will be. Close services that do not need to be turned on as far as possible. I combined with my own application experience to do some explanation, there are different understanding of children's shoes are welcome to communicate.
1. The following list shows the system services installed in the RHEL/CentOS 6.x minimized desktop environment, where the red font shows the list of services after the installation of the system is minimized with the official minimal ISO.
Service name function default recommended note that NetworkManager is used to automatically connect to the network. It is often used to turn on / off the server useless abrt-ccpp on / off the server useless abrt-oops / server useless abrt-oops / server useless abrtd / server useless acpid power switch and other detection management, often on Laptop / server useless atd command to turn on / off at a specified time if crond is used You can turn it off auditd audit daemon on if you use selinux, you need to turn on it autofs file system automatic load and unload enable custom only turn it on when needed, you can turn off avahi-daemon local network service lookup turn on / off to server useless bluetooth Bluetooth wireless communication on / off turn off on / off server useless certmonger off cpuspeed adjust cpu speed to save power Commonly used to turn on and off on Laptop for server useless crond scheduled task management on, off, on, off, on, on, off, on, off, Generally turn off iptablesipv4 firewall enable enable ipv4 firewall service irqbalancecpu load balancer enable custom multicore cup requires kdump hardware change detection turn off server useless lvm2-monitorlvm monitoring turn on custom if you use LVM logical volume management turn on matahari-broker close close this service is not clear, I turn off matahari-host close close this service is not clear, I turn off matahari-network close close this service is not clear I'm shutting down matahari-service, shutting down this service, I'm shutting down matahari-sysconfig.
Turn off this service is not clear, I turn off mdmonitor soft raid monitoring enable custom messagebus is responsible for passing messages between various system processes on, such as deactivation, haldaemon startup will fail netconsole shutdown shutdown netfs system startup automatically mount network file system on / off if you use nfs service, activate all network interfaces to enable network basic services when the network system starts, required! Nfs network file system shuts down nfs file service, if you need to turn on nfslocknfs related service, turn off nfs related service, use turn on ntpd automatic timing tool to close custom network timing service, use to turn on ntpdate automatic timing tool, close oddjobd and D-BUS related shutdown portreserveRPC service, turn on custom mail server that can turn off postfix instead of sendmail if there is no mail service. Psacct load detection can be turned off, qpidd message communication can be turned on, quota_nld can be turned on, rdisc automatic detection router can be turned off, restorecondselinux related shutdown can be turned off, if selinux is enabled, you need to turn on rpcbind to enable key basic services, which are dependent on nfs services and desktop environment! Equivalent to the portmap service in CentOS 5.x. RpcgssdNFS-related enable / disable NFS-related services, optional rpcidmapdRPC name to UID/GID mapper enable / disable NFS-related services, optional rpcsvcgssdNFS-related disable / disable NFS-related services, optional rsyslog provides login profile records of the system to enable Syslog key services, required! Saslauthdsasl authentication service related shutdown shutdown smartd hard disk automatic detection daemon close shutdown spice-vdagentd enable enable sshdssh server, you can provide secure shell login to enable SSH remote login service, required! Sssd closes sysstat enables the service of enabling a set of system monitoring tools. Commonly used udev-post device management systems enable wdaemon close close wpa_supplicant wireless authentication related close close ypbindnetwork information service client close close
2. System service management tools:
Chkconfig (available in all linux distributions), the usage is simple, as follows:
Usage: chkconfig-list [name] chkconfig-add chkconfig-del chkconfig [- level]
Ntsysv (Redhat is unique to the distribution), which runs directly to select whether the service is self-starting.
3. Check the description of the system service:
Under RHEL/CentOS, these system services are Shell scripts, and we can use the command parameters of rpm to view the description of the corresponding services. To view the description of the mysqld service:
# rpm-qi $(rpm-qf / etc/init.d/mysqld)
As shown in the figure:
[root@CentOS6-x64] # rpm-qi $(rpm-qf / etc/init.d/mysqld) Name: mysql-server Relocations: (not relocatable) Version: 5.5.25 Vendor: Remi Collet Release: 1.el6.remi Build Date: Friday, June 1, 2012 23:56:58 Install Date: Monday, June 11, 2012 04:43:06 Build Host: dixsept.famillecollet.com Group: Applications/Databases Source RPM: mysql-5.5.25 -1.el6.remi.src.rpm Size: 46861045 License: GPLv2 with exceptions Signature: DSA/SHA1 23:58:04 on Friday, June 1, 2012, Key ID 004e6f4700f97f56 Packager: http://blog.famillecollet.com/ URL: http://www.mysql.com Summary: The MySQL server and related files Description: MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) and many different client programs and libraries. This package contains the MySQL server and some accompanying files and directories. This is what the RHEL/CentOS 6.x system service shared by the editor is like. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are 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.