Install cfssl
# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: filebeat | |
namespace: kube-system | |
labels: | |
k8s-app: filebeat | |
spec: | |
template: | |
metadata: |
FROM centos:7 | |
# Install dependencies | |
RUN yum install -y yum-utils gcc git | |
# Enable OpenResty repo (see RHEL section at https://openresty.org/en/linux-packages.html) | |
RUN yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo | |
# Enable EPEL packages (needed for LuaRocks) | |
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: elasticsearch | |
labels: | |
service: elasticsearch | |
spec: | |
serviceName: es | |
# NOTE: This is number of nodes that we want to run | |
# you may update this |
# Kernel sysctl configuration file for Linux | |
# Version 1.11 - 2015-07-07 | |
# Aysad Kozanoglu Aysad K. | |
# This file should be saved as /etc/sysctl.conf and can be activated using the command: | |
# sysctl -e -p /etc/sysctl.conf | |
# | |
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details. | |
# | |
# Tested with: Ubuntu 14.04 LTS kernel version 3.13 | |
# Debian 7 kernel version 3.2 |
<?jelly escape-by-default='true'?> | |
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<html> | |
<head> | |
<title>${project.name}</title> | |
<style> | |
body table, td, th, p, h1, h2 { | |
margin:0; | |
font:normal normal | |
100% Georgia, Serif; |
Recently, I upgraded my MacBook Pro from a old, trusty Yosemite to Sierra, and reluctantly had to clean out the old JDK versions I had accumulated over a few years. I also wanted to have a Java 9 JDK to play around with the new module system and API’s.
Good news is that, for a while now, you have been able to install and upgrade multiple versions of JDK using only your shell, without having to deal with Oracle’s graphical installers.
To install Java from scratch, install Homebrew Cask cask-update
(you need to have Homebrew already installed) first, then install Java using Cask:
brew tap buo/cask-upgrade & brew tap caskroom/versions
brew cask install java8
If you are getting this in gdb on macOS while trying to run a program:
Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
gdbc
)pipeline { | |
agent any | |
stages { | |
stage('Prepare') { | |
steps { | |
sh 'composer install' | |
sh 'rm -rf build/api' | |
sh 'rm -rf build/coverage' | |
sh 'rm -rf build/logs' |