Feeds:
פוסטים
תגובות

via Use This All In One Tool to Diagnose and Repair PC Problems | Gizmo's Freeware

Windows 10 Sandbox Mode

via How to Fix the Windows 10 Sandbox Mode Missing Issue

via Sidebar Diagnostics is an open-source application that displays your hardware information on your desktop – gHacks Tech News

how-to-use-google-drive-as-a-ftp-server-or-network-drive-for-free_69ef9c0dd9b7674e2ce1b994b06637bd_4d470f76dc99e18ad75087b1b8410ea9

via How to Use Google Drive as a FTP Server or Network Drive for Free

onenote-tips-and-tricks-for-pro-users_4d470f76dc99e18ad75087b1b8410ea9via 11 Best OneNote Tips and Tricks for Power Users

 

via Master Ethical Hacking with Python Tutorial – Password Cracker Using Python : learnpython

 

first-steps-with-docker-introductionvertical1

Before I begin the guide, a few things:

  • Mods, if you want to wiki this or want me to add/change anything, please let me know

  • This guide is intended for educational purposes only – I used this myself to learn Docker for work

  • Feel free to share this

  • Ask for help if you need it and I'll help where I can

  • If this can be improved, please let me know

Now to the guide

Download Anything Using Docker Containers
TL;DR What Is This?
  • Download any TV show or movie that's coming out or is already out

  • Easily rebuild, modify or add any component you like

  • Download privately through a VPN

  • Download from Usenet sources

  • Manage your files with a web file browser UI

What Do You Mean? Give Me An Example
  • It's currently August 2019

  • New episodes of the TV series "Suits" come out each week

  • One of my containers runs Sonarr which will automatically download new episodes for me as soon as they are available

  • I can check a box and hit search to download past episodes too

  • The downloads come from torrents from any indexer I choose or from any Usenet provider I choose

Requirements
Installing Ubuntu Server
  • Boot up the installer

  • Choose your language and locale

  • Change your IP to a static address

  • My home network is 192.168.0.0/24 so I chose 192.168.0.19

  • Use the entire disk and set up an LVM

  • Don't forget to expand the disk size

  • Enter your username and server hostname

  • I chose "user1" and "docker-test"

  • Check the box to install OpenSSH server

  • Skip the snaps as there's issues with the Docker snap

  • Wait for the server to install

  • Reboot the server once install is complete

Updating The Server
  • SSH to the server using your application of choice

  • I use PuTTY

  • Run

sudo su
  • Enter your password

  • Then run

apt update && apt upgrade && reboot
  • Enter y for any prompts

  • Wait for the system to reboot

  • SSH back into the server

Installing Docker
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
  • Run this to add the Docker GPG key

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  • Run this to check the fingerprint returns a match

sudo apt-key fingerprint 0EBFCD88
  • Run this to add the Docker repo

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
  • Run this to update the repo list

sudo apt-get update
  • Run this to install Docker

sudo apt-get install -y docker-ce docker-ce-cli containerd.io
  • Run this to confirm Docker is installed

sudo docker run hello-world
  • Run this to create the Docker group

sudo groupadd docker
  • Run this to add your user account to the Docker group

sudo usermod -aG docker $USER
  • Now reboot

sudo reboot
  • Once rebooted try running hello-world as non-root

docker run hello-world
  • The container should run

  • This confirms you can run containers without needing to escalate to root each time

Installing Portainer For Web Container Management
docker volume create portainer_data
  • Run the below to start the container

docker run -d --restart always -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
  • Browse to http://serverip:9000 to confirm it works

  • So I'd use http://192.168.0.19:9000

  • You will be prompted to set a password to log into Portainer

  • Create one

  • I use admin for the username and adminadmin for the password

  • Now select local and connect to connect to your server's local Docker instance

  • You can now manage containers from the web

Configuring Filebrowser
  • Before we can deploy the containers we need to create the DB file for Filebrowser

  • SSH to the server

  • Run

sudo mkdir /var/lib/docker/volumes/filebrowser/
sudo touch /var/lib/docker/volumes/filebrowser/filebrowser.db
Deploying The Containers
  • Select stacks and add stack

  • Give the stack a name at the top

  • I called mine Download-Stack

  • Paste the contents of my script into it

  • This is where we meet a small fork in the road

  • If you know what you're doing with VPNs and other VPN providers, you can modify the script and go from there

  • Assuming you're following this guide as-is, we will continue

  • Scroll up to pia at the top

  • Scroll down until you hit environment

  • Modify your variables for your PIA account

  • Modify your variables for the region you'd like to connect to

  • Modify your variables to specify your subnet

  • So mine would look like

- USER=MyPIAUsername
- PASSWORD=MyPIAPassword
- REGION=Netherlands
- EXTRA_SUBNETS=192.168.0.0/24
  • Once modified, deploy the stack

  • This will take a while depending on your internet connection as it needs to download each container image

  • Once done, you will see all containers running in your containers view

Configuring JDownloader
  • To make JDownloader work you need to configure it with your account

  • Click on the JDownloader container from your container view

  • Click on console

  • Change the command to /bin/sh

  • Type

configure myemail@address.com myjdownloaderpassword
URLs & Logins For Each Container
  • Below is a list of URLs for each container and what they do

  • Modify for your IP and bookmark them for easy access

Filebrowser
  • For web management of files

  • It's bound to port 80 so no port is specified

  • http://192.168.0.19

  • Username admin

  • Password admin

Firefox
Jackett
JDownloader
NZBget
PIA
  • VPN container

  • All other containers force their network traffic through this container

  • If this container dies, so do all other containers

  • This is to prevent IP and DNS leaks

  • The container uses iptables to kill the connection if the VPN drops inside it

qBittorrent
Radarr
Sonarr
Configuring Each Application
  • Now for the boring manual part that I will gloss over because it's 22:30 and I'm tired

  • A lot of this is bespoke depending on who you are and what you want

  • I will create a video that quickly goes over each part of this with what to do

  • I will continue with this guide tomorrow

Other Useful Tools
  • There's an Android app called nzb360 which provides fantastic mobile management of

    • Sonarr

    • Radarr

    • NZBGet

    • qBittorrent

המשך »

%d בלוגרים אהבו את זה: