mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "4d2343607b21922043a67ae9c53a881ae31978e0" and "85b0003df959634982e26dc2986343b29165ce37" have entirely different histories.
4d2343607b
...
85b0003df9
|
@ -5,13 +5,6 @@
|
||||||
|
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
## 2023-10-14
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **Sonarr LXC**
|
|
||||||
- Include an option to install v4 (experimental)
|
|
||||||
|
|
||||||
## 2023-10-11
|
## 2023-10-11
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="2"
|
||||||
var_cpu="1"
|
var_cpu="1"
|
||||||
var_ram="512"
|
var_ram="512"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -17,19 +17,13 @@ msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y curl
|
||||||
$STD apt-get install -y sudo
|
$STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
$STD apt-get install -y ca-certificates
|
|
||||||
$STD apt-get install -y gnupg
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
|
||||||
mkdir -p /etc/apt/keyrings
|
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
|
|
||||||
msg_ok "Set up Node.js Repository"
|
|
||||||
|
|
||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js"
|
||||||
$STD apt-get update
|
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
|
||||||
$STD apt-get install -y nodejs
|
. ~/.bashrc
|
||||||
|
$STD nvm install 16.20.1
|
||||||
|
ln -sf /root/.nvm/versions/node/v16.20.1/bin/node /usr/bin/node
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing MeshCentral"
|
msg_info "Installing MeshCentral"
|
||||||
|
|
|
@ -21,22 +21,11 @@ $STD apt-get install -y gnupg
|
||||||
$STD apt-get install -y ca-certificates
|
$STD apt-get install -y ca-certificates
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
read -r -p "Would you like to install v4 (experimental)? <y/N> " prompt
|
|
||||||
msg_info "Installing Sonarr"
|
msg_info "Installing Sonarr"
|
||||||
wget -qO /etc/apt/trusted.gpg.d/sonarr-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2009837cbffd68f45bc180471f4f90de2a9b4bf8"
|
wget -qO /etc/apt/trusted.gpg.d/sonarr-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2009837cbffd68f45bc180471f4f90de2a9b4bf8"
|
||||||
echo "deb https://apt.sonarr.tv/debian testing-main main" >/etc/apt/sources.list.d/sonarr.list
|
echo "deb https://apt.sonarr.tv/debian testing-main main" >/etc/apt/sources.list.d/sonarr.list
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" install -qqy sonarr &>/dev/null
|
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" install -qqy sonarr &>/dev/null
|
||||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
|
||||||
systemctl stop sonarr.service
|
|
||||||
wget -q https://download.sonarr.tv/v4/develop/4.0.0.697/Sonarr.develop.4.0.0.697.linux-x64.tar.gz
|
|
||||||
tar -xzf Sonarr.develop.4.0.0.697.linux-x64.tar.gz
|
|
||||||
cp -r Sonarr/* /usr/lib/sonarr/bin
|
|
||||||
rm -rf Sonarr Sonarr.develop.4.0.0.697.linux-x64.tar.gz
|
|
||||||
sed -i 's|ExecStart=/usr/bin/mono --debug /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/var/lib/sonarr|ExecStart=/usr/lib/sonarr/bin/Sonarr -nobrowser -data=/var/lib/sonarr|' /lib/systemd/system/sonarr.service
|
|
||||||
systemctl daemon-reload
|
|
||||||
systemctl start sonarr.service
|
|
||||||
fi
|
|
||||||
msg_ok "Installed Sonarr"
|
msg_ok "Installed Sonarr"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
Loading…
Reference in New Issue