Skip to content

Instantly share code, notes, and snippets.

@PowerWagon
PowerWagon / PwmConfiguration-template.xml
Last active October 23, 2016 20:17
PwmConfiguration-template.xml
Don't bother trying to use this. See the updated setup doc.
@PowerWagon
PowerWagon / 1. PWM-FreeIPA.txt
Last active September 25, 2024 05:57
PWM setup for FreeIPA (with LDAP and MySQL userdata store)
If you are trying to decide between this and the MySQL version, this is better.
I've tried to document what I learned setting up pwm-1.8.0-SNAPSHOT-2016-10-26T09:44:11Z-pwm-bundle.zip from https://github.com/pwm-project/pwm, an LDAP self-service java webapp on Oracle Linux 6. RHEL or CentOS should work exactly the same.
My lastest attempt as of 2/22/17, worked on Oracle Linux 7 (should work exatly the same on CentOS 7 or RHEL 7) _updating to_ the file pwm-1.8.0-SNAPSHOT-2017-02-19T20:34:49Z-pwm-bundle.zip from https://github.com/pwm-project/pwm
For the impatient:
DONT RUN TOMCAT UNMODIFIED on your FreeIPA server. FreeIPA uses its own Tomcat.
Install java 7, tomcat 7 from binaries at the Apache website (don't use distro's packages), and deploy the pwm.war file.
Adjust your firewall to open TCP 8080, if using default Tomcat settings.
The guided configuration wizard doesn't work because you have to adjust the unique ID attribute name, use manual configuration.
Choose OpenLDAP for the configuration type.
@PowerWagon
PowerWagon / graphite-install.sh
Last active August 29, 2015 13:58
Graphite and Carbon install script
#!/bin/bash
# taken from http://www.linuxsysadmintutorials.com/install-graphite-on-a-centosrhel-server/
#
# This creates a minimum of security for everything. You've been warned.
# This installs and configures:
# graphite, carbon, MySQL, and httpd
#
#######################
## Install munin-node and a wonderful python script to dump munin into graphite with this:
# su -
@PowerWagon
PowerWagon / logstash-bootstrap.sh
Last active October 4, 2015 21:19
Logstash 1.4.0 install script for Centos/OEL/RHEL 6.5
#!/bin/bash
# Created Fri Mar 22 2014
# This is an indirect fork of https://gist.github.com/SeonghoonKim/4378896
# Most of it was reworked from http://blog.basefarm.com/blog/how-to-install-logstash-with-kibana-interface-on-rhel/
# This script will download, install and start
# the following items on CentOS 6.5:
# OpenJDK 1.7.0
# cURL
# ElasticSearch 1.0.1
# Logstash server 1.4.0
@PowerWagon
PowerWagon / graylog2-bootstrap.sh
Last active November 11, 2017 01:57 — forked from SeonghoonKim/graylog2-bootstrap.sh
Graylog2 0.20.1 install script for RHEL/OEL/CentOS 6.5
#!/bin/bash
# Created Fri Mar 21 2014
# This is a fork of https://gist.github.com/SeonghoonKim/4378896
# This script will download, install and start
# the following items on CentOS 6.5:
# MongoDB
# OpenJDK 1.7.0
# ElasticSearch 0.90.1
# Graylog2 server 0.20.1
# Graylog2 web interface 0.20.1