mirror of
https://github.com/torrentpier/autoinstall.git
synced 2025-02-28 15:10:55 +03:00
Create README.md
This commit is contained in:
parent
bc8baf17b7
commit
869d3026d0
56
README.md
Normal file
56
README.md
Normal file
@ -0,0 +1,56 @@
|
||||
## Automatic installation for TorrentPier
|
||||
**This shell script allows you to:**
|
||||
- Install TorrentPier in automatic mode;
|
||||
## Supported systems:
|
||||
- **GNU/Linux:** Debian 11, 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**
|
||||
```bash
|
||||
apt -y update && apt -y full-upgrade
|
||||
```
|
||||
**Install GIT**
|
||||
```bash
|
||||
apt -y install git
|
||||
```
|
||||
**Clone the repository**
|
||||
```bash
|
||||
git clone https://github.com/torrentpier/autoinstall.git
|
||||
```
|
||||
**Make the installation file executable**
|
||||
```bash
|
||||
chmod +x ./autoinstall/install.sh
|
||||
```
|
||||
**Run automatic installation**
|
||||
```bash
|
||||
./autoinstall/install.sh
|
||||
```
|
||||
> [!NOTE]
|
||||
> install.sh always downloads the latest release.\
|
||||
> If you want to run it directly, use apt.install.sh for Debian and Ubuntu.
|
||||
|
||||
**Running the installation script directly for debian and ubuntu**
|
||||
```bash
|
||||
chmod +x ./autoinstall/install.sh && ./autoinstall/apt.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
|
||||
## Removing phpMyAdmin public access:
|
||||
**Removing the symbolic link**
|
||||
```bash
|
||||
rm /etc/nginx/sites-enabled/00-phpmyadmin.conf
|
||||
```
|
||||
**We check the current NGINX configs for errors**
|
||||
```bash
|
||||
nginx -t
|
||||
```
|
||||
**Restarting the NGINX process**
|
||||
```bash
|
||||
systemctl restart nginx
|
||||
```
|
Loading…
Reference in New Issue
Block a user