« | »

2009年3月11日

Solaris10 u6で大体止めるべきサービス/デーモン一覧

Solaris 10 10/08 u6でサーバー使いの場合に止めるべきサービス一覧はこんな感じ。
デフォルト状態だとXサーバーやフォントサーバーどころかATOKまで起動しているので、この状態から殆ど何も起動していない状態にする。
/etc/rc3.d/以下のもの、/etc/rc2.d/のもの、さらにSMFとinetdから起動されるもので一般的にいらないであろうものを書いてみる。
コピペして利用し易いように、コマンドにしておいた。


ランレベル3

# cd /etc/rc3.d
# mv S16boot.server _S16boot.serve
# mv S50apache _S50apache
# mv S52imq _S52imq
# mv S80mipagent S80mipagent
# mv S84appserv _S84appserv
# mv S84patchserver_S84patchserver

ランレベル2のもの

# cd /etc/rc2.d
# mv S47pppd _S47pppd
# mv S70uucp _S70uucp
# mv S90loc.ja.cssd _S90loc.ja.cssd
# mv S98deallocate _S98deallocate
# mv S73cachefs.daemon _S73cachefs.daemon

SMFで起動されるもの

名前解決キャッシュ
# svcadm disable svc:/system/name-service-cache:default
電源管理
# svcadm disable svc:/system/power:default
finger/login/rsh
# svcadm disable svc:/network/finger:default
# svcadm disable svc:/network/login:rlogin
# svcadm disable svc:/network/shell:default
nfs関連
# svcadm disable svc:/network/nfs/client:default
# svcadm disable svc:/network/nfs/rquota:default
# svcadm disable svc:/network/nfs/nlockmgr:default
# svcadm disable svc:/network/nfs/status:default
rpc
# svcadm disable svc:/network/rpc/gss:default
# svcadm disable svc:/network/rpc/smserver:default
# svcadm disable svc:/network/rpc/rstat:default
# svcadm disable svc:/network/rpc/rusers:default
Xwindow
# svcadm disable svc:/application/graphical-login/cde-login
# svcadm disable svc:/application/management/wbem:default
# svcadm disable svc:/system/webconsole:console
autofs/ボリューム管理
# svcadm disable svc:/system/filesystem/autofs:default
# svcadm disable svc:/system/filesystem/volfs:default
snmpd
# svcadm disable snmpdx
# svcadm disable sma
# svcadm disable dmi

inetdから起動されるもの

Xwindow
# inetadm -d xfs
# inetadm -d stfsloader
# inetadm -d cde-calendar-manager
# inetadm -d cde-ttdbserver
# inetadm -d cde-spc
security
# inetadm -d ktkt_warn
network
# inetadm -d stdiscover
# inetadm -d stlisten
# inetadm -d rpc_ticotsord

実際はこんな感じ。一旦この状態にしてから、必要なものを上げてゆく。

