linux 7 优化开机启动,Centos7 开机启动服务优化

本文详细介绍了如何优化CentOS 7系统的开机启动服务,包括停止和禁用多个不必要的服务,如abrt、accounts-daemon、atd、cups等,以提升系统启动速度和资源利用率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

systemctl stop abrt-ccpp.service

systemctl stop abrt-oops.service

systemctl stop abrt-vmcore.service

systemctl stop abrt-xorg.service

systemctl stop abrtd.service

systemctl stop accounts-daemon.service

systemctl stop atd.service

systemctl stop auditd.service

systemctl stop autovt@.service

systemctl stop avahi-daemon.service

systemctl stop bluetooth.service

systemctl stop cups.service

systemctl stop dbus-org.bluez.service

systemctl stop dbus-org.fedoraproject.FirewallD1.service

systemctl stop dbus-org.freedesktop.Avahi.service

systemctl stop dbus-org.freedesktop.ModemManager1.service

systemctl stop dbus-org.freedesktop.NetworkManager.service

systemctl stop dbus-org.freedesktop.nm-dispatcher.service

systemctl stop display-manager.service

systemctl stop dmraid-activation.service

systemctl stop firewalld.service

systemctl stop gdm.service

systemctl stop irqbalance.service

systemctl stop iscsi.service

systemctl stop ksm.service

systemctl stop ksmtuned.service

systemctl stop libstoragemgmt.service

systemctl stop libvirtd.service

systemctl stop lvm2-monitor.service

systemctl stop mcelog.service

systemctl stop mdmonitor.service

systemctl stop microcode.service

systemctl stop ModemManager.service

systemctl stop multipathd.service

systemctl stop NetworkManager-dispatcher.service

systemctl stop NetworkManager.service

systemctl stop postfix.service

systemctl stop qemu-guest-agent.service

systemctl stop rngd.service

systemctl stop rtkit-daemon.service

systemctl stop smartd.service

systemctl stop spice-vdagentd.service

systemctl stop systemd-readahead-collect.service

systemctl stop systemd-readahead-drop.service

systemctl stop systemd-readahead-replay.service

systemctl stop tuned.service

systemctl stop vgauthd.service

systemctl stop vmtoolsd.service

systemctl disable abrt-ccpp.service

systemctl disable abrt-oops.service

systemctl disable abrt-vmcore.service

systemctl disable abrt-xorg.service

systemctl disable abrtd.service

systemctl disable accounts-daemon.service

systemctl disable atd.service

systemctl disable auditd.service

systemctl disable autovt@.service

systemctl disable avahi-daemon.service

systemctl disable bluetooth.service

systemctl disable cups.service

systemctl disable dbus-org.bluez.service

systemctl disable dbus-org.fedoraproject.FirewallD1.service

systemctl disable dbus-org.freedesktop.Avahi.service

systemctl disable dbus-org.freedesktop.ModemManager1.service

systemctl disable dbus-org.freedesktop.NetworkManager.service

systemctl disable dbus-org.freedesktop.nm-dispatcher.service

systemctl disable display-manager.service

systemctl disable dmraid-activation.service

systemctl disable firewalld.service

systemctl disable gdm.service

systemctl disable irqbalance.service

systemctl disable iscsi.service

systemctl disable ksm.service

systemctl disable ksmtuned.service

systemctl disable libstoragemgmt.service

systemctl disable libvirtd.service

systemctl disable lvm2-monitor.service

systemctl disable mcelog.service

systemctl disable mdmonitor.service

systemctl disable microcode.service

systemctl disable ModemManager.service

systemctl disable multipathd.service

systemctl disable NetworkManager-dispatcher.service

systemctl disable NetworkManager.service

systemctl disable postfix.service

systemctl disable qemu-guest-agent.service

systemctl disable rngd.service

systemctl disable rtkit-daemon.service

systemctl disable smartd.service

systemctl disable spice-vdagentd.service

systemctl disable systemd-readahead-collect.service

systemctl disable systemd-readahead-drop.service

systemctl disable systemd-readahead-replay.service

systemctl disable tuned.service

systemctl disable vgauthd.service

systemctl disable vmtoolsd.service

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值