One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: kafka | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: kafka service | |
### END INIT INFO |
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
//IMPORTANT NOTE!!!: Name this file "job-generation.dsl". Github's gist tool uses the file extension to establish syntax highlighting rules | |
@GrabResolver(name="repo.jenkins-ci.org",root='http://repo.jenkins-ci.org/public/') | |
@Grapes([ | |
@Grab(group='org.kohsuke', module='github-api', version='1.59') | |
]) | |
import static hudson.security.ACL.SYSTEM | |
import com.cloudbees.plugins.credentials.CredentialsProvider |
This Cloud-init script can be used to bootstrap a Xen based CoreOS server through Xen orchestra.
Features;
vcl 4.0; | |
import std; | |
import directors; | |
backend server1 { # Define one backend | |
.host = "localhost"; | |
.port = "8080"; | |
.max_connections = 300; |
#!/bin/bash | |
# Use whichever region you're working in | |
export AWS_DEFAULT_REGION=eu-west-1 | |
# Make ec2-user's home dir the install to make it easier to navigate when subsequently ssh-ing in to instances | |
su ec2-user - | |
cd /home/ec2-user | |
echo Working dir is `pwd` |
FROM php:7.0.4-fpm | |
RUN apt-get update && apt-get install -y libmcrypt-dev \ | |
mysql-client libmagickwand-dev --no-install-recommends \ | |
&& pecl install imagick \ | |
&& docker-php-ext-enable imagick \ | |
&& docker-php-ext-install mcrypt pdo_mysql |