svcadm disable svc:/application/cde-printinfo:default
svcadm disable svc:/application/database/postgresql:version_81
svcadm disable svc:/application/database/postgresql:version_82
svcadm disable svc:/application/database/postgresql:version_82_64bit
svcadm disable svc:/application/database/postgresql_83:default_32bit
svcadm disable svc:/application/database/postgresql_83:default_64bit
svcadm disable svc:/application/font/fc-cache:default
svcadm disable svc:/application/font/stfsloader:default
svcadm disable svc:/application/gdm2-login:default
svcadm disable svc:/application/graphical-login/cde-login:default
svcadm disable svc:/application/management/sma:default
svcadm disable svc:/application/management/snmpdx:default
svcadm disable svc:/application/management/wbem:default
svcadm disable svc:/application/management/webmin:default
svcadm disable svc:/application/print/ppd-cache-update:default
svcadm disable svc:/application/print/server:default
svcadm disable svc:/application/wnn8/server:default
svcadm disable svc:/application/x11/xfs:default
svcadm disable svc:/application/x11/xvnc-inetd:default
svcadm disable svc:/network/apocd/udp:default
svcadm disable svc:/network/cde-spc:default
svcadm disable svc:/network/chargen:dgram
svcadm disable svc:/network/chargen:stream
svcadm disable svc:/network/comsat:default
svcadm disable svc:/network/daytime:dgram
svcadm disable svc:/network/daytime:stream
svcadm disable svc:/network/dhcp-server:default
svcadm disable svc:/network/discard:dgram
svcadm disable svc:/network/discard:stream
svcadm disable svc:/network/dns/client:default
svcadm disable svc:/network/dns/server:default
svcadm disable svc:/network/echo:dgram
svcadm disable svc:/network/echo:stream
svcadm disable svc:/network/finger:default
svcadm disable svc:/network/ftp/tcp:default
svcadm disable svc:/network/ftp:default
svcadm disable svc:/network/inetd-upgrade:default
svcadm disable svc:/network/ipfilter:default
svcadm disable svc:/network/ipmievd:default
svcadm disable svc:/network/ipv4-forwarding:default
svcadm disable svc:/network/ipv6-forwarding:default
svcadm disable svc:/network/ldap/client:default
svcadm disable svc:/network/login:eklogin
svcadm disable svc:/network/login:klogin
svcadm disable svc:/network/login:rlogin
svcadm disable svc:/network/nfs/cbd:default
svcadm disable svc:/network/nfs/client:default
svcadm disable svc:/network/nfs/mapid:default
svcadm disable svc:/network/nfs/nlockmgr:default
svcadm disable svc:/network/nfs/rquota:default
svcadm disable svc:/network/nfs/server:default
svcadm disable svc:/network/nfs/status:default
svcadm disable svc:/network/nis/client:default
svcadm disable svc:/network/nis/passwd:default
svcadm disable svc:/network/nis/server:default
svcadm disable svc:/network/nis/update:default
svcadm disable svc:/network/nis/xfr:default
svcadm disable svc:/network/ntp:default
svcadm disable svc:/network/rarp:default
svcadm disable svc:/network/rexec:default
svcadm disable svc:/network/routing/bgp:quagga
svcadm disable svc:/network/routing/legacy-routing:ipv4
svcadm disable svc:/network/routing/legacy-routing:ipv6
svcadm disable svc:/network/routing/ndp:default
svcadm disable svc:/network/routing/ospf6:quagga
svcadm disable svc:/network/routing/ospf:quagga
svcadm disable svc:/network/routing/rdisc:default
svcadm disable svc:/network/routing/rip:quagga
svcadm disable svc:/network/routing/ripng:default
svcadm disable svc:/network/routing/ripng:quagga
svcadm disable svc:/network/routing/route:default
svcadm disable svc:/network/routing/zebra:quagga
svcadm disable svc:/network/rpc-100235_1/rpc_ticotsord:default
svcadm disable svc:/network/rpc/bootparams:default
svcadm disable svc:/network/rpc/cde-calendar-manager:default
svcadm disable svc:/network/rpc/cde-ttdbserver:tcp
svcadm disable svc:/network/rpc/gss:default
svcadm disable svc:/network/rpc/keyserv:default
svcadm disable svc:/network/rpc/nisplus:default
svcadm disable svc:/network/rpc/ocfserv:default
svcadm disable svc:/network/rpc/rex:default
svcadm disable svc:/network/rpc/rstat:default
svcadm disable svc:/network/rpc/rusers:default
svcadm disable svc:/network/rpc/smserver:default
svcadm disable svc:/network/rpc/spray:default
svcadm disable svc:/network/rpc/wall:default
svcadm disable svc:/network/samba:default
svcadm disable svc:/network/security/kadmin:default
svcadm disable svc:/network/security/krb5_prop:default
svcadm disable svc:/network/security/krb5kdc:default
svcadm disable svc:/network/shell:default
svcadm disable svc:/network/shell:kshell
svcadm disable svc:/network/slp:default
svcadm disable svc:/network/stdiscover:default
svcadm disable svc:/network/stlisten:default
svcadm disable svc:/network/swat:default
svcadm disable svc:/network/talk:default
svcadm disable svc:/network/time:dgram
svcadm disable svc:/network/time:stream
svcadm disable svc:/network/tname:default
svcadm disable svc:/network/uucp:default
svcadm disable svc:/network/winbind:default
svcadm disable svc:/network/wins:default
svcadm disable svc:/system/auditd:default
svcadm disable svc:/system/consadm:default
svcadm disable svc:/system/device/mpxio-upgrade:default
svcadm disable svc:/system/filesystem/autofs:default
svcadm disable svc:/system/filesystem/volfs:default
svcadm disable svc:/system/patch-finish:delete
svcadm disable svc:/system/rcap:default
svcadm disable svc:/system/sar:default
svcadm disable svc:/system/tsol-zones:default
svcadm disable svc:/system/webconsole:console

Trackback URL

Comment & Trackback

No comments.

Comment feed

Comment





XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>