Ported all O-named apps to ARM64

This commit is contained in:
Sam Heinz
2024-04-10 17:43:40 +10:00
parent 96f8fb74b8
commit 908ae0503a
17 changed files with 39 additions and 24 deletions
+8
View File
@@ -106,6 +106,14 @@ Any applications not in ported or unsupported need to be tested for whether they
<li>⭕ NocoDB</li> <li>⭕ NocoDB</li>
<li>⭕ Node-Red</li> <li>⭕ Node-Red</li>
<li>⭕ ntfy</li> <li>⭕ ntfy</li>
<li>⭕ OctoPrint</li>
<li>⭕ Omada</li>
<li>⭕ Ombi</li>
<li>⭕ OMV</li>
<li>⭕ openHAB</li>
<li>⭕ OpenObserve</li>
<li>⭕ Overseerr</li>
<li>⭕ Owncast</li>
<li>⭕ Prowlarr</li> <li>⭕ Prowlarr</li>
<li>✅ Radarr</li> <li>✅ Radarr</li>
<li>✅ Sonarr</li> <li>✅ Sonarr</li>
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -63,7 +63,7 @@ if [ -z "${latest_version}" ]; then
fi fi
echo -e "Updating Omada Controller" echo -e "Updating Omada Controller"
wget -qL ${latest_url} wget -qL ${latest_url}
dpkg -i ${latest_version} dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version}
rm -rf ${latest_version} rm -rf ${latest_version}
echo -e "Updated Omada Controller" echo -e "Updated Omada Controller"
exit exit
+4 -4
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -62,9 +62,9 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
msg_ok "Stopped ${APP}" msg_ok "Stopped ${APP}"
msg_info "Updating ${APP} to ${RELEASE}" msg_info "Updating ${APP} to ${RELEASE}"
wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-arm64.tar.gz
tar -xzf linux-x64.tar.gz -C /opt/ombi tar -xzf linux-arm64.tar.gz -C /opt/ombi
rm -rf linux-x64.tar.gz rm -rf linux-arm64.tar.gz
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP} to ${RELEASE}" msg_ok "Updated ${APP} to ${RELEASE}"
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -60,7 +60,7 @@ if [[ ! -d /opt/openobserve/ ]]; then msg_error "No ${APP} Installation Found!";
msg_info "Updating $APP" msg_info "Updating $APP"
systemctl stop openobserve systemctl stop openobserve
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-arm64.tar.gz) -C /opt/openobserve
systemctl start openobserve systemctl start openobserve
msg_ok "Updated $APP" msg_ok "Updated $APP"
exit exit
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
+1
View File
@@ -20,6 +20,7 @@ $STD apt-get install -y mc
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y libyaml-dev $STD apt-get install -y libyaml-dev
$STD apt-get install -y build-essential $STD apt-get install -y build-essential
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Updating Python3" msg_info "Updating Python3"
+6 -6
View File
@@ -19,6 +19,7 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y jsvc $STD apt-get install -y jsvc
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Azul Zulu" msg_info "Installing Azul Zulu"
@@ -30,11 +31,10 @@ $STD apt-get -y install zulu8-jdk
msg_ok "Installed Azul Zulu" msg_ok "Installed Azul Zulu"
msg_info "Installing MongoDB" msg_info "Installing MongoDB"
libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1) wget -qL http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl
$STD dpkg -i $libssl $STD dpkg -i $libssl
wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb wget -qL https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/multiverse/binary-arm64/mongodb-org-server_4.4.29_arm64.deb
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb $STD dpkg -i mongodb-org-server_4.4.29_arm64.deb
msg_ok "Installed MongoDB" msg_ok "Installed MongoDB"
latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
@@ -42,14 +42,14 @@ latest_version=$(basename "$latest_url")
msg_info "Installing Omada Controller" msg_info "Installing Omada Controller"
wget -qL ${latest_url} wget -qL ${latest_url}
$STD dpkg -i ${latest_version} $STD dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version}
msg_ok "Installed Omada Controller" msg_ok "Installed Omada Controller"
motd_ssh motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb $libssl rm -rf ${latest_version} mongodb-org-server_4.4.29_arm64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2_arm64.deb
$STD apt-get autoremove $STD apt-get autoremove
$STD apt-get autoclean $STD apt-get autoclean
msg_ok "Cleaned" msg_ok "Cleaned"
+4 -3
View File
@@ -17,15 +17,16 @@ 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 wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Ombi" msg_info "Installing Ombi"
RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-arm64.tar.gz
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
mkdir -p /opt/ombi mkdir -p /opt/ombi
tar -xzf linux-x64.tar.gz -C /opt/ombi tar -xzf linux-arm64.tar.gz -C /opt/ombi
rm -rf linux-x64.tar.gz rm -rf linux-arm64.tar.gz
msg_ok "Installed Ombi" msg_ok "Installed Ombi"
msg_info "Creating Service" msg_info "Creating Service"
+1
View File
@@ -18,6 +18,7 @@ $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 gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OpenMediaVault (Patience)" msg_info "Installing OpenMediaVault (Patience)"
+1
View File
@@ -19,6 +19,7 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Azul Zulu" msg_info "Installing Azul Zulu"
+2 -1
View File
@@ -17,12 +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 wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OpenObserve" msg_info "Installing OpenObserve"
mkdir -p /opt/openobserve/data mkdir -p /opt/openobserve/data
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve $STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-arm64.tar.gz) -C /opt/openobserve
cat <<EOF >/opt/openobserve/data/.env cat <<EOF >/opt/openobserve/data/.env
ZO_ROOT_USER_EMAIL = "admin@example.com" ZO_ROOT_USER_EMAIL = "admin@example.com"
+1
View File
@@ -20,6 +20,7 @@ $STD apt-get install -y mc
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+2 -1
View File
@@ -18,12 +18,13 @@ $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 ffmpeg $STD apt-get install -y ffmpeg
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Owncast" msg_info "Installing Owncast"
mkdir /opt/owncast mkdir /opt/owncast
cd /opt/owncast cd /opt/owncast
wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | cut -d\" -f4) wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-arm64 | cut -d\" -f4)
$STD unzip owncast*.zip $STD unzip owncast*.zip
rm owncast*.zip rm owncast*.zip
msg_ok "Installed Owncast" msg_ok "Installed Owncast"