mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-22 05:25:15 +00:00
Standardized package installation commands to use 'apt install' instead of 'apt-get'. Replaced manual database setup with helper functions for PostgreSQL and MariaDB where applicable. Hardware acceleration setup is now handled by a shared function. Removed repetitive cleanup code and replaced with a single 'cleanup_lxc' call at the end of each script. Updated PHP version for FreshRSS and simplified repository setup for Fhem and Grafana. Fixed merge conflict in graylog-install.sh and removed unnecessary temporary file handling.
47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2025 community-scripts ORG
|
|
# Author: kkroboth
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://fileflows.com/
|
|
|
|
# Import Functions und Setup
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y \
|
|
ffmpeg \
|
|
imagemagick
|
|
msg_ok "Installed Dependencies"
|
|
|
|
setup_hwaccel
|
|
|
|
msg_info "Installing ASP.NET Core Runtime"
|
|
curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
|
|
$STD dpkg -i packages-microsoft-prod.deb
|
|
rm -rf packages-microsoft-prod.deb
|
|
$STD apt-get update
|
|
$STD apt-get install -y aspnetcore-runtime-8.0
|
|
msg_ok "Installed ASP.NET Core Runtime"
|
|
|
|
msg_info "Setup FileFlows"
|
|
$STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg
|
|
$STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe
|
|
temp_file=$(mktemp)
|
|
curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file"
|
|
$STD unzip -d /opt/fileflows "$temp_file"
|
|
(cd /opt/fileflows/Server && dotnet FileFlows.Server.dll --systemd install --root true)
|
|
systemctl enable -q --now fileflows
|
|
rm -f "$temp_file"
|
|
msg_ok "Setup FileFlows"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|