This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #ZOO_VERSION=3.5.5 | |
| #ZOO_APP_DIR=/opt/zookeeper | |
| #ZOO_CONF_DIR=/opt/zookeeper/conf | |
| #ZOO_DATA_DIR=/store/data | |
| #ZOO_DATA_LOG_DIR=/store/datalog | |
| #ZOO_LOG_DIR=/store/logs | |
| #ZOO_SERVERS="server.1=zkensemble-0.zkensemble.default.svc.cluster.local:2888:3888 server.2=zkensemble-1.zkensemble.default.svc.cluster.local:2888:3888 server.3=zkensemble-2.zkensemble.default.svc.cluster.local:2888:3888" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Install and configure node-exporter | |
| useradd -d /home/prometheus prometheus | |
| mkdir /opt/prometheus | |
| cd /opt/prometheus | |
| wget --no-cache -O - https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz > node_exporter-0.18.1.linux-amd64.tar.gz | |
| tar xzf node_exporter-0.18.1.linux-amd64.tar.gz | |
| rm -f node_exporter-0.18.1.linux-amd64.tar.gz | |
| ln -s node_exporter-0.18.1.linux-amd64 node_exporter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Prometheus Solr Exporter | |
| After=network-online.target | |
| [Service] | |
| User=solr | |
| Restart=on-failure | |
| #Change this line if you download the | |
| #Prometheus on different path user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Prometheus Node Exporter | |
| After=network-online.target | |
| [Service] | |
| User=prometheus | |
| Restart=on-failure | |
| #Change this line if you download the | |
| #Prometheus on different path user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # albTika Start/Stop Tika server. | |
| # | |
| # chkconfig: 35 99 01 | |
| # description: Tika server is the document converter process of AMI Enterprise Intelligence | |
| # | |
| # processname: albTika | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # zookeeper Start/Stop | |
| # | |
| # change this value as necessary | |
| RUNAS=zookeeper | |
| APP=/home/zookeeper/zookeeper/bin/zkServer.sh | |
| export JAVA_HOME=/usr/bin/java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------------------------- | |
| # zookeeper-env.sh | |
| #-------------------------------------------------------------------- | |
| # Configure Log | |
| ZOO_LOG_DIR="/var/log/zookeeper" | |
| ZOO_LOG4J_PROP="WARN, ROLLINGFILE" | |
| # Configure JVM GC log | |
| ZOO_GC_LOG_DIR="/var/log/zookeeper" | |
| SERVER_JVMFLAGS="-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Purpose: This script starts and stops the Zookeeper daemon | |
| # chkconfig: - 90 10 | |
| # description: Zookeeper daemon | |
| # Source function library | |
| . /etc/init.d/functions | |
| APP=/opt/zookeeper/bin/zkServer.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Template LSB system startup script for example service/daemon FOO | |
| # Copyright (C) 1995--2005 Kurt Garloff, SUSE / Novell Inc. | |
| # | |
| # This library is free software; you can redistribute it and/or modify it | |
| # under the terms of the GNU Lesser General Public License as published by | |
| # the Free Software Foundation; either version 2.1 of the License, or (at | |
| # your option) any later version. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script with LSB support. | |
| # | |
| # Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
| # | |
| # This is free software; you may redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as | |
| # published by the Free Software Foundation; either version 2, | |
| # or (at your option) any later version. |