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 | |
# xbmc movies | |
sudo su | |
apt-get update | |
apt-get install apache2 libapache2-mod-php php-imagick php-cli php-sqlite3 php-json php-mbstring git curl unzip | |
a2dismod mpm_event | |
a2enmod rewrite expires php7.0 mpm_prefork | |
service apache2 restart | |
cd /var/www/html | |
git clone git://github.com/Jalle19/xbmc-video-server.git |
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 | |
# obs studio with ffmpeg | |
sudo apt-add-repository ppa:jon-severinsson/ffmpeg | |
sudo apt-get update | |
sudo apt-get install ffmpeg | |
sudo apt-add-repository ppa:obsproject/obs-studio | |
sudo apt-get update | |
sudo apt-get install obs-studio |
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 | |
echo -e "\n\tGetting Tor node list from dan.me.uk\n" | |
wget -q -O - https://www.dan.me.uk/torlist/ > /tmp/full.tor | |
CMD=$(cat /tmp/full.tor | uniq | sort) | |
for IP in $CMD; do | |
let COUNT=COUNT+1 | |
ufw deny from $IP | |
done | |
echo -e "\n\tUFW now blocking TOR connections !\n" |
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
[Unit] | |
Description=Deluge Bittorrent Client Daemon | |
After=network-online.target | |
[Service] | |
Type=simple | |
User=plex | |
Group=plex | |
UMask=000 |
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
echo INSTALLING UTORRENT NOW | |
sudo apt-get update | |
sudo apt-get install libssl1.0.0 libssl-dev | |
wget http://download-new.utorrent.com/endpoint/utserver/os/linux-x64-ubuntu-13-04/track/beta/ -O utserver.tar.gz | |
sudo tar -zxvf utserver.tar.gz -C /opt/ | |
sudo chmod 777 /opt/utorrent-server-alpha-v3_3/ | |
sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver | |
utserver -settingspath /opt/utorrent-server-alpha-v3_3/ & |
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/sh | |
apt-get update | |
apt-get install firefox-esr xfce4 xfce4-goodies gnome-icon-theme tightvncserver -y | |
cd /etc/init.d/ | |
wget https://gist.githubusercontent.com/Domin8-IPTV/efcf0a118b6eab7a5461e4afab608437/raw/d926bdfb4f802e53b97e9c4b74552874397fa1a7/vncserver && chmod +x vncserver | |
systemctl daemon-reload | |
systemctl enable vncserver | |
vncserver |
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 | |
# | |
# MAUNDYS LETV with lets encrypt config setup | |
# | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script requires root privileges." | |
exit 1 | |
fi |
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/sh | |
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)" | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" | |
if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] | |
then | |
>&2 echo 'ERROR: Invalid installer signature' | |
rm composer-setup.php |
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 | |
# | |
read -p 'Set Web Directory (Example: /var/www/html) ' directory | |
read -p 'Set Web Domain (Example: 127.0.0.1 [Not trailing slash!]) ' domain | |
# | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt update && sudo apt dist-upgrade && sudo apt autoremove -y | |
sudo apt-get install default-jdk -y | |
sudo apt-get install software-properties-common -y | |
sudo apt-get install python-software-properties -y |
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-get install unrar-free git-core openssl libssl-dev python2.7 -y | |
wget https://downloads.plex.tv/plex-media-server-new/1.15.3.876-ad6e39743/debian/plexmediaserver_1.15.3.876-ad6e39743_armhf.deb | |
dpkg -i plexmediaserver_1.15.3.876-ad6e39743_armhf.deb | |
mkdir -p /home/plex/ | |
chown -R plex:plex /home/plex/ | |
chmod -R 777 /home/plex/ | |
apt-get install squid -y | |
service squid stop |