centos 5 系统服务优化


 centos 最小化安装后,默认开启很多服务器,这其中很多对于服务器运行来说是无用的,一般关闭它们。最小安装我习惯选择以下的包组
Administration Tools 管理员工具
Base 基本系统
Development Libraries 开发链接库
Developmetn Tools 开发工具
Editors 编辑工具
Network Servers 网络服务
Server Configuration Tools 服务器配置工具
System Tools 系统工具
Text-Based Internet 文本模式浏览器

默认开启很多服务具体都是做什么用的,哪些可以关闭,请见下表

NetworkManager 自动在多种网络连接中进行转换  
acpid 新型电源管理标准,通常笔记本电脑使用  
anacron 自动化运行任务守护进程  
atd 自动化运行任务守护进程  
auditd 审核信息,存放内核生成的系统审查记录 开启
autofs 自动安装管理进程automount  
avahi-daemon Zeroconf service discovery守护进程  
avahi-dnsconfd /etc/avahi/dnsconf.action脚本守护进程  
bluetooth 蓝牙  
conman 控制台管理  
cpuspeed 监测系统空闲百分比,降低或加快CPU时钟速度和电压 开启
crond 自动计划任务 开启
cups 通用UNIX打印守护进程  
dnsmasq Dns cache server守护进程  
dund 蓝牙拨号网络  
firstboot 安装完之后的用户配置向导,用于第一次设置系统  
gpm 为文本模式下的Linux程序提供鼠标支持、拷贝、粘贴操作、弹出式菜单  
haldaemon 硬件监控系统  
hidd 蓝牙H.I.D.服务器  
httpd Apache服务器  
ip6tables ipv6 tables防火墙守护进程  
ipmi OpenIPMI Driver初始化脚本  
iptables iptables防火墙守护进程  
irda 红外端口守护进程  
irqbalance 多系统处理器环境下的系统中断请求进行负载平衡,单CPU无用  
kdump 初始化kdump脚本  
kudzu 硬件自动检测程序,如不增加新硬件,可以关闭  
lvm2-monitor LVM2 mirror devices守护进程  
mcstrans SELinux Context Translation System Daemon  
mdmonitor RAID相关设备的守护程序 开启
mdmpd RAID相关设备的守护程序 开启
messagebus 事件监控服务,在必要时向所有用户发送广播信息 开启
microcode_ctl 可编码以及发送新微代码到内核以更新Intel IA32系列处理器守护进程  
multipathd Manage device-mapper multipath devices  
netconsole Initializes network console logging  
netfs 安装和卸载NFS、SAMBA和NCP网络文件系统  
netplugd 服务监控网络界面,根据信号关闭或启动它,用于手提电脑  
network 激活已配置网络接口的脚本程序 开启
nfs 网络文件系统守护进程  
nfslock NFS文件锁定功能  
nscd 密码与群查找服务  
ntpd 网络时间同步  
oddjobd    
pand 蓝牙个人区域网络  
pcscd 智能卡支持  
portmap 用来支持RPC连接,RPC被用于NFS以及NIS 等服务  
psacct 进程审计守护进程  
rawdevices rawdevices to block devices。Oracle数据库使用  
rdisc discovers routers守护进程  
readahead_early 开机内存载入优化 开启
readahead_later 开机内存载入优化 开启
restorecond SELinux相关联  
rpcgssd manages RPCSEC GSS contexts for the NFSv4 server  
rpcidmapd for NFSv4 that maps user names to UID and GID numbers  
rpcsvcgssd manages RPCSEC GSS contexts for the NFSv4 server  
saslauthd 使用SASL的认证守护进程  
sendmail 邮件服务器sendmail守护进程  
setroubleshoot SELinux Troubleshooting  
smartd 监控硬盘故障 开启
sshd OpenSSH服务器守护进程 开启
syslog 系统日志 开启
tcsd TrouSerS server daemon  
winbind 用于Samba服务器  
wpa_supplicant 无线设备支持  
xfs X Window字型服务器守护进程,为本地和远程X服务器提供字型集  
ypbind 为NIS客户机激活ypbind服务进程  
yum-updatesd RPM操作系统自动升级和软件包管理守护进程 开启


服务管理命令

查询服务开启关闭状态 chkconfig –list
设置服务为启动开启 chkconfig 服务名 on
设置服务为启动开启 chkconfig 服务名 off

关闭服务 service 服务名 stop

下载 href="http://up.2cto.com/os/201103/2011030511323072.rar">优化服务脚本下载

相关内容

    暂无相关文章