CentOS - Minimal Install
I have a server running CentOS 4.5. It was installed using the minimal software option. After the installation I removed some extra packages i.e. Power Management.
The current list of start-up process is: Code:
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off I would like to strip my installation even more by removing CUPS. I am following the rule, if it's not installed it can't cause a security hole or slow my system. Trying to remove CUPS resulted in the following: Code:
[~]# rpm -e cups Can anyone advise? (Am I mad) |
leave it installed but disable the service;
service cups stop chkconfig --levels 2345 cups off (so it will not restart in the future) You can do the same chkconfig option with other services like kudzu also. |
Not sure if it is actually needed but so many rpms have requirements that aren't really needed. For now I would do as mentioned. Turn the service off. Doesn't really take up much space.
Brian |
Thanks I'll stop the service as suggested.
|
If nothing else needs printing then it's perfectly possible to keep redhat-lsb (using 'lsb_release --all' doesn't need printing) and ditch CUPS w/o any problems. Just add the "--nodeps" switch when using "-e". Adding "tsflags" in yum.conf and using "--repackage" switch with "rpm -e" will dump the uninstalled package in /var/spool/repackage so you can have rollback, just in case.
|
All times are GMT -5. The time now is 07:20 PM. |