Docker
有关 Docker 的详细信息,请访问此页面。
手动安装
以下是使用 Docker 容器时的操作步骤和配置示例。
-
加载 Docker 映像。
启动终端并运行以下命令。docker load -i <*.tar.gz> -
启动 Docker 容器 在终端中运行以下命令。
docker run -d --restart=always --name actiphy_ass \
-p "0.0.0.0:443:443" \
-p "0.0.0.0:58337:58337" \
-p "0.0.0.0:58240:58240/udp" \
--mount type=bind,source=<destination to output log records and settings>,target=/app/logs \
--mount type=bind,source=<path of the bucket and mount point of cache device>,target=/app/data \
"ass:<version of the loaded image>"如果主机上的某个端口已被占用,请改用其他端口。
直接挂载本地卷时,请按以下方式指定。
示例:
–mount type=volume,source=,target=/app/data 为存储桶部署存储设备或缓存设备时,请在启动 Docker 前,将其挂载到分配给 “target=/app/data” 的路径下。如果要使用在 Docker 启动后挂载的设备,需要重新启动 Docker。
-
配置 Web 控制台连接设置 请使用支持自签名证书的 Web 浏览器,例如 Google Chrome。连接到 Web 控制台后,请在各项目页面中配置设置。
示例:https://<IP address>
如果在启动容器后配置了 443 以外的端口,请选择该端口并建立连接。
以下是停止和删除 Docker 容器的操作步骤。
-
停止 Docker 容器
在终端中运行以下命令。
docker stop actiphy_ass -
删除 Docker 容器
在终端中运行以下命令。
docker rm -f actiphy_ass -
删除 Docker 映像
在终端中运行以下命令。
docker rmi -f ass:<version of the loaded image>
脚本安装
运行产品介质中包含的脚本,安装兼容 Docker 的 Podman 和所需软件包,并配置相关设置。
- 仅支持 Red Hat Enterprise Linux 8 - 9 及相应版本的衍生操作系统。
- 创建容器时仅支持 xfs 和 ext4 文件系统。
-
使用 root 帐户登录
-
运行产品介质中包含的脚本。
启动终端并运行以下命令。
./aas_ass_install-packages.sh
安装菜单包含以下项目。
- [1] Install AAS 安装 Actiphy Authentication Service
- [2] Uninstall AAS 卸载 Actiphy Authentication Service
- [3] Install StorageServer 安装 Actiphy StorageServer
- [4] Uninstall StorageServer 卸载 Actiphy StorageServer
- [5] exit 退出