In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:
Files:
- config/environments/production.rb
- config/gitlab.yml
| ## Configure eth0 | |
| # | |
| # vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
| ONBOOT=yes | |
| BOOTPROTO=static | |
| NAME="System eth0" | |
| IPADDR=10.1.35.132 | |
| NETMASK=255.255.255.0 |
| import java.io.IOException; | |
| import java.net.URLClassLoader; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.nio.file.Path; | |
| /** | |
| * Example demonstrating a ClassLoader leak. | |
| * | |
| * <p>To see it in action, copy this file to a temp directory somewhere, |
| Producer | |
| Setup | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
| Single thread, no replication | |
| bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
| ambari-server stop | |
| ambari-agent stop | |
| pkill -9 java | |
| ################################# | |
| # Remove Packages | |
| ################################ | |
| yum -y remove ambari-\* | |
| yum -y remove hcatalog\* | |
| yum -y remove hive\* |
| #!/usr/bin/env python | |
| # The script to parse a lmgrd log and give some license usage metrics | |
| # | |
| # Copyright (c) 2014 Grigory Rechistov <[email protected]> | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # | |
| # 1. Redistributions of source code must retain the above copyright notice, |
| #!/bin/bash | |
| # This tool can be used to sync down Red Hat based packages from RHN using only Red Hat shipped tools | |
| # Brian "Red Beard" Harrington <[email protected]> | |
| # To satisfy the pre-reqs for this script install the following two rpms: | |
| # yum-utils | |
| # createrepo | |
| download_dir="/var/www/html/RHN" | |
| /usr/bin/reposync --gpgcheck -m --download-metadata -l -p ${download_dir}/ >> /var/log/reposync.log 2>&1 |
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.
| #/bin/bash | |
| ########################################################## | |
| ### INTRODUCTION | |
| ########################################################## | |
| : ' | |
| Install and configure R (Redis) + ELK server from scratch on CentOS 6.5. | |
| * Logstash version 1.4.2 | |
| * Elasticsearch version 1.3.2 |