概要
CentOS7.2をサーバーとして起動する上で、必要があまりないサービスはあらかじめ切っておいたほうが起動も早くかつ他のプロセスが邪魔をすることもなくなるので、パフォーマンスやサービス重複のトラブルも減ることが想定されます。
尚、RHEL7.2でも適用可能です。
停止スクリプト
自動起動停止スクリプト
systemctl disable abrt-ccpp
systemctl disable abrt-oops
systemctl disable abrt-vmcore
systemctl disable hypervkvpd
systemctl disable hypervvssd
systemctl disable hypervfcopyd
systemctl disable firewalld
systemctl disable iscsi
systemctl disable ModemManager
systemctl disable qemu-guest-agent
systemctl disable bluetooth
systemctl disable mdmonitor
systemctl disable libvirtd
systemctl disable libstoragemgmt
systemctl disable rhsmcertd
systemctl disable spice-vdagentd
systemctl disable rtkit-daemon
systemctl disable dmraid-activation
systemctl disable ksm
systemctl disable ksmtuned
systemctl disable rngd
systemctl disable multipathd
実行後
OS再起動で反映されます。
尚、Firewalldのサービス停止に関しては、利用用途に応じて変更してください。