Archived
fix(installer): support Ubuntu 26.04
This commit is contained in:
4 files changed
+19
-14
No files matched your search
@@ -20,6 +20,8 @@ body:
|
|||||||
options:
|
options:
|
||||||
- Ubuntu 24.04 amd64
|
- Ubuntu 24.04 amd64
|
||||||
- Ubuntu 24.04 arm64
|
- Ubuntu 24.04 arm64
|
||||||
|
- Ubuntu 26.04 amd64
|
||||||
|
- Ubuntu 26.04 arm64
|
||||||
- Debian 13 amd64
|
- Debian 13 amd64
|
||||||
- Debian 13 arm64
|
- Debian 13 arm64
|
||||||
- Development workstation
|
- Development workstation
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Mail bodies and attachments never enter the MEOVV SQLite database.
|
|||||||
|
|
||||||
## Host requirements
|
## Host requirements
|
||||||
|
|
||||||
- Ubuntu 24.04 or Debian 13 on amd64 or arm64
|
- Ubuntu 24.04, Ubuntu 26.04, or Debian 13 on amd64 or arm64
|
||||||
- Docker Engine with the Compose plugin
|
- Docker Engine with the Compose plugin
|
||||||
- Host-managed Nginx and Certbot
|
- Host-managed Nginx and Certbot
|
||||||
- 4 vCPU, 8 GB RAM, and SSD storage for the reference 500-account deployment
|
- 4 vCPU, 8 GB RAM, and SSD storage for the reference 500-account deployment
|
||||||
@@ -46,11 +46,11 @@ Direct delivery also needs working reverse DNS and acceptable IP reputation. If
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
For a fresh Ubuntu 24.04 or Debian 13 server, clone this repository and run the
|
For a fresh Ubuntu 24.04, Ubuntu 26.04, or Debian 13 server, clone this
|
||||||
host installer from the repository root. It installs Docker Engine with the
|
repository and run the host installer from the repository root. It installs
|
||||||
Compose plugin, Nginx, Certbot, and required host utilities; initializes MEOVV;
|
Docker Engine with the Compose plugin, Nginx, Certbot, and required host
|
||||||
obtains the first Let's Encrypt certificate; installs renewal and proxy
|
utilities; initializes MEOVV; obtains the first Let's Encrypt certificate;
|
||||||
configuration; and starts the appliance:
|
installs renewal and proxy configuration; and starts the appliance:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./scripts/install-server.sh install \
|
sudo ./scripts/install-server.sh install \
|
||||||
|
|||||||
@@ -20,11 +20,11 @@ sudo ./scripts/install-server.sh install \
|
|||||||
```
|
```
|
||||||
|
|
||||||
Run it from the cloned repository root, or pass the repository's absolute path
|
Run it from the cloned repository root, or pass the repository's absolute path
|
||||||
with `--bundle-dir`. It supports Ubuntu 24.04 and Debian 13. Before running it,
|
with `--bundle-dir`. It supports Ubuntu 24.04, Ubuntu 26.04, and Debian 13.
|
||||||
point the hostname's A/AAAA record at the server and allow inbound port 80. The
|
Before running it, point the hostname's A/AAAA record at the server and allow
|
||||||
script obtains a certificate using Certbot's webroot flow, enables the final
|
inbound port 80. The script obtains a certificate using Certbot's webroot flow,
|
||||||
route split, copies the certificate into MEOVV's protected secrets directory,
|
enables the final route split, copies the certificate into MEOVV's protected
|
||||||
installs the renewal hook, and starts both containers.
|
secrets directory, installs the renewal hook, and starts both containers.
|
||||||
|
|
||||||
It deliberately leaves DNS, PTR records, provider firewall rules, SSH, and UFW
|
It deliberately leaves DNS, PTR records, provider firewall rules, SSH, and UFW
|
||||||
to the operator. It also stops when it finds a conflicting unmanaged Nginx site
|
to the operator. It also stops when it finds a conflicting unmanaged Nginx site
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ trap cleanup EXIT
|
|||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
Install and operate MEOVV Mail prerequisites on Ubuntu 24.04 or Debian 13.
|
Install and operate MEOVV Mail prerequisites on Ubuntu 24.04/26.04 or Debian 13.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
sudo ./scripts/install-server.sh install \
|
sudo ./scripts/install-server.sh install \
|
||||||
@@ -164,13 +164,16 @@ detect_platform() {
|
|||||||
|
|
||||||
case "${ID:-}" in
|
case "${ID:-}" in
|
||||||
ubuntu)
|
ubuntu)
|
||||||
[[ "${VERSION_ID:-}" == "24.04" ]] || die "Ubuntu 24.04 is required; found ${VERSION_ID:-unknown}"
|
case "${VERSION_ID:-}" in
|
||||||
|
24.04|26.04) ;;
|
||||||
|
*) die "supported Ubuntu releases are 24.04 and 26.04; found ${VERSION_ID:-unknown}" ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
debian)
|
debian)
|
||||||
[[ "${VERSION_ID:-}" == "13" ]] || die "Debian 13 is required; found ${VERSION_ID:-unknown}"
|
[[ "${VERSION_ID:-}" == "13" ]] || die "Debian 13 is required; found ${VERSION_ID:-unknown}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
die "supported systems are Ubuntu 24.04 and Debian 13; found ${ID:-unknown}"
|
die "supported systems are Ubuntu 24.04/26.04 and Debian 13; found ${ID:-unknown}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user