Skip to content
View HAProxy RHEL

Replace dzdo with sudo if you are not using Centrify as privilege escalation.

dzdo yum install -y mock
dzdo useradd -s /sbin/nologin mockbuild
dzdo mock -r epel-6-x86_64 haproxy-1.5.4-3.el6.src.rpm
cd /var/lib/mock/epel-6-x86_64/result
dzdo rpm -ivh haproxy-1.5.4-3.el6.x86_64.rpm
rpm -qa|grep haproxy
View Removing marvel indexes after 30
# crontab -e
# remove marvel indicies older than 30 days
30 2 * * * curator delete indices --timestring '%Y.%m.%d' --prefix '.marvel-es' --older-than 30 --time-unit 'days'
View Upgrading Elastic Search to 2.3 - Steps I

Details of steps I took on each node in a nine node ES cluster on RHEL7. These steps need to occur one node at a time, i.e. "rolling upgrade")

Step 1: Disable shard allocation

curl -XPUT "http://localhost:9200/_cluster/settings" -d'
  "transient": {
    "cluster.routing.allocation.enable": "none"
View worker node server
# install dev tools
yum groupinstall "Development tools"
# install zero mq
tar xvzf zeromq-4.1.4.tar.gz
cd zeromq-4.1.4
./configure --without-libsodium
View JSON data type MySQL 5.7 Example Query.sql
SELECT JSON_EXTRACT(config, '$.settings.lang_code') as lang_code FROM _jobs

Steps to get Ruby install on RHEL and JRuby with RVM for Teradata toolkit found here:

# sudo -s or dzdo
dzdo -s

# instal ruby from RHEL packagemantent
yum install ruby

My personal documentation of how to install scikit-learn on RHEL 6.

sudo yum update -y && yum install -y python-devel.x86_64 python-matplotlib.x86_64 gcc-c++.x86_64 

sudo easy_install pip
sudo pip install numpy
sudo yum install gcc-gfortran
View apache spark csv
Using Apache Spark to Query a CSV Like with SQL like syntax.

Load up the spark shell with the appropriate package for csv parsing:

./bin/spark-shell --packages com.databricks:spark-csv_2.10:1.1.0

In the scala terminal type the following, referencing the path to your csv file. Example below:

import org.apache.spark.sql.SQLContext
View disable mcafee endpoint

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas


sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload
Something went wrong with that request. Please try again.