このWebサイト ひつじ帳 は、管理者がWEB関連の技術をまとめた備忘録サイトです。 Linux,CentOS,PHP,MySQL,Blogger,JavaScript,CSS について記録しています。




[root@linux ~]# chkconfig --list
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off
NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off

~ 中略 ~

nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off
xinetd ベースのサービス:
        time-udp:       off
        daytime:        off
        rsync:  off
        daytime-udp:    off
        eklogin:        off
        echo:   off
        chargen:        off
        klogin: off
        echo-udp:       off
        kshell: off
        gssftp: off
        krb5-telnet:    off
        chargen-udp:    off
        time:   off
[root@linux ~]#

サービス個別確認( sshd の場合 )

[root@linux ~]# chkconfig --list sshd
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@linux ~]#

サービスの自動起動を ON にする

sendmail を自動起動させる場合の例

[root@linux ~]# chkconfig sendmail on

サービスの自動起動を OFF にする

自動起動 OFF 一覧

○ 自動起動ONを推奨   × 自動起動OFFを推奨   △ 使用用途によって選択する
atdat コマンドにより指定された時間にプログラムを実行する( crond で代替可 )
at コマンドを使う場合はON
cups×プリンタ機能を管理する プリンタと接続する場合はON
irda×IrDA 赤外線通信デバイスの制御サービス 赤外線通信は使わないでしょう?
irqbalanceマルチ CPU 環境で 2nd CPU 以降も割り込み処理をおこなえるようにする
mdmonitor×ソフトウェア RAID のモニター
messagebus×アプリケーション間のメッセージを送る D-BUS のデーモン( 対応アプリほとんどなし ) D-BUS使う場合はON
nfslock×NFS ファイルロック機構を提供する NFS使わないと思う
sendmailメール転送エージェント(MTA) OFFでもメール送信可能
xfs×Xフォントサーバ Xを起動する場合はON


cups アンインストール

[root@linux ~]# yum remove cups-libs
Setting up Remove Process

~ 中略 ~

 Package                 Arch       Version          Repository        Size
 cups-libs               i386       1:1.1.22-0.rc1.9.11  installed         181 k
Removing for dependencies:
 cups                    i386       1:1.1.22-0.rc1.9.11  installed         3.8 M
 redhat-lsb              i386       3.0-8.EL         installed          21 k
 samba                   i386       3.0.10-1.4E.9    installed          24 M
 samba-client            i386       3.0.10-1.4E.9    installed         6.1 M
 samba-common            i386       3.0.10-1.4E.9    installed          13 M
 system-config-samba     noarch     1.2.21-1         installed         681 k

Transaction Summary
Install      0 Package(s)
Update       0 Package(s)
Remove       7 Package(s)
Total download size: 0
Is this ok [y/N]: y

~ 中略 ~

Removed: cups-libs.i386 1:1.1.22-0.rc1.9.11
Dependency Removed: cups.i386 1:1.1.22-0.rc1.9.11 redhat-lsb.i386 0:3.0-8.EL samba.i386 0:3.0.10-1.4E.9
samba-client.i386 0:3.0.10-1.4E.9 samba-common.i386 0:3.0.10-1.4E.9 system-config-samba.noarch 0:1.2.21-1
[root@linux ~]#


[root@linux ~]# /sbin/runlevel
N 3
[root@linux ~]#


