You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/02-admin/01-installation/01-bare_metal.md
+41-25
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,28 @@ This guide is aimed for Debian / Ubuntu distribution servers, but it could run o
11
11
12
12
## Minimum hardware requirements
13
13
14
-
**CPU:** 2 cores (>2.5 GHz)
15
-
**RAM:** 4GB (more is recommended for large instances)
16
-
**Storage:** 20GB (more is recommended, especially if you have a lot of remote/local magazines and/or have a lot of (local) users)
14
+
-**vCPU:** 4 virtual cores (>= 2GHz, _more is recommended_ on larger instances)
15
+
-**RAM:** 6GB (_more is recommended_ for large instances)
16
+
-**Storage:** 40GB (_more is recommended_, especially if you have a lot of remote/local magazines and/or have a lot of (local) users)
17
+
18
+
You can start with a smaller server and add more resources later if you are using a VPS for example.
19
+
20
+
## Software Requirements
21
+
22
+
- Debian 12 or Ubuntu 22.04 LTS or later
23
+
- PHP v8.3 or higher
24
+
- NodeJS v20 or higher
25
+
- Valkey / KeyDB / Redis (pick one)
26
+
- PostgreSQL
27
+
- Supervisor
28
+
- RabbitMQ
29
+
- Nginx / OpenResty (pick one)
30
+
-_Optionally:_ Mercure
31
+
32
+
This guide will show you how-to install and configure all of the above. Except for Mercure and Nginx, for Mercure see the [optional features page](../03-optional-features/README.md).
33
+
34
+
> [!TIP]
35
+
> Once the installation is completed, also check out the [additional configuration guides](../02-configuration/README.md) (including the Nginx setup).
On **Ubuntu 22.04 LTS** or older, prepare latest PHP package repositoy (8.3) by using a Ubuntu PPA (this step is optional for Ubuntu 23.10 or later) via:
51
+
On **Ubuntu 22.04 LTS** or older, prepare latest PHP package repositoy (8.4) by using a Ubuntu PPA (this step is optional for Ubuntu 23.10 or later) via:
> If you are upgrading to PHP 8.3 from an older version, please re-review the [PHP configuration](#php) section of this guide as existing `ini` settings are NOT automatically copied to new versions. Additionally review which php-fpm version is configured in your nginx site.
74
+
> If you are upgrading to PHP 8.3 from an older version, please re-review the [PHP configuration](#php) section of this guide as existing `ini` settings are NOT automatically copied to new versions. Additionally review which php-fpm version is configured in your Nginx site.
56
75
57
76
> [!IMPORTANT]
58
-
> **Never** even install `xdebug` PHP extension in production environments. Even if you didn't enabled it but only installed `xdebug` can give massive performance issues.
77
+
> **Never** even install `xdebug` PHP extension in production environments. Even if you don't enabled it but only installed `xdebug` can give massive performance issues.
If you have a firewall installed (or you're behind a NAT), be sure to open port `443` for the web server. Mbin should run behind a reverse proxy like Nginx.
88
+
Mbin bare metal setup requires a reverse proxy called Nginx (or OpenResty) to be installed and configured correctly. This is a requirement for Mbin to work safe, properly and to scale well.
70
89
71
-
For Nginxsee:[Nginx configuration](../02-configuration/02-nginx.md).
90
+
For Nginx/OpenResty setup see the[Nginx configuration](../02-configuration/02-nginx.md).
72
91
73
-
## Install NodeJS (frontend tools)
92
+
## Firewall
93
+
94
+
If you have a firewall installed (or you're behind a NAT), be sure to open port `443` for the web server. As said above, Mbin should run behind a reverse proxy like Nginx or OpenResty.
95
+
96
+
## Install Node.JS (frontend tools)
74
97
75
98
1. Prepare & download keyring:
76
99
77
100
> [!NOTE]
78
101
> This assumes you already installed all the prerequisites packages from the "System prerequisites" chapter.
0 commit comments