Skip to content

Commit

Permalink
port dotnetapi,opengist,phpipam,wordpress to arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
asylumexp committed Jan 17, 2025
1 parent ac3efae commit d3ecb9b
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ct/dotnetaspwebapi.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Kristian Skov
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Expand Down
8 changes: 4 additions & 4 deletions ct/opengist.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Jonathan (jd-apprentice)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Expand Down Expand Up @@ -41,12 +41,12 @@ function update_script() {
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Updating ${APP} to v${RELEASE}"
cd /opt
wget -qO "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-amd64.tar.gz"
wget -qO "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-arm64.tar.gz"
rm -rf /opt/opengist
tar -xzf opengist${RELEASE}-linux-amd64.tar.gz
tar -xzf opengist${RELEASE}-linux-arm64.tar.gz
chmod +x /opt/opengist/opengist
echo "${RELEASE}" >"/opt/${APP}_version.txt"
rm -rf /opt/opengist${RELEASE}-linux-amd64.tar.gz
rm -rf /opt/opengist${RELEASE}-linux-arm64.tar.gz
apt-get -y autoremove &>/dev/null
apt-get -y autoclean &>/dev/null
msg_ok "Updated ${APP} LXC"
Expand Down
2 changes: 1 addition & 1 deletion ct/phpipam.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: bvdberg01
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion ct/wordpress.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2025 communtiy-scripts ORG
# Author: MickLesk (Canbiz)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ui/codeblock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const handleCopy = (type: string, value: string) => {
<div>
<Button className="text-white">
<Link
href={`https://github.com/community-scripts/${basePath}`}
href={`https://github.com/asylumexp/Proxmox`}
data-umami-event="Star on Github"
target="_blank"
>
Expand Down
4 changes: 3 additions & 1 deletion install/dotnetaspwebapi-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ $STD add-apt-repository -y ppa:dotnet/backports
$STD apt-get install -y \
dotnet-sdk-9.0 \
vsftpd \
nginx
nginx \
wget \
openssh-server
msg_ok "Installed Dependencies"

msg_info "Configure Application"
Expand Down
10 changes: 6 additions & 4 deletions install/opengist-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ $STD apt-get install -y \
mc \
curl \
sudo \
git
git \
wget \
openssh-server
msg_ok "Installed Dependencies"

msg_info "Install Opengist"
RELEASE=$(curl -s https://api.github.com/repos/thomiceli/opengist/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
wget -q "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-amd64.tar.gz"
$STD tar -xzf opengist${RELEASE}-linux-amd64.tar.gz
wget -q "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-arm64.tar.gz"
$STD tar -xzf opengist${RELEASE}-linux-arm64.tar.gz
mv opengist /opt/opengist
chmod +x /opt/opengist/opengist
mkdir -p /opt/opengist-data
Expand Down Expand Up @@ -55,7 +57,7 @@ motd_ssh
customize

msg_info "Cleaning up"
rm -rf /opengist${RELEASE}-linux-amd64.tar.gz
rm -rf /opengist${RELEASE}-linux-arm64.tar.gz
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
4 changes: 3 additions & 1 deletion install/phpipam-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ $STD apt-get install -y \
apache2 \
libapache2-mod-php \
php8.2 php8.2-{fpm,curl,cli,mysql,gd,intl,imap,apcu,pspell,tidy,xmlrpc,mbstring,gmp,xml,ldap,common,snmp} \
php-pear
php-pear \
wget \
openssh-server
msg_ok "Installed Dependencies"

msg_info "Setting up MariaDB"
Expand Down
4 changes: 3 additions & 1 deletion install/wordpress-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ $STD apt-get install -y \
apache2 \
php8.2-{bcmath,common,cli,curl,fpm,gd,snmp,imap,mbstring,mysql,xml,zip} \
libapache2-mod-php \
mariadb-server
mariadb-server \
wget \
openssh-server
msg_ok "Installed Dependencies"

msg_info "Setting up Database"
Expand Down

0 comments on commit d3ecb9b

Please sign in to comment.