Skip to content

Instantly share code, notes, and snippets.

@0bo
0bo / softether.sh
Created December 5, 2018 01:12 — forked from bouroo/softether.sh
Install softether vpn server on ubuntu 16.04+
#!/usr/local/env bash
# Register digitalocean with free credit https://m.do.co/c/4879bb02d178
# Create vps with 5usd price
if [ "$(whoami)" != "root" ]; then
SUDO=sudo
fi
# Update system
${SUDO} apt-get update && ${SUDO} apt-get -y upgrade
@0bo
0bo / SoftEther.sh
Created March 26, 2018 13:25 — forked from banghasan/SoftEther.sh
Ubuntu 16.04 SoftEther
#!/bin/bash
read -r -p "This will install SoftEther to your server. Are you sure you want to continue? [y/N] " response
case $response in
[yY][eE][sS]|[yY])
echo "Updating the system first..."
apt-get update
apt-get upgrade
apt-get install checkinstall build-essential
echo "Downloading last stable release: 4.20"
sleep 2
@0bo
0bo / qbittorrent-nox
Created February 26, 2018 02:19
Setting up qBittorrent on Ubuntu server as daemon with Web interface (15.04 and newer)
##https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)
sudo apt-get update && sudo apt-get install qbittorrent-nox
sudo nano /etc/systemd/system/qbittorrent.service
## file contents
[Unit]
Description=qBittorrent Daemon Service
After=network.target
# encoding: utf-8
# USE AT OWN RISK
#
# Follow this guide to install Ruby on Windows (step 1 and 2): https://forwardhq.com/support/installing-ruby-windows
# Install gems (with admin cmd prompt):
# https://rubygems.org/gems/bencode
# https://rubygems.org/gems/rest_client
#
# Edit datpath below to point to your utorrent resume.dat file