Additional server scripts

master
Nathan Steel 5 years ago
parent 0fee4f871a
commit c85ad5cc65

@ -1,9 +1,27 @@
#!/bin/sh
add_server() {
add_host=$(printf "No\nYes" | dmenu -i -p "Would you like to add this to saved servers?")
case "$add_host" in
"Yes")
;;
"No")
;;
esac
}
different_server() {
IP=$(printf "" | dmenu -i -p "Enter host:")
# Would you like to add this to saved servers?
# Connect to the server via ssh
st -e ssh $IP
}
select_ssh() {

@ -1,3 +1,6 @@
thinkcentre,192.168.1.250
lilnas,192.168.1.225
external thinkcentre, 51.7.197.254
external thinkcentre,51.7.197.254
torrentbox,192.168.1.231
mineOS,mc@192.168.1.236
MediaHarvester,192.168.1.233

1 thinkcentre 192.168.1.250
2 lilnas 192.168.1.225
3 external thinkcentre 51.7.197.254
4 torrentbox 192.168.1.231
5 mineOS mc@192.168.1.236
6 MediaHarvester 192.168.1.233

@ -0,0 +1,18 @@
#!/bin/bash
# Server for downloading media
# Jackett
# Ombi
#https://github.com/tidusjar/Ombi/wiki/Installation#linux-systems
# ip:5000
# go to setting to setup media server
# setup each download tracker in setting also
# debian already has services for ombi, nice
# Radarr
# Sonarr
# Lidarr

@ -0,0 +1,20 @@
#!/bin/bash
# Download Debian
# Do an install, selecting only the ssh option within tasksel
# Execute this scripts as root ($ su -)
apt update && upgrade -y
apt install perl sudo tmux vim htop neofetch build-essential openssh-server ufw -y
apt install wget curl -y # zsh
# Firewall
systemctl --now enable ufw # Should be automatic, but in case
ufw default deny incoming
ufw default allow outgoing
# SSH
ufw allow 22 # Allow SSH port
# Filesystems
apt install cifs-utils -y
Loading…
Cancel
Save