码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
oracle11gR2在rhel-6.5的开机启动脚本
#!/bin/bash #chkconfig:35 98 01 #description:Startup Script for Oracle Databases #/etc/rc.d/init.d/oracle export ORACLE_BASE=/opt/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1 exp...
分类:数据库   时间:2014-07-28 16:59:24    阅读次数:309
LVS自动化添加及删除ipvsadm和后端服务器健康状态检测脚本
LVSdirector负载均衡器增加IPVSADM脚本 #vimdirector.sh #!/bin/bash #chkconfig:-8866 #description:thisscripttoaddlvsIP VIP=192.168.0.254 DIP=192.168.0.100 RIP1=192.168.0.101 RIP2=192.168.0.102 PORT=80 SCHELE=wrr LOCKFILE=/var/lock/subsys/ipvsadm case$1in st..
分类:其他好文   时间:2014-07-25 11:36:02    阅读次数:8623
Linux命令之at
1.命令格式:at[参数][时间]2.命令功能:在一个指定的时间执行一个指定任务,只能执行一次,且需要开启atd进程(ps -ef | grep atd查看, 开启用/etc/init.d/atd start or restart; 开机即启动则需要运行 chkconfig --level 2345...
分类:系统相关   时间:2014-07-24 22:03:32    阅读次数:333
添加nginx为系统服务(service nginx start/stop/restart)
1、在/etc/init.d/目录下编写脚本,名为nginx #!/bin/sh  #  # nginx - this script starts and stops the nginx daemon  #  # chkconfig:   - 85 15  # description: Nginx is an HTTP(S) server, HTTP(S) reverse \  ...
分类:其他好文   时间:2014-07-22 22:39:13    阅读次数:321
Linux 服务的添加删除,自动运行及状态
CAMS 在安装过程中会自动添加相关的服务,在安装的最后过程中会提示用户是否启动服务使服务生效,需要注意的是一个服务被添加后并不表示该服务在系统启动过程中会自动运行,仅表示可以使用service 命令来启动停止服务。 1. 添加服务 添加服务的步骤为: a. 将该服务的脚本文件拷入/etc/rc.d/init.d 文件夹下保证其状态为可执行 b. 使用chkconfig 命令将...
分类:系统相关   时间:2014-07-22 00:10:35    阅读次数:212
Linux 服务的添加删除,自动运行及状态
CAMS 在安装过程中会自动添加相关的服务,在安装的最后过程中会提示用户是否启动服务使服务生效,需要注意的是一个服务被添加后并不表示该服务在系统启动过程中会自动运行,仅表示可以使用service 命令来启动停止服务。 1. 添加服务 添加服务的步骤为: a. 将该服务的脚本文件拷入/etc/rc.d/init.d 文件夹下保证其状态为可执行 b. 使用chkconfig 命令将...
分类:系统相关   时间:2014-07-22 00:07:33    阅读次数:211
原 Debian设置开机自动启动与关闭
发表于1年前(2013-01-08 13:01) 阅读(2380)|评论(0)2人收藏此文章,我要收藏赞0开机自动启动update-rc.dchkconfig 熟悉debian系统的应该经常会用到update-rc.d这个命令,它与redhat里的chkconfig 是相似的管理服务的工具,首...
分类:其他好文   时间:2014-07-18 23:39:06    阅读次数:442
iptables启动脚本分析
#!/bin/sh # # iptables Start iptables firewall # # chkconfig: 2345 08 92 # description: Starts, stops and saves iptables firewall # # config: /etc/sysconfig/iptables # co...
分类:其他好文   时间:2014-07-18 12:23:55    阅读次数:354
day1_CentOS6.5搭建lamp环境
1.yum install mysql-server mysql //安装Mysql服务端和客户端2.yum install httpd // 安装Apache3.yum install php // 安装PHP4.chkconfig mysqld on // 设置mysql开机启动5.chkco....
分类:其他好文   时间:2014-07-17 23:28:44    阅读次数:241
虚拟机无法联网解决方法
虚拟机无法联网,service network start 启动eth0报错: Error: Connection activation failed: Device not managed by NetworkMan 错误的原因是:网络管理装置不被允许。 解决方法: 运行下列命令 chkconfig network off chkconfig ...
分类:其他好文   时间:2014-07-17 19:17:29    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!