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
Vagrant.configure("2") do |config| | |
config.vm.define "workstation", primary: true do |workstation| | |
workstation.vm.box = "generic/rhel7" | |
workstation.vm.hostname = "workstation.example.com" | |
workstation.vm.synced_folder "../Ansible", "/workspace" | |
workstation.vm.network "private_network", ip: "10.0.0.10" | |
workstation.vm.provider "virtualbox" do |vb| |
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
sudo apt-get -y update && sudo apt-get -y upgrade | |
sudo apt-get install software-properties-common apache2 | |
# add qbittorent ppa | |
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable | |
# install qbittorent for headless servers | |
sudo apt-get update && sudo apt-get install qbittorrent-nox |
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 | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
apt-get -y install build-essential gcc make git libssl-dev | |
git clone https://github.com/chopraaa/rtmpdump-ksv.git | |
cd rtmpdump-ksv | |
patch -p0 -i Patch.diff |
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 | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
images=20 | |
OLDIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
if [ $1"x" != "x" ]; then | |
file=$1; |
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 | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
a=ffmpeg | |
b=ffmpeg-git-64bit-static.tar.xz | |
c=ffmpeg-git-*-64bit-static | |
mkdir $a | |
wget --no-check-certificate --directory-prefix=$a https://johnvansickle.com/ffmpeg/builds/$b |