Skip to content

推广

img.png


安装

安装之前请先检查硬件及依赖符合系统需求

使用 Docker 安装

shell
curl -sSL https://f.next-terminal.com/next-terminal/docker-compose-aliyun.yaml > docker-compose.yaml
curl -sSL https://f.next-terminal.com/next-terminal/config.yaml > config.yaml
docker compose up -d
shell
curl -sSL https://f.next-terminal.com/next-terminal/docker-compose.yaml > docker-compose.yaml
curl -sSL https://f.next-terminal.com/next-terminal/config.yaml > config.yaml
docker compose up -d

安装成功后

访问 http://{ip}:8088/setup 进行用户初始化设置

访问 http://{ip}:8088/login 进行登陆

版本升级

PostgreSQL 16 和 PostgreSQL 18 均受支持。现有 PostgreSQL 16 部署可以继续使用,无需为了升级 Next Terminal 而迁移到 PostgreSQL 18。

请确保 PostgreSQL 服务端与 Next Terminal 镜像内置的 PostgreSQL client 主版本一致:

PostgreSQL 服务端Next Terminal 镜像
postgres:16dushixiang/next-terminal:latest
postgres:18dushixiang/next-terminal:latest-pg18

如果使用阿里云镜像,请保留原有镜像仓库地址,并使用对应的标签。

仅在迁移到 PostgreSQL 18 时需要注意

如果现有 docker-compose.yaml 使用的是 postgres:16,请勿直接将其修改为 postgres:18。PostgreSQL 的主版本不能通过更换容器镜像直接升级,PostgreSQL 18 也无法直接使用 PostgreSQL 16 的数据目录。

如需迁移到 PostgreSQL 18,请按照从 PostgreSQL 16 迁移到 PostgreSQL 18完成数据库迁移;不需要迁移时,请继续保留现有 PostgreSQL 16 配置。

确认 docker-compose.yaml 中的镜像版本组合正确后,无论使用 PostgreSQL 16 还是 PostgreSQL 18,都可以执行以下命令升级 Next Terminal:

shell
docker compose pull
docker compose up -d

开启 IPv6 (非必需)

请参考 docker 官方文档 https://docs.docker.com/engine/daemon/ipv6/