acpidはいListen and dispatch ACPI events from the kernel
anacronはいRun cron jobs that were left out due to downtime
apmdはいapmd is used for monitoring battery status and logging it via syslog(8). It can also be used for shutting down the machine when the battery is low.
atdはいRuns commands scheduled by the at command at the time specified when at was run, and runs batch commands when the load average is low enough.
auditdいいえThis starts the Linux Auditing System Daemon
autofsはいAutomounts filesystems on demand
bluetoothいいえBluetooth services for service discovery, authentication,
cpuspeedはいRun dynamic CPU speed daemon
crondはいcron is a standard UNIX program that runs user-specified programs at periodic scheduled times. vixie cron adds a number of features to the basic UNIX cron, including better security and more powerful configuration options.
cupsはいStartup/shutdown script for the Common UNIX Printing System (CUPS).
dc_clientいいえDistcache is a Distributed SSL Session Cache Client Proxy.
dc_serverいいえDistcache is a Distributed SSL Session Cache server.
diskdumpいいえSave dump file if previous system crashed and initialize diskdump module.
dundいいえBluetooth Dial-Up-Networking Daemon. Provides PPP over RFCOMM
gpmはいGPM adds mouse support to text-based Linux applications such as the Midnight Commander. It also allows mouse-based console cut-and-paste operations, and includes support for pop-up menus on the console.
haldaemonはいThis is a daemon for collecting and maintaing information about hardware from several sources. See http://www.freedesktop.org/Software/hal
hiddいいえBluetooth Human Interface Device Daemon. Provides keyboard,
httpdはいApache is a World Wide Web server. It is used to serve HTML files and CGI.
iptablesはいStarts, stops and saves iptables firewall
irdaいいえIrDA(TM) (Infrared Data Association) is an industry standard for wireless, infrared communication between devices. IrDA speeds range from 9600 bps to 4 Mbps, and IrDA can be used by many modern devices including laptops, LAN adapters, PDAs, printers, and mobile phones.
irqbalanceはいThe irqbalance daemon will distribute interrupts across the cpus on a multiprocessor system with the purpose of spreading the load. processname: irqbalance
isdnはいstart and stop ISDN services
kudzuはいThis runs the hardware probe, and optionally configures changed hardware.
mdmonitorはいsoftware RAID monitoring and management
mdmpdいいえmultipath device monitoring and management
messagebusはいThis is a daemon which broadcasts notifications of system events and other messages. See http://www.freedesktop.org/software/dbus/
microcode_ctlはいscript to apply cpu microcode
mysqldはいMySQL database server.
netdumpいいえInitialize console side of netconsole and netcrashdump facility
netfsはいMounts and unmounts all Network File System (NFS), SMB/CIFS (Lan Manager/Windows), and NCP (NetWare) mount points.
netplugdいいえnetplugd is a daemon for managing non-static network interfaces.
networkはいActivates/Deactivates all network interfaces configured to start at boot time.
NetworkManagerいいえThis is a daemon for automatically switching network connections to the best available connection.
nfsいいえNFS is a popular protocol for file sharing across TCP/IP networks. This service provides NFS server functionality, which is configured via the /etc/exports file.
nfslockはいNFS is a popular protocol for file sharing across TCP/IP networks. This service provides NFS file locking functionality.
nscdいいえThis is a daemon which handles passwd and group lookups for running programs and cache the results for the next query. You should start this daemon if you use slow naming services like NIS, NIS+, LDAP, or hesiod.
pandいいえBluetooth Personal Area Networking Daemon. Provides network
pcmciaはいPCMCIA support is usually to support things like ethernet and modems in laptops. It won't get started unless configured so it is safe to have it installed on machines that don't need it.
portmapはいThe portmapper manages RPC connections, which are used by protocols such as NFS and NIS. The portmap server must be running on machines which act as servers for protocols which make use of the RPC mechanism.
psacctいいえStarts and stops process accounting
rawdevicesはいThis scripts assignes raw devices to block devices (such as hard drive partitions). This is for the use of applications such as Oracle. You can set up the raw device to block device mapping by editing the file /etc/sysconfig/rawdevices. Note that the use of raw devices is deprecated, and applications should open regular block devices with O_DIRECT instead.
readaheadいいえThis service causes the programs used during startup to be loaded into memory before they are needed, thus improving startup performance
readahead_earlyいいえThis service causes the programs used during startup to be loaded into memory before they are needed, thus improving startup performance
rhnsdいいえThis is a daemon which handles the task of connecting periodically to the CentOS Network servers to check for updates, notifications and perform system monitoring tasks according to the service level that this server is subscribed for
rpcgssdはいStarts user-level daemon that manages RPCSEC GSS contexts for the NFSv4 client.
rpcidmapdはいStarts user-level daemon for NFSv4 that maps user names to UID and GID numbers.
rpcsvcgssdいいえStarts user-level daemon that manages RPCSEC GSS contexts for the NFSv4 server.
saslauthdいいえsaslauthd is a server process which handles plaintext authentication requests on behalf of the cyrus-sasl library.
sendmailはいSendmail is a Mail Transport Agent, which is the program that moves mail from one machine to another.
smartdはいSelf Monitoring and Reporting Technology (SMART) Daemon
smbいいえStarts and stops the Samba smbd and nmbd daemons used to provide SMB network services.
sshdはいOpenSSH server daemon
syslogはいSyslog is the facility by which many daemons use to log messages to various system log files. It is a good idea to always run syslog.
vsftpdはいVsftpd is a ftp daemon, which is the program that answers incoming ftp service requests.
webminはいStart/stop Webmin
winbindいいえStarts and stops the Samba winbind daemon
xfsはいStarts and stops the X Font Server at boot time and shutdown. It also takes care of (re-)generating font lists.
xinetdはいxinetd is a powerful replacement for inetd. xinetd has access control mechanisms, extensive logging capabilities, the ability to make services available based on time, and can place limits on the number of servers that can be started, among other things.
ypbindいいえThis is a daemon which runs on NIS/YP clients and binds them to a NIS domain. It must be running for systems based on glibc to work as NIS clients, but it should not be enabled on systems which are not using NIS.
yumいいえEnable daily run of yum, a program updater.

0 件のコメント: