码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
linux下nginx启动停止重启控制脚本
这是控制nginx服务的脚本文件,包括控制nginx的启动、重启、停止、平滑重启、对配置文件的额检查。[root@localhost~]#catnginx.sh#!/bin/envbash#description:nginxserver###必须加描述#nginx-thisscriptisusedtocontrolnginxservice#processnamenginx#chkconfig:-8515#editbys..
分类:系统相关   时间:2014-07-03 14:54:00    阅读次数:277
Linux 新手的学习笔记
1、ln命令 例:/bin/ln -snf /var/www/html/test /var/www/test2、cp命令 例: cp -r 地址1 地址23、rm命令 例: rm -rf 地址4、vi命令5、chkconfig命令 例: chkconfig httpd on (开机自启动httpd服...
分类:系统相关   时间:2014-06-28 22:59:32    阅读次数:348
安装和配置CentOS时钟同步服务
Type the following command to install ntp:# yum install -y ntpTurn on service:#chkconfig ntpd onSynchronize the system clock with 0.pool.ntp.org serve...
分类:其他好文   时间:2014-06-28 14:45:54    阅读次数:185
每日一记:搭建Memcached + php 缓存系统
服务器环境,Centos6.51.安装Memcached服务端Yum -y install memcached2.配置Memcached服务端用户以及自动启动服务等将服务配置成自启动chkconfig--level2345memcachedon3.配置配置文件vi/etc/sysconfig/mem...
分类:Web程序   时间:2014-06-27 23:03:12    阅读次数:338
如何添加自定义脚本到开机自启动
我的机器有个coreseek服务,但是没加到开启启动中去,导致机房一旦重启了机器,我的服务便不能使用了。所以我需要把coreseek的searchd加到自启动服务中去。写一个脚本auto_coreseek.sh:#!/bin/sh#chkconfig:2345 80 90#description:a...
分类:其他好文   时间:2014-06-26 16:14:17    阅读次数:184
Linux 上SSH 服务的配置和管理
基本上Linux的网络服务器在远程操作大多时候都是使用SSH来配置、管理服务器。现在我们就来分享一下简单配置Linux的SSH服务。1.检查一下默认安装的系统是否安装了SSH服务:chkconfig--list|grepsshd2.首先要备份配置文件,任何时候我们需要修改配置文件的时候都建议先..
分类:系统相关   时间:2014-06-25 06:11:31    阅读次数:271
nginx添加系统服务(start|stop|restart)
nginx添加系统服务1、编写脚本,名为nginx#!/bin/sh##nginx - this script start and stops the nginx daemon##chkconfig: -85 15#description: Nginx is an HTTP(S) server, H...
分类:其他好文   时间:2014-06-22 12:49:41    阅读次数:199
oracle服务开机自启动
1、修改oracle系统配置文件::/etc/oratabvi/etc/orataborcl:/opt/oracle/product/10.2.0/db_1:Y2、在 /etc/init.d/ 下创建文件oracle启动脚本,内容如下:#!/bin/sh# chkconfig: 35 80 10# ...
分类:数据库   时间:2014-06-20 20:21:15    阅读次数:251
Oracle 12c Lnux 启动脚本
#!/bin/bash##oracle: Start/Stop Oracle Database 11g R2/12c## chkconfig: 345 90 10# description: The Oracle Database Server is an RDBMS created by Orac...
分类:数据库   时间:2014-06-18 12:46:02    阅读次数:183
把Nginx加为系统服务(service nginx start/stop/restart)
1、编写脚本,名为nginx#!/bin/sh## nginx - this script starts and stops the nginx daemon## chkconfig:- 85 15# description: Nginx is an HTTP(S) server, HTTP(S) ...
分类:其他好文   时间:2014-06-13 13:10:40    阅读次数:243
1438条   上一页 1 ... 140 141 142 143 144 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!