Centos7常见任务及端口

来自牛奶河Wiki
阿奔讨论 | 贡献2023年1月19日 (四) 20:20的版本 (创建页面,内容为“=== 111 - rpcbind === * systemctl stop rpcbind.socket * systemctl stop rpcbind ''Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket'' * systemctl disable rpcbind.socket * systemctl disable rpcbind ''Removed symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket. Removed symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service.'' === 25 - postfix === * systemctl stop postfix * systemctl disable postfix…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

111 - rpcbind

  • systemctl stop rpcbind.socket
  • systemctl stop rpcbind

Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket

  • systemctl disable rpcbind.socket
  • systemctl disable rpcbind

Removed symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket. Removed symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service.

25 - postfix

  • systemctl stop postfix
  • systemctl disable postfix

53 - dnsmasq

  • systemctl stop dnsmasq
  • systemctl disable dnsmasq
  • # ubuntu
  • systemctl stop systemd-resolved
  • systemctl disable systemd-resolved

xwindows

init 3

ES

9200

oray

# phddns, phdaemon # 16062 /usr/sbin/oraysl -a 127.0.0.1 -p 16062 -s phsle02.oray.net:6061 -l /var/log/phddns -L oraysl -f /etc -S /etc/oray/phddns -t /bin/bash /usr/sbin/phdaemon

停止disable dnsmasq

killall dnsmasq


SN=cups ./rrun ip_139 “systemctl disable ${SN};systemctl stop ${SN}”

## Other rpcbind.socket rpcbind 111 cupsd 631 postfix 25 dnsmasq 53

# port:631 - cupsd # systemctl disable cups # systemctl stop cups Warning: Stopping cups.service, but it can still be activated by:

cups.socket
cups.path

# port:25 smtp # service postfix stop

chkconfig -s cups off # 或者直接删除开机服务 chkconfig –del cups

smtp:/etc/init.d/postfix stop rpc:/etc/init.d/portmap stop svrloc:/etc/init.d/slpd stop ipp:/etc/init.d/cupsd stop

chkconfig |grep on cron 0ff 1ff 2n 3n 4ff 5n 6ff cups 0ff 1ff 2n 3:on 4:off 5:on 6:off nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off nfsboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off novell-zmd 0:off 1:off 2:off 3:on 4:on 5:on 6:off nscd 0:off 1:off 2:off 3:on 4:off 5:on 6:off portmap 0:off 1:off 2:off 3:on 4:off 5:on 6:off postfix 0:off 1:off 2:off 3:on 4:off 5:on 6:off powersaved 0:off 1:off 2:on 3:on 4:off 5:on 6:off random 0:off 1:off 2:on 3:on 4:off 5:on 6:off resmgr 0:off 1:off 2:on 3:on 4:off 5:on 6:off slpd 0:off 1:off 2:off 3:on 4:off 5:on 6:off