forked from forkanization/Proxmox-arm64
port dotnetapi,opengist,phpipam,wordpress to arm64
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user