Autoinstall/README.md

56 lines
1.3 KiB
Markdown
Raw Normal View History

2024-08-18 01:18:42 +03:00
## Automatic installation for EngineGP
**This shell script allows you to:**
- Install EngineGP in automatic mode;
- Set up a location (unit);
- Download game servers.
## Supported systems:
- **GNU/Linux:** Debian 11, 12
- **GNU/Linux:** Ubuntu 22.04, 24.04
> [!IMPORTANT]
2024-08-31 23:43:53 +03:00
> The architecture and bit depth of x86_64 are required.
2024-08-18 01:18:42 +03:00
## Starting the auto installer:
2024-08-18 01:21:42 +03:00
**Update indexes and packages**
2024-08-18 01:18:42 +03:00
```bash
2024-09-21 00:02:40 +03:00
apt -y update && apt -y full-upgrade
2024-08-18 01:18:42 +03:00
```
2024-08-18 01:21:42 +03:00
**Install GIT**
2024-08-18 01:18:42 +03:00
```bash
apt -y install git
```
2024-08-18 01:21:42 +03:00
**Clone the repository**
2024-08-18 01:18:42 +03:00
```bash
git clone https://github.com/EngineGPDev/Autoinstall.git
```
2024-08-18 01:21:42 +03:00
**Make the installation file executable**
2024-08-18 01:18:42 +03:00
```bash
chmod +x ./Autoinstall/install.sh
```
2024-08-18 01:21:42 +03:00
**Run automatic installation**
2024-08-18 01:18:42 +03:00
```bash
2024-03-09 22:56:40 +03:00
./Autoinstall/install.sh
2024-08-18 01:18:42 +03:00
```
## Automatic installation keys:
2024-08-18 01:21:42 +03:00
**Forcibly specifying an IP address**
2024-08-18 01:18:42 +03:00
```bash
./Autoinstall/install.sh --ip 192.0.2.0
```
> [!NOTE]
> Instead of 192.0.2.0, you need to substitute your IP address.
2024-08-18 01:21:42 +03:00
**Choosing the php version**
2024-08-18 01:18:42 +03:00
```bash
./Autoinstall/install.sh --php 7.4
```
> [!NOTE]
2024-08-31 23:43:53 +03:00
> Instead of 7.4, you need to substitute the desired php version;\
2024-08-18 01:18:42 +03:00
> Supported php versions: 7.4, 8.0, 8.1, 8.2
2024-08-18 01:21:42 +03:00
**Selecting the working branch of the panel**
2024-08-18 01:18:42 +03:00
```bash
./Autoinstall/install.sh --branch main
```
> [!NOTE]
2024-08-31 23:43:53 +03:00
> main - the current stable version;\
> beta - current beta version;\
2024-08-18 01:18:42 +03:00
> develop - future beta version.