OS: Ubuntu 18.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24
Install aria2 package:
#!/bin/bash | |
# | |
# Brady Shea - 18SEP2020 - conversion of system_update alias to bash script | |
# https://www.holylinux.net/ | |
# | |
# Place this script in "/usr/local/sbin/system_update" or similar location under your $PATH | |
# It needs root permissions (SUDO) to execute. | |
# | |
# Change these settings to your liking: | |
################################# |
#!/bin/bash | |
# USAGE: ./tmux-new.sh SESSION_NAME | |
# | |
# Credit to Keon Woortman | |
# URL: https://koenwoortman.com/tmux-sessions-should-be-nested-with-care-unset-tmux-to-force/ | |
session_name="$1" | |
# 1. First you check if a tmux session exists with a given name. | |
tmux has-session -t=$session_name 2> /dev/null |
version: '3' | |
services: | |
app: | |
image: 'jc21/nginx-proxy-manager:latest' | |
restart: unless-stopped | |
ports: | |
- '80:80' | |
- '81:81' | |
- '443:443' | |
volumes: |
195.114.173.153 # ns1.internetia.pl - Netia | |
195.116.55.69 # ns2.internetia.pl - Netia | |
8.8.8.8 # google-public-dns-a.google.com - Google | |
8.8.4.4 # google-public-dns-b.google.com - Google | |
208.67.222.222 # resolver1.opendns.com - OpenDNS | |
208.67.220.220 # resolver2.opendns.com - OpenDNS | |
208.67.222.220 # resolver3.opendns.com - OpenDNS | |
208.67.220.222 # resolver4.opendns.com - OpenDNS | |
149.156.1.3 # nms.cyf-kr.edu.pl | |
149.156.4.11 # info.cyf-kr.edu.pl |
#!/bin/bash | |
# Created by fibergames.net // Loranth Moroz // v.0.5 | |
# Required tools to run this script as is: curl (https://curl.haxx.se/) & jq (https://stedolan.github.io/jq/) | |
# This only works for Digitalocean - 10$ credit referral link: https://m.do.co/c/fed75101475f | |
# Edit token, domain, subdomain to fit your needs | |
# Substitute ipinfo.io with your own ip-checker e.g. ipecho.net/plain | |
# This is to be used with crontab -> example entry to run it every 3hours: | |
# 0 */3 * * * sh /path/to/script/dnsupdater.sh | |
# Don't forget to make it executable: chmod +x /path/to/script/dnsupdater.sh |
error 14:31:51.003155 -0600 Sublime Text AEGetDescData of non-desc type 'reco' not a good idea | |
default 14:31:51.863304 -0600 Sublime Text TIC Enabling TLS [1:0x608000173a40] | |
default 14:31:51.863414 -0600 Sublime Text TIC TCP Conn Start [1:0x608000173a40] | |
default 14:31:51.863727 -0600 Sublime Text Task <B3A60CA8-6401-45EC-8631-813C1710F547>.<0> setting up Connection 1 | |
default 14:31:51.863770 -0600 Sublime Text [1 <private> <private>] start | |
default 14:31:51.928317 -0600 Sublime Text TIC TLS Event [1:0x608000173a40]: 1, Pending(0) | |
default 14:31:51.976038 -0600 Sublime Text TIC TLS Event [1:0x608000173a40]: 2, Pending(0) | |
default 14:31:51.989940 -0600 Sublime Text UNIX error exception: 17 | |
default 14:31:52.016819 -0600 Sublime Text UNIX error exception: 17 | |
default 14:31:52.025569 -0600 Sublime Text UNIX error exception: 17 |
#!/bin/bash | |
# Colors | |
RED='\033[0;31m' | |
BLACK='\033[0;30m' | |
DARK_GRAY='\033[1;30m' | |
LIGHT_RED='\033[1;31m' | |
GREEN='\033[0;32m' | |
LIGHT_GREEN='\033[1;32m' | |
BROWN_ORANGE='\033[0;33m' |
# This is a general-purpose function to ask Yes/No questions in Bash, either | |
# with or without a default answer. It keeps repeating the question until it | |
# gets a valid answer. | |
ask() { | |
# https://djm.me/ask | |
local prompt default reply | |
while true; do |