This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
| const fs = require('fs'); | |
| const path = require('path'); | |
| const AWS = require('aws-sdk'); | |
| const { BUCKET_NAME, AWS_ACCESS_ID, AWS_SECRET_KEY } = process.env; | |
| // helpers | |
| function uploadToS3(file, name, type) { |
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
| # Apache Maven Environment Variables | |
| # MAVEN_HOME for Maven 1 - M2_HOME for Maven 2 | |
| export M2_HOME=/usr/local/src/apache-maven | |
| export PATH=${M2_HOME}/bin:${PATH} |
| FROM jenkins:latest | |
| MAINTAINER Thomas De Bruyne | |
| USER root | |
| RUN mkdir /var/log/jenkins | |
| RUN chown -R jenkins:jenkins /var/log/jenkins | |
| USER jenkins | |
| ENV JAVA_OPTS="-Xmx512m" | |
| ENV JENKINS_OPTS="--handlerCountStartup=100 --handlerCountMax=300 --logfile=/var/log/jenkins/jenkins.log" |