Testing
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
[mypc] <--> [ssh server: example.com] <--> [rdp server windows: win.dest.com] | |
ssh -L 3389:win.dst.com:3389 example.com -p 22 | |
ssh -L 3389:192.168.202.3:3389 -l rizal 6efd062ed0d8.sn.mynetname.net -p 65422 | |
then connect rdp server via localhost port 3389 |
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 debianbase:7.11 | |
MAINTAINER Rizal Muhammad Nur | |
# bypass interactive when install percona | |
RUN echo "percona-xtradb-cluster-server-5.5 percona-xtradb-cluster-server/root_password password unused" | debconf-set-selections | |
RUN echo "percona-xtradb-cluster-server-5.5 percona-xtradb-cluster-server/root_password_again password unused"| debconf-set-selections | |
# install percona | |
RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A | |
RUN echo "deb http://repo.percona.com/apt wheezy main" | tee -a /etc/apt/sources.list.d/percona.list | |
RUN echo "deb-src http://repo.percona.com/apt wheezy main" | tee -a /etc/apt/sources.list.d/percona.list |
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
upstream backendrutorrent { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
upstream backendrtorrent { | |
server 127.0.0.1:5000; | |
} | |
server{ | |
listen 80; | |
location / { | |
return 301 https://$host$request_uri; |
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
#!/usr/bin/perl -w | |
# Copyright 2006-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this | |
# file except in compliance with the License. A copy of the License is located at | |
# | |
# http://aws.amazon.com/apache2.0/ | |
# | |
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, |
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
panic: unsupported statement type: *influxql.ShowDiagnosticsStatement | |
goroutine 4214 [running]: | |
github.com/influxdb/influxdb.func·039() | |
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/server.go:2121 +0x6b0 | |
created by github.com/influxdb/influxdb.(*Server).ExecuteQuery | |
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/server.go:2143 +0x314 | |
goroutine 1 [chan receive (nil chan)]: | |
main.execRun(0xc20800a010, 0x4, 0x4) |
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
{ | |
"influxdb": { | |
"host": "192.168.1.1", | |
"port": "8086", | |
"username": "sensu", | |
"password": "password", | |
"database": "sensu" | |
} | |
} |
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
{ | |
"influxdb": { | |
"host": "192.168.1.1", | |
"port": "8086", | |
"username": "sensu", | |
"password": "password", | |
"database": "sensu" | |
} | |
} |
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
#!/usr/bin/env python | |
''' | |
Skrip ini memproses output dari proses cek dengan format | |
============ | |
<deskirpsi1> <nilai1> | |
<deskirpsi2> <nilai2> | |
... | |
============= | |
Untuk menggunakan skrip ini, diperlukan konfiurasi pada server seperti berikut | |
{ |