🚀 TorrentPier auto-installation script
Go to file
2024-11-26 23:01:17 +07:00
.editorconfig Some minor improvements (#4) 2024-11-24 13:48:37 +03:00
.gitignore Some minor improvements (#4) 2024-11-24 13:48:37 +03:00
deb.install.sh Added warning and hiding for the phpmyadmin database user (#19) 2024-11-26 18:41:37 +03:00
install.sh Removed the use of sudo, until the installation of sudo (#15) 2024-11-26 15:59:43 +03:00
LICENSE Initial commit 2024-11-19 22:36:18 +07:00
README.md Added a description for the data file after installation (#14) 2024-11-25 16:47:12 +03:00

Automatic installation for TorrentPier

This shell script allows you to:

  • Install TorrentPier in automatic mode;

Supported systems:

  • GNU/Linux: Debian 12
  • GNU/Linux: Ubuntu 22.04, 24.04

Important

The architecture and bit depth of x86_64 are required.

Starting the auto installer:

Update indexes and packages

apt -y update && apt -y full-upgrade

Install GIT

apt -y install git

Clone the repository

git clone https://github.com/torrentpier/autoinstall.git

Make the installation file executable

chmod +x ./autoinstall/install.sh

Run automatic installation

./autoinstall/install.sh

Note

install.sh always downloads the latest release.
If you want to run it directly, use deb.install.sh for Debian and Ubuntu.

Running the installation script directly for debian and ubuntu

chmod +x ./autoinstall/deb.install.sh && ./autoinstall/deb.install.sh

Additional information:

  • Web server: NGINX + PHP-FPM
  • NGINX config for phpMyAdmin: /etc/nginx/sites-available/00-phpmyadmin.conf
  • NGINX config for TorrentPier: /etc/nginx/sites-available/01-torrentpier.conf
  • Installation logs directory: /var/log/torrentpier_install.log
  • Temporary directory: /tmp/torrentpier
  • The file with the data after installation: /root/torrentpier.cfg

Removing phpMyAdmin public access:

Removing the symbolic link

rm /etc/nginx/sites-enabled/00-phpmyadmin.conf

We check the current NGINX configs for errors

nginx -t

Restarting the NGINX process

systemctl restart nginx