LoginSignup
10
10

More than 5 years have passed since last update.

自動起動を切っておくサービス(サーバー編)for CentOS7.2

Posted at

概要

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のサービス停止に関しては、利用用途に応じて変更してください。

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10