2012年9月11日

crontab: command not found解决方法

摘要: crontab命令是大多数系统都有的命令,有不排除由于有些系统被精简而没有的,这时对于CentOS系统,我们可以通过下面两个命令来安装。yum-yinstallgccgcc-c++autoconfvixie-cronyum-yinstallgccgcc-c++autoconfcrontabsvixie-cron软件包是cron的主程序;crontabs软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。 阅读全文

posted @ 2012-09-11 20:35 cn三少<script></script> 阅读(378) 评论(0) 推荐(0) 编辑

shell 下 用mail 发送邮件

摘要: 停掉sendmail/etc/init.sendmailstop;chkconfigsendmailoff;yum-yinstallpostfix*servicepostfixstartyum-yinstalldovecot*配置postfixvim/etc/postfix/main.cfmyhostname=mail.g.cnmydomain=g.cnmyorigin=$myhostnamemyorigin=$mydomain//监听端口inet_interfaces=all#inet_interfaces=$myhostname#inet_interfaces=$myhostname,lo 阅读全文

posted @ 2012-09-11 14:53 cn三少<script></script> 阅读(272) 评论(0) 推荐(0) 编辑

Nagios3.0.5在CentOS5.2中安装(一)

摘要: 1.系统:CentOS 5.22.安装前准备:1).安装好apache,GD库(我的GD库安装在/usr/local/libgd)。2).下载Nagios3.0.5,Nagios-plugins1.4.11,nrpe2.12,nsclient++# http://www.nagios.org/download/wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.5.tar.gzwget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plug 阅读全文

posted @ 2012-09-11 10:10 cn三少<script></script> 阅读(174) 评论(0) 推荐(0) 编辑

导航