sudo adduser username
sudo usermod -aG sudo username
| for f in $(find $1 -iname "*.wsp"); do | |
| if [ -a $f ]; | |
| then /opt/graphite/bin/whisper-set-aggregation-method.py $f max; | |
| fi; | |
| done |
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
| ###################################### | |
| # Update and install requied packages | |
| ###################################### | |
| sudo apt-get update && sudo apt-get upgrade --yes | |
| sudo apt-get install build-essential graphite-web graphite-carbon python-dev apache2 libapache2-mod-wsgi libpq-dev python-psycopg2 --yes | |
| ###################################### | |
| # Setup Carbon | |
| ###################################### |
This implementation shared a common local folder for whisper data
| # Extract from the following sites | |
| # https://docs.docker.com/engine/installation/linux/ubuntu/ | |
| # https://docs.docker.com/compose/install/ | |
| # https://docs.docker.com/machine/install-machine/ | |
| Install docker on Ubuntu | |
| ========================= | |
| sudo apt-get update |
| # update hostname in hosts file (Will help to fix “sudo: unable to resolve hostname” issue while installing) | |
| echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts | |
| # Install mono (required for octopus to connect) | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
| echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list | |
| sudo apt-get update | |
| sudo apt-get install mono-devel --allow-unauthenticated -–yes |
| #!/bin/bash | |
| # update hostname in hosts file (Will help to fix “sudo: unable to resolve hostname” issue while installing) | |
| echo $(hostname -I | cut -d\ -f1) $(hostname) | tee -a /etc/hosts | |
| # Install mono (required for octopus to connect) | |
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
| echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | tee /etc/apt/sources.list.d/mono-official.list | |
| apt-get update | |
| apt-get install mono-devel --yes --allow-unauthenticated | |
| exit 0 |
| FROM ubuntu:16.04 | |
| MAINTAINER Sriramajeyam Sugumaran "http://sriramajeyam.com" | |
| SHELL ["/bin/sh", "-c"] | |
| RUN apt-get update -y | |
| RUN apt-get install -y openssh-server rpm libpam0g-dev libkrb5-dev wget openssl python libcurl4-gnutls-dev cron sudo nano | |
| RUN mkdir /tmp/installation | |
| ADD ./packages/packages-microsoft-prod.deb /tmp/installation/ | |
| ADD ./packages/omi-1.1.0.ssl_100.x64.deb /tmp/installation/ |
| var fs = require('fs'); | |
| var _ = require("lodash"); | |
| var ini = require('ini'); | |
| var baseConfig, overrideConfig; | |
| var replaceIniConfig = function(configuration) { | |
| try { | |
| fs.readFile(configuration.base, function(err, content) { | |
| if (err) { |