1.安装epel源2.安装supervisoryum-yinstallsupervisor3.配置supervisord[program:elasticsearch]
command=su-c"/usr/local/data/elasticsearch/bin/elasticsearch"es
directory=/usr/local/data/elasticsearch
numprocs=1
autostart=true4.启动supervisord/etc/init.d/supervis..
分类:
其他好文 时间:
2017-01-19 20:13:10
阅读次数:
776
环境:ubuntu 14.04 lts http://supervisord.org/liunx 下有很多守护进程的工具,如 nohup,screen,supervisor 等,supervisor 是用Python开发的进程管理程序,能将一个普通的命令行进程变为后台daemon,异常退出时能自动重 ...
分类:
其他好文 时间:
2016-12-02 07:48:14
阅读次数:
220
看教程安装ELK时,发现了supervisord这个简单好用的进程管理工具,他支持web和文本两种方式,下面我们就来说一说具体的使用。更加详细的配置文件说明大家可以自行百度。#安装#yum-yinstallpython-setuptools#安装easy_install这个命令的软件包
#easy_installsupervisor#安装sup..
分类:
系统相关 时间:
2016-11-30 17:55:04
阅读次数:
348
If you're interested in more of this type of content, check out the Servers for Hackers eBook! As some point you'll likely find yourself writing a scr ...
分类:
其他好文 时间:
2016-11-25 23:39:09
阅读次数:
332
参考docker从入门到实战 使用 Supervisor 来管理进程 Docker 容器在启动的时候开启单个进程,比如,一个 ssh 或者 apache 的 daemon 服务。但我们经常需要在一个机器上开启多个服务,这可以有很多方法,最简单的就是把多个启动命令放到一个启动脚本里面,启动的时候直接启 ...
分类:
其他好文 时间:
2016-11-18 07:22:03
阅读次数:
218
一、安装配置supervisor 1.安装python自动化工具 #yum install python-setuptools 2.#easy_install supervisor安装supervisor 3.测试安装是否成功 #echo_supervisord_conf 4.创建配置文件: (1) ...
分类:
其他好文 时间:
2016-11-11 20:24:11
阅读次数:
216
1.什么是supervisorsupervisor是用python写的一个进程管理工具,用来启动,重启,关闭进程。 2.supervisor的安装 3.supervisor的配置文件supervisor安装完毕后,会有一个配置文件supervisord.conf运行 命令,可输出文件详细我们使用重定 ...
分类:
其他好文 时间:
2016-11-02 20:33:47
阅读次数:
274
今天介绍一下关于logstash的启动方式,以前说的都是使用/usr/local/logstash-f/etc/logstash.conf方式启动,这样就有一个麻烦,当你关闭终端,或者ctrl+c时logstash就会退出。下面介绍几种长期运行的方式。1、service方式使用rpm方式安装的,都可以/etc/init.d/logstash启动,..
分类:
其他好文 时间:
2016-10-28 15:59:12
阅读次数:
308
配置Supervisor开机启动: 新建一个“supervisord.service”文件 # dservice for systemd (CentOS 7.0+) # by ET-CS (https://github.com/ET-CS) [Unit] Description=Supervisor... ...
分类:
其他好文 时间:
2016-10-12 13:40:45
阅读次数:
110
官方手册:http://www.supervisord.org/安装supervisor可以采用快捷的安装方式如下:yuminstallpython-setuptools-yeasy-installsupervisor或者pipinstallsupervisor下面是编译安装的步骤:以CentOS6.7为例,原始安装包存放在/home/tools/supervisor/src下。下面是一个自动安装..
分类:
其他好文 时间:
2016-09-28 07:47:37
阅读次数:
243