port dotnetapi,opengist,phpipam,wordpress to arm64

This commit is contained in:
Sam Heinz
2025-01-17 19:10:19 +10:00
parent ac3efaef7a
commit d3ecb9bb0c
9 changed files with 23 additions and 15 deletions

View File

@@ -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"

View File

@@ -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
@@ -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"

View File

@@ -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"

View File

@@ -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"