# Requirements

What a machine needs to run CrushMFT 27.

## Java

| | |
|---|---|
| at least | Java 21. With an older one the server does not start: "CrushMFT 27 requires Java 21 or later (Java 25 or later is recommended)." |
| recommended | Java 25 or later. Below 25 the server starts with a warning. |
| on macOS, with the app | Java 25 or later is required: "CrushMFT needs Java 25+" |
| which | any OpenJDK build for your system and processor: Eclipse Temurin, Amazon Corretto, Azul Zulu, Oracle. A full JDK or a runtime. 64-bit. |

The server looks for Java in this order: what its start settings name; a folder named `java` inside the CrushMFT folder; `JAVA_HOME`; the system's own Java. Putting a Java into the CrushMFT folder as `java` keeps the server independent of what else is installed on the machine. See [Java and memory settings](Java-and-Memory.md).

## Operating system

| System | Notes |
|---|---|
| **Windows** | Windows 10 or Windows Server 2016, or later. 64-bit. [Install on Windows](Install-Windows.md). |
| **macOS** | the CrushMFT app is for Apple Silicon. On an Intel Mac the server runs with `java -jar`, without the app. [Install on macOS](Install-macOS.md). |
| **Linux** | any current distribution, x86-64 or ARM64, with systemd or an older init system. [Install on Linux](Install-Linux.md). |
| **BSD and other Unix** | where a current Java runs. The start script knows BSD's service form. |
| **containers** | images for Docker and Kubernetes: [Docker](../Docker/Main.md) |
| **a Raspberry Pi** | [CrushMFT on a Raspberry Pi](Ops-Raspberry-Pi.md) |

Linux has no window of any kind: everything is done from the command line and then in the browser.

## Memory, processor, disk

| | A small server | A busy server |
|---|---|---|
| memory for the server (Java heap) | 1 GB | 2 to 8 GB |
| memory of the machine | 2 GB | twice the heap, at least |
| processor | 2 cores | 4 or more. Encryption is processor work: every transfer over SFTP or HTTPS costs some. |
| disk for the server itself | 1 GB, plus room for logs | several GB for logs and the record of activity, more with long retention |
| disk for the files | what your users need | the same |

A new Linux installation starts with a heap of 512 MB. Raise it: [Performance](Ops-Performance.md#memory).

Keep the server's own folder on a local disk. The users' files can be anywhere the server reaches.

## Network

| | |
|---|---|
| ports | the ones you offer: usually 443 for HTTPS and 22 or 2222 for SFTP, 21 and a passive range for FTP. [Ports CrushMFT uses](Ref-Ports.md). |
| a name | a DNS name for the server, for a certificate |
| outgoing | only what you set up: mail, a directory, storage, the update check |
| the clock | kept right by the network. Certificates, one-time codes and AS2 depend on it. |

## Browsers

The admin pages and the web interface work in the current versions of Chrome, Edge, Firefox and Safari, on computers and on phones. Nothing is installed in the browser.

The control panel's window uses the system's own web view: WebKit on macOS, WebView2 on Windows. Where Windows has no WebView2, as on Windows Server unless it was added, the panel opens in the default browser.

## A licence

A server without a licence runs with limits, for trying it. Licences and what each includes are described on the vendor's site.

## Accounts and rights

| System | To install the service | To run it |
|---|---|---|
| Windows | an administrator | the service runs as Local System unless you give it an account: [The Windows service](Windows-Service.md) |
| macOS | an administrator, for the daemon | |
| Linux | root | the account named in the start script. root by default; another account is safer and cannot open ports below 1024: [The Linux service](Linux-Service.md) |

The account the server runs as needs to read and write the CrushMFT folder and the folders of the users' files.
