How to Disable Avahi-Daemon in CentOS
The Avahi-daemon service is installed on CentOS and runs automatically in the background. Avahi-daemon automatically detects shared resources on a local network and shares the computer's resources using the multicast DNS protocol. Avahi-daemon facilitates the sharing of printers, files, media libraries and other resources on a local network. If you don't want Avahi-daemon running on your system, you can disable it from the graphical services administration tool, or using the service administration commands that come with CentOS. Application features that depend on Avahi to locate shared resources and to share resources on the network won't work after you disable Avahi-daemon.
Click the "System" menu at the top of the graphical desktop, roll your cursor over "Administration" and select "Services."
Type your root password into the box that appears and press Enter.
Select "Avahi-daemon" in the list of background services.
Click the "Stop" button on the toolbar in the Services window to stop Avahi-daemon.
Clear the checkbox to the left of "Avahi-daemon" in the list to prevent Avahi-daemon from automatically starting.
Click the "Save" button on the Services window to save your settings.
Click "Applications," go to "Accessories" and select "Terminal" to open a terminal window if you're using a graphical desktop.
Type "su" into the terminal and press Enter to switch to the root user.
Type your root password and press Enter.
Type "/sbin/service avahi-daemon stop" into the terminal and press Enter to stop Avahi-daemon if it's running.
Type "/sbin/chkconfig avahi-daemon off" into the terminal and press Enter to disable the Avahi-daemon from automatically starting.
Type "exit" into the terminal and press Enter to leave the root shell.