Skip to content

Instantly share code, notes, and snippets.

@cripperzprodigy
cripperzprodigy / tomcat-linux.service.md
Created July 20, 2023 08:00 — forked from ovichiro/tomcat-linux.service.md
Tomcat as a service on Linux

Install Tomcat as a service on Linux

Download Tomcat from the Apache website.
Unpack in /opt/apache-tomcat-x.y.z. E.g. /opt/apache-tomcat-8.5.6.
You'll need a terminal and root access.

Create Tomcat user with restricted permissions

@cripperzprodigy
cripperzprodigy / rabbitmq-autocluster_k8s_persistent.bash
Created August 26, 2021 03:07 — forked from gmr/rabbitmq-autocluster_k8s_persistent.bash
Deploy rabbitmq-autocluster on k8s with persistent storage (EBS)
#!/bin/bash
set -eo pipefail
export KUBE_NAMESPACE=test
export REPLICA_COUNT=3
cat <<EOF | kubectl apply -f -
apiVersion: apps/v1beta1
kind: StatefulSet