因此需要:service crond start (有的是service cron start)或者/etc/rc.d/init.d/crond start加入开机自动启动:chkconfig --level 35 crond on
分类:
其他好文 时间:
2014-12-11 15:16:03
阅读次数:
132
以下文档于2014-12-10更新先在服务端操作#wget http://pkgs.repoforge.org/rsync/rsync-3.0.9-2.el6.rfx.x86_64.rpm#rpm –ivh rsync-3.0.9-2.el6.rfx.x86_64.rpm#chkconfig rsy...
分类:
其他好文 时间:
2014-12-11 11:54:20
阅读次数:
135
1.1 设置ip地址 执行命令 service network restart 验证: ifconfig1.2 关闭防火墙 执行命令 service iptables stop 验证: service iptables status1.3 关闭防火墙的自动运行 执行命令 chkconfig ipt....
分类:
其他好文 时间:
2014-12-10 17:41:36
阅读次数:
248
对比表,以 apache / httpd 为例任务旧指令新指令使某服务自动启动chkconfig --level 3 httpd onsystemctl enable httpd.service使某服务不自动启动chkconfig --level 3 httpd offsystemctl disab...
分类:
其他好文 时间:
2014-12-10 14:10:41
阅读次数:
193
启动:主要查看安装说明,查看启动脚本
进行自启动:
将源码包制作成和rpm管理方式一样:
使生成apache 能被chkconfig识别,注意启动顺序和关闭顺序不能被现有启动和关闭顺序重合!...
分类:
系统相关 时间:
2014-12-09 19:40:41
阅读次数:
194
Linux下chkconfig命令详解chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkcon...
分类:
系统相关 时间:
2014-12-08 22:59:06
阅读次数:
251
yum搭建lnmp环境(CentOS6)1.关闭防火墙[root@CentOS ~]# chkconfig iptables off2.关闭selinuxvi /etc/sysconfig/selinux//将SELINUX=enforcing修改为disabled然后重启生效3、配置CentOS ...
分类:
数据库 时间:
2014-12-08 11:58:46
阅读次数:
247
以下操作均在Debian 6.0 64bit 环境root权限下进行,如果提示权限不足请切换至root用户或者sudo,本人比较喜欢自行安装,因为安装的过程中能最小化安装而且能够知道安装了什么,然后可以根据自己的需要进行扩展功能。1、安装chkconfig,chkconfig是Red Hat 公司开...
分类:
数据库 时间:
2014-12-04 21:17:26
阅读次数:
207
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#settimeinitTime(){yum-y..
分类:
系统相关 时间:
2014-12-02 00:25:59
阅读次数:
319