本地电脑部署的,Mac OS,在线安装无法pull成功,离线部署后,docker创建成功,但是安装报错,网址172.19.0.0:8080(不知道是否正确)也打不开,具体日志如下,请帮忙看下到底是什么问题?
(base) liangxu@liangxudeMacBook-Pro maxkb-v1.10.0-lts-offline % ls
README.md images install.sh mkctl
docker install.conf maxkb uninstall.sh
(base) liangxu@liangxudeMacBook-Pro maxkb-v1.10.0-lts-offline % ## 安装目录
MAXKB_BASE=/opt
Service 端口
MAXKB_PORT=8080
docker 网段设置
MAXKB_DOCKER_SUBNET=172.19.0.0/16
数据库配置
是否使用外部数据库
MAXKB_EXTERNAL_PGSQL=false
数据库地址
MAXKB_PGSQL_HOST=pgsql
数据库端口
MAXKB_PGSQL_PORT=5432
数据库库名
MAXKB_PGSQL_DB=maxkb
数据库用户名
MAXKB_PGSQL_USER=root
数据库密码
MAXKB_PGSQL_PASSWORD=Password123@postgres
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: #
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: ##
zsh: command not found: ##
(base) liangxu@liangxudeMacBook-Pro maxkb-v1.10.0-lts-offline % bash install.sh
======================= 开始安装 =======================
mkdir: /opt/maxkb: Permission denied
cp: /opt/maxkb is not a directory
cp: /opt/maxkb: Permission denied
cp: ./maxkb/templates: unable to copy extended attributes to /opt/maxkb: Permission denied
cp: /opt/maxkb/pgsql.env: No such file or directory
cp: /opt/maxkb/version: No such file or directory
cp: /opt/maxkb/maxkb.env: No such file or directory
install.sh: line 53: cd: /opt/maxkb: No such file or directory
mkdir: /opt/maxkb: Permission denied
-f docker-compose.yml -f docker-compose-pgsql.yml
MaxKB Log: 拷贝配置文件模板文件 → /opt/maxkb/conf
install.sh: line 72: cd: /opt/maxkb: No such file or directory
cp: /opt/maxkb/templates/*: No such file or directory
mv: rename /opt/maxkb/conf/version to /opt/maxkb: No such file or directory
install.sh: line 77: cd: /opt/maxkb/templates: No such file or directory
cp: /usr/local/bin/mkctl: Permission denied
time: 2025年 2月11日 星期二 21时29分55秒 CST
MaxKB Log: 检测到 Docker 已安装,跳过安装步骤
MaxKB Log: 启动 Docker
install.sh: line 106: service: command not found
MaxKB Log: 检测到 Docker Compose 已安装,跳过安装步骤
Loaded image: 1panel/maxkb:v1.10.0-lts
install.sh: line 203: mkctl: command not found
install.sh: line 207: mkctl: command not found
install.sh: line 208: mkctl: command not found
======================= 安装完成 =======================
请通过以下方式访问:
URL: http://$LOCAL_IP:8080