[root@hd02 ~]# sh dataease-offline-installer-v2.7.0-ce/install.sh
当前时间 : 2024年 06月 19日 星期三 12:58:44 CST
- 检查安装环境并初始化环境变量
全新安装 - 设置运行目录
运行目录 /opt/dataease2.0
配置文件目录 /opt/dataease2.0/conf - 初始化运行目录
复制安装文件到运行目录
调整配置文件参数 - 安装 dectl 命令行工具
安装至 /usr/local/bin/dectl & /usr/bin/dectl - 修改操作系统相关设置
开启防火墙端口 8100
Warning: ALREADY_ENABLED: 8100:tcp
success
success - 安装 docker
检测到 Docker 已安装,跳过安装步骤
启动 Docker - 安装 docker-compose
检测到 Docker Compose 已安装,跳过安装步骤 - 加载 DataEase 镜像
加载镜像 dataease:v2.7.0
加载镜像 mysql:8.3.0 - 配置 DataEase 服务
配置 dataease Service
配置开机自启动 - 启动 DataEase 服务
Job for dataease.service failed because the control process exited with error code. See “systemctl status dataease.service” and “journalctl -xe” for details.
======================= 安装完成 =======================
系统登录信息如下:
访问地址: http://服务器IP:8100
用户名: admin
初始密码: DataEase@123456
[root@hd02 ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:18453 0.0.0.0:* LISTEN 111674/python3
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1122/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1940/master
tcp6 0 0 :::22 :::* LISTEN 1122/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1940/master
[root@hd02 ~]# systemctl status dataease.service
● dataease.service - DataEase Service
Loaded: loaded (/etc/systemd/system/dataease.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 三 2024-06-19 13:00:15 CST; 1min 49s ago
Process: 127169 ExecStart=/usr/bin/dectl start (code=exited, status=1/FAILURE)
Main PID: 127169 (code=exited, status=1/FAILURE)
6月 19 13:00:12 hd02 systemd[1]: Starting DataEase Service…
6月 19 13:00:14 hd02 dectl[127169]: Network dataease20_dataease-network Creating
6月 19 13:00:14 hd02 dectl[127169]: Network dataease20_dataease-network Error
6月 19 13:00:14 hd02 dectl[127169]: failed to create network dataease20_dataease-network: Error response from daemon: Failed to Setup IP tables: Unable to enab… that name.
6月 19 13:00:14 hd02 dectl[127169]: (exit status 1))
6月 19 13:00:15 hd02 dectl[127169]: 未找到容器 dataease。
6月 19 13:00:15 hd02 systemd[1]: dataease.service: main process exited, code=exited, status=1/FAILURE
6月 19 13:00:15 hd02 systemd[1]: Failed to start DataEase Service.
6月 19 13:00:15 hd02 systemd[1]: Unit dataease.service entered failed state.
6月 19 13:00:15 hd02 systemd[1]: dataease.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@hd02 ~]#