Disable and Remove Unwanted Services on RHEL/CentOS 7 Minimal Installation
#Disable/Remove Postfix MTA, Avahi and Chrony Services
# mail service , use 25/ 53 port
# systemctl stop postfix
# yum remove postfix
#Replaced by NTP server, use 123 port
# systemctl stop chronyd
# yum remove chrony
# Avahi daemon is strongly tight and depends on Network Manager service.
# systemctl stop avahi-daemon.socket avahi-daemon.service
# systemctl disable avahi-daemon.socket avahi-daemon.service
As a final setting make sure you set up a name for system hostname using hostnamectl utility and review your configuration with hostname command.
# hostnamectl set-hostname FQDN_system_name
# hostnamectl status
# hostname
# hostname -s ## Short name
# hostname -f ## FQDN name
https://www.tecmint.com/remove-unwanted-services-in-centos-7/
沒有留言:
張貼留言