This file contains hidden or 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 | |
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm | |
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel freetype-devel speex-devel -y | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz | |
tar xzvf yasm-1.3.0.tar.gz | |
cd yasm-1.3.0 | |
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" |
This file contains hidden or 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
# Install IUS | |
rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm | |
# Remove mariadb 5.5 libs so we can install a newer version of mariadb | |
rpm -e mariadb-libs-5.5.50-1.el7_2.x86_64 --nodeps | |
# Install a bunch of packages that we are going to need | |
yum install boost-regex boost-devel swig gcc-c++ nmap-ncat certbot subversion tmux mediainfo memcached p7zip php56u-mbstring php56u-mcrypt php56u-pecl-imagick php56u-devel php56u-fpm-nginx.noarch php56u-opcache.x86_64 php56u-pear.noarch php56u-pdo.x86_64 php56u-gd.x86_64 php56u-mysqlnd.x86_64 mariadb101u-server mariadb101u zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel nasm re2c | |
# Enable some of the things we installed | |
systemctl enable nginx memcached mariadb php-fpm | |
# Install unrar | |
rpm -Uvh ftp://ftp.pbone.net/mirror/dag.wieers.com/redhat/el6/en/x86_64/dag/RPMS/unrar-5.0.3-1.el6.rf.x86_64.rpm |
This file contains hidden or 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
<?php | |
/* | |
* This script will rename all releases posted by '[email protected]' to the extracted filename within the rar. | |
* It will then reset all the values, so PostProcessing will check the release again and download all relevant info | |
* Written by stephenl03 | |
* updated by Fossil01 and ThePeePs | |
*/ | |
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php'); |
This file contains hidden or 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
<?php | |
/* | |
* This script will rename all releases posted by '[email protected]' to the rar filename. | |
* It will then reset all the values, so PostProcessing will check the release again and download all relevant info | |
* Written by stephenl03 | |
*/ | |
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php'); | |
use nzedb\db\DB; |
This file contains hidden or 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
<?php | |
/* | |
* This script will rename all releases posted by 'Sour <[email protected]>' to mediainfo title. | |
* It will then reset all the values, so PostProcessing will check the release again and download all relevant info | |
* Written by stephenl03 | |
*/ | |
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php'); | |
use nzedb\db\DB; |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdPkJOPU2DlIZgYDwK+kk7bKZl+q5p3M0mtLpa73q2CK+Gx1ADwJcgNyiFAeBoYOHqxoL2rXIzcf9mWK1cZ158f3Id7nlQwLMSzsyAz+h8QIZQQvQJ6b/gaLZZGHjpASraxBnNO2xqt6aQh0fw8DbssQGCIOC3DyQQj0HrgVutQQYvHwm2Anu10fymD4XZ5EkmvmcXcW94m+trxmgyB2/712pd/uRHPkBGy4mxWZ9RqLWl0s9RDpAC+DywLbvKQLdxMAnL3ONpEH6LEktYxUFru9ouNrdDKdVN5h+GM1DD5B0XJKVKyj+j6vJ+ITcxJrR3BOvgITKbZWyUginFzPfd root@bastion-test |
This file contains hidden or 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
bash <(curl https://gist.githubusercontent.com/stephenl03/b2cdd2c02fb85ca282239e8bb5c25ed0/raw/d1c5f652d2a5eb8ba817831a31744415dd784a63/ffmpeg_intall.sh) | |
yum install php56u.x86_64 php56u-pear.noarch php56u-common.x86_64 php56u-pdo.x86_64 php56u-mysqlnd.x86_64 php56u-devel.x86_64 php56u-gd.x86_64 nginx php56u-fpm.x86_64 php56u-fpm-nginx.noarch memcached.x86_64 php56u-pecl-memcached.x86_64 php56u-pecl-memcache.x86_64 | |
rpm -ev --nodeps mariadb-libs-5.5.50-1.el7_2.x86_64 | |
yum install mariadb101u.x86_64 mariadb101u-common.x86_64 mariadb101u-server.x86_64 mariadb101u-libs.x86_64 | |
yum install subversion screen tmux mediainfo |
This file contains hidden or 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/sh | |
# | |
### BEGIN INIT INFO | |
# Provides: nzbget | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: start the nzbget processes | |
# Description: starts and stops nzbget |
This file contains hidden or 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
<?php | |
/* | |
* This script will rename all releases posted by '[email protected]' to the extracted filename within the rar. | |
* It will then reset all the values, so PostProcessing will check the release again and download all relevant info | |
* Written by stephenl03 | |
* updated by Fossil01 and ThePeePs | |
*/ | |
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php'); |
This file contains hidden or 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
server { | |
listen 443 ssl; | |
location /znc/ { | |
proxy_set_header Host $http_host; | |
proxy_set_header X-NginX-Proxy true; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass_header Set-Cookie; | |
proxy_pass http://127.0.0.1:6664; |