Why use my repository ?
The QNAP-maintained version of the Plex Media Server application is outdated, so to get the latest version of Plex Media Server you need to download the .QPKG package from the official Plex website. So I've created this repository to make it easy for anyone to install and update Plex Media Server.
How to install ?
- Follow Install 3rd party apps repository guide.
- Use the URL: https://www.max-dev.ovh/repo/repo.xml
- Go to Plex repository
- Install Plex Media Server
Compatibility:
- ARMv7 (TS-x31+, TS-x31P, TS-x31P2, TS-x31X & TS-x31XU series)
- ARMv7 (TS-x31 & TS-x31U series)
- ARMv8 (TS-x28 & TS-x32 series)
- Intel/AMD 64-bit (QTS-4.3 & newer)
Updating frequency of script:
Every 30 minutes, my script fetch Plex API to get the last version of Plex and publish the new version.
Sources
Features
- Backup of GLPI with retention (Files and SQL)
- Restore from backups
- Update GLPI from official sources
- Fix file permissions
- Easy removal of the installation file after an update
- Backup automation
Usage
Backup GLPI
./glpitools.sh backup
Restore GLPI
./glpitools.sh restore
Update GLPI
./glpitools.sh update
Fix permissions
./glpitools.sh fix-permissions
Remove Install file
./glpitools.sh installfile
Installation and Configuration
Dependencies
apt install curl git
Create directories
mkdir /backup
mkdir /backup/glpi
Download and install glpitools
cd /opt/
git clone https://github.com/goronu/glpitools
cd ./glpitools
Configure glpitools
Edit script file
nano glpitools.sh
Set the following parameters:
BACKUP_DIR
# Backup directory
GLPI_DIR
# GLPI installation path
DB_NAME
# Database name
DB_USER
# MySQL/MariaDB user
DB_PASS
# MySQL/MariaDB password
RETENTION_DAYS
# Number of days before old backups are deleted
GLPI_DOWNLOAD_URL
# GLPI source URL
APACHE_USER
# Apache/Nginx user (can be www-data, apache, nginx, etc.)
Automate Backups
Open the CRON file:
crontab -e
Add the following line:
0 2 * * * /opt/glpitools/glpitools.sh backup >> /var/log/glpitools_backup.log 2>&1
sources