I'm upgrading my primary server from RH 7.2 to CentOS-4.3.ServerCD. I REALLY like the ServerCD. Who needs all the fluff that comes with a standard distro? If I want a system-config-gooey I can run Xnest [1] and ssh -X from my laptop. Anyway I have two questions: 1) How can I collectively stop all the NFS, portmap, whatever? I'm hoping it can be manipulated as a group because occationally I actually will want to use NFS. 2) Can I safely turn off dbus, hal, and/or xfs? Or will something really bad happen if I try to run the system-config-gooey's without them? Thanks, Mike [1] Although I haven't managed to figure out how to run it without -ac. PID TTY STAT TIME COMMAND 1 ? S 0:00 init [3] 2 ? SN 0:00 [ksoftirqd/0] 3 ? S< 0:00 [events/0] 4 ? S< 0:00 \_ [khelper] 5 ? S< 0:00 \_ [kacpid] 16 ? S< 0:00 \_ [kblockd/0] 26 ? S 0:00 \_ [pdflush] 27 ? S 0:00 \_ [pdflush] 29 ? S< 0:00 \_ [aio/0] 1055 ? S< 0:00 \_ [kauditd] 1095 ? S< 0:00 \_ [kmirrord] 1096 ? S< 0:00 \_ [kmir_mon] 17 ? S 0:00 [khubd] 28 ? S 0:00 [kswapd0] 103 ? S 0:00 [kseriod] 178 ? S 0:00 [kjournald] 980 ? S<s 0:00 udevd 1115 ? S 0:00 [kjournald] 1743 ? Ss 0:00 syslogd -m 0 1747 ? Ss 0:00 klogd -x 1774 ? Ss 0:00 portmap 1793 ? Ss 0:00 rpc.statd 1819 ? Ss 0:00 rpc.idmapd 1883 ? S 0:00 /usr/sbin/smartd 1892 ? Ss 0:00 /usr/sbin/acpid 1903 ? Ss 0:00 cupsd 1956 ? Ss 0:00 /usr/sbin/sshd 2482 ? Ss 0:00 \_ sshd: root at pts/0 2484 pts/0 Ss 0:00 \_ -bash 2650 pts/0 R+ 0:00 \_ ps fax 1977 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid 1992 ? SLs 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid 2001 ? Ss 0:00 crond 2022 ? Ss 0:00 xfs -droppriv -daemon 2039 ? Ss 0:00 /usr/sbin/atd 2048 ? Ssl 0:00 dbus-daemon-1 --system 2058 ? Ss 0:00 hald 2087 tty1 Ss+ 0:00 /sbin/mingetty tty1 2092 tty2 Ss+ 0:00 /sbin/mingetty tty2 2093 tty3 Ss+ 0:00 /sbin/mingetty tty3 2094 tty4 Ss+ 0:00 /sbin/mingetty tty4 2095 tty5 Ss+ 0:00 /sbin/mingetty tty5 2096 tty6 Ss+ 0:00 /sbin/mingetty tty6 2625 ? Ssl 0:00 /usr/sbin/named -u named -t /var/named/chroot -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/
On Tue, 2006-06-13 at 16:34 -0400, Michael B Allen wrote:> I'm upgrading my primary server from RH 7.2 to CentOS-4.3.ServerCD. I > REALLY like the ServerCD. Who needs all the fluff that comes with a > standard distro? If I want a system-config-gooey I can run Xnest [1] > and ssh -X from my laptop. Anyway I have two questions: > > 1) How can I collectively stop all the NFS, portmap, whatever? I'm hoping > it can be manipulated as a group because occationally I actually will > want to use NFS. > > 2) Can I safely turn off dbus, hal, and/or xfs? Or will something really > bad happen if I try to run the system-config-gooey's without them? >hal and dbus you should be able to turn off ... I have never run GUI with xfs off, so I am not sure about that one.> Thanks, > Mike > > [1] Although I haven't managed to figure out how to run it without -ac. > > PID TTY STAT TIME COMMAND > 1 ? S 0:00 init [3] > 2 ? SN 0:00 [ksoftirqd/0] > 3 ? S< 0:00 [events/0] > 4 ? S< 0:00 \_ [khelper] > 5 ? S< 0:00 \_ [kacpid] > 16 ? S< 0:00 \_ [kblockd/0] > 26 ? S 0:00 \_ [pdflush] > 27 ? S 0:00 \_ [pdflush] > 29 ? S< 0:00 \_ [aio/0] > 1055 ? S< 0:00 \_ [kauditd] > 1095 ? S< 0:00 \_ [kmirrord] > 1096 ? S< 0:00 \_ [kmir_mon] > 17 ? S 0:00 [khubd] > 28 ? S 0:00 [kswapd0] > 103 ? S 0:00 [kseriod] > 178 ? S 0:00 [kjournald] > 980 ? S<s 0:00 udevd > 1115 ? S 0:00 [kjournald] > 1743 ? Ss 0:00 syslogd -m 0 > 1747 ? Ss 0:00 klogd -x > 1774 ? Ss 0:00 portmap > 1793 ? Ss 0:00 rpc.statd > 1819 ? Ss 0:00 rpc.idmapd > 1883 ? S 0:00 /usr/sbin/smartd > 1892 ? Ss 0:00 /usr/sbin/acpid > 1903 ? Ss 0:00 cupsd > 1956 ? Ss 0:00 /usr/sbin/sshd > 2482 ? Ss 0:00 \_ sshd: root at pts/0 > 2484 pts/0 Ss 0:00 \_ -bash > 2650 pts/0 R+ 0:00 \_ ps fax > 1977 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid > 1992 ? SLs 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid > 2001 ? Ss 0:00 crond > 2022 ? Ss 0:00 xfs -droppriv -daemon > 2039 ? Ss 0:00 /usr/sbin/atd > 2048 ? Ssl 0:00 dbus-daemon-1 --system > 2058 ? Ss 0:00 hald > 2087 tty1 Ss+ 0:00 /sbin/mingetty tty1 > 2092 tty2 Ss+ 0:00 /sbin/mingetty tty2 > 2093 tty3 Ss+ 0:00 /sbin/mingetty tty3 > 2094 tty4 Ss+ 0:00 /sbin/mingetty tty4 > 2095 tty5 Ss+ 0:00 /sbin/mingetty tty5 > 2096 tty6 Ss+ 0:00 /sbin/mingetty tty6 > 2625 ? Ssl 0:00 /usr/sbin/named -u named -t /var/named/chroot >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060614/6023481f/attachment-0002.sig>
> > 1) How can I collectively stop all the NFS, portmap, whatever? I'm hoping > > it can be manipulated as a group because occationally I actually will > > want to use NFS.Try chkconfig --list You can use: chkconfig --list | grep 3:on to see what will start at boot. Use: chkconfig <name> off to inhibit what ever you want to start up and /etc/init.d/<name> stop to stop same interactively. You'll need to experiment a bit, use man, to do some research to figure out how to 'tune' a system. Brett