This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install cvs automake make autoconf gcc git -y | |
cvs -z3 -d:pserver:anonymous@tsunami-udp.cvs.sf.net:/cvsroot/tsunami-udp co -P tsunami-udp | |
cd tsunami-udp | |
/bin/bash recompile.sh | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
apt-get update | |
apt-get install -y docker-engine | |
systemctl enable docker | |
usermod -aG docker ubuntu | |
docker info | |
curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter { | |
if [type] == "applog" { | |
grok { | |
match => { "message" => "%{SYSLOG5424SD} ([Ww]arning|WARNING|[Ee]rror|ERROR|[Ii]nfo|INFO) (%{SYSLOG5424SD} Not Found: %{URIPATH})?" } | |
add_field => [ "received_at", "%{@timestamp}" ] | |
add_field => [ "received_from", "%{host}" ] | |
} | |
syslog_pri { } | |
date { | |
match => [ "syslog_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#install docker | |
apt-get update | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
apt-get update | |
apt-get install -y docker-engine | |
systemctl enable docker | |
usermod -aG docker ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# netdata configuration | |
# | |
# You can download the latest version of this file, using: | |
# | |
# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf | |
# or | |
# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf | |
# | |
# You can uncomment and change any of the options below. | |
# The value shown in the commented settings, is the default value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import * | |
from fabric.operations import * | |
from fabric.contrib.project import rsync_project | |
from fabric.contrib.files import exists | |
import sys, os | |
abspath = lambda filename: os.path.join( | |
os.path.abspath(os.path.dirname(__file__)), | |
filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/bash | |
#download and unzip ngrok | |
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
unzip ngrok-stable-linux-amd64.zip | |
#configure ngrok woth token | |
./ngrok authtoken TOKEN-TOKEN-TOKEN-TOKEN | |
ngrok tcp 22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
apt-get update | |
apt-get install -y docker-engine | |
systemctl enable docker | |
usermod -aG docker ubuntu | |
docker info | |
curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import * | |
from fabric.operations import * | |
from fabric.contrib.project import rsync_project | |
from fabric.contrib.files import exists | |
import sys, os | |
abspath = lambda filename: os.path.join( | |
os.path.abspath(os.path.dirname(__file__)), | |
filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import * | |
from fabric.operations import * | |
from fabric.contrib.project import rsync_project | |
from fabric.contrib.files import exists | |
import sys, os | |
abspath = lambda filename: os.path.join( | |
os.path.abspath(os.path.dirname(__file__)), | |
filename |
OlderNewer