mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 07:07:17 +02:00
Update ampache-install.sh
This commit is contained in:
@@ -13,7 +13,7 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing dependencies"
|
||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
flac \
|
flac \
|
||||||
vorbis-tools \
|
vorbis-tools \
|
||||||
@@ -25,7 +25,7 @@ $STD apt install -y \
|
|||||||
libtheora-dev \
|
libtheora-dev \
|
||||||
libvorbis-dev \
|
libvorbis-dev \
|
||||||
libvpx-dev
|
libvpx-dev
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed dependencies"
|
||||||
|
|
||||||
PHP_VERSION=8.4 PHP_MODULE=bcmath,bz2,curl,gd,imagick,intl,mbstring,mysql,sqlite3,xml,xmlrpc,zip PHP_APACHE=YES setup_php
|
PHP_VERSION=8.4 PHP_MODULE=bcmath,bz2,curl,gd,imagick,intl,mbstring,mysql,sqlite3,xml,xmlrpc,zip PHP_APACHE=YES setup_php
|
||||||
setup_mariadb
|
setup_mariadb
|
||||||
@@ -33,7 +33,7 @@ MARIADB_DB_USER=ampache MARIADB_DB_NAME=ampache setup_mariadb_db
|
|||||||
|
|
||||||
fetch_and_deploy_gh_release "ampache" "ampache/ampache" "prebuild" "latest" "/opt/ampache" "ampache-*_all_php8.4.zip"
|
fetch_and_deploy_gh_release "ampache" "ampache/ampache" "prebuild" "latest" "/opt/ampache" "ampache-*_all_php8.4.zip"
|
||||||
|
|
||||||
msg_info "Setup Ampache"
|
msg_info "Setting up Ampache"
|
||||||
rm -rf /var/www/html
|
rm -rf /var/www/html
|
||||||
ln -s /opt/ampache/public /var/www/html
|
ln -s /opt/ampache/public /var/www/html
|
||||||
mv /opt/ampache/public/rest/.htaccess.dist /opt/ampache/public/rest/.htaccess
|
mv /opt/ampache/public/rest/.htaccess.dist /opt/ampache/public/rest/.htaccess
|
||||||
|
|||||||
Reference in New Issue
Block a user