admin 管理员组

文章数量: 887006

linux把邮件停止,CentOS Linux release 7 安装完成后停止几个服务

一、停止邮件服务

[root@localhost ~]# systemctl stop postfix # 临时关闭

[root@localhost ~]# systemctl disable postfix # 永久关闭

Removed symlink /etc/systemd/system/multi-user.target.wants/postfix.service.

[root@localhost ~]#

二、停止打印服务:

[root@localhost ~]# systemctl stop cups.path # 临时关闭

[root@localhost ~]# systemctl stop cups.socket # 临时关闭

[root@localhost ~]# systemctl stop cups.service # 临时关闭

[root@localhost ~]# systemctl disable cups.path # 永久关闭

Removed symlink /etc/systemd/system/multi-user.target.wants/cups.path.

[root@localhost ~]# systemctl disable cups.socket # 永久关闭

Removed symlink /etc/systemd/system/sockets.target.wants/cups.socket.

[root@localhost ~]# systemctl disable cups.service # 永久关闭

Removed symlink /etc/systemd/system/multi-user.target.wants/cups.service.

Removed symlink /etc/s

本文标签: linux把邮件停止 CentOS Linux release 7 安装完成后停止几个服务