DataEase Installation Tutorial (Windows)


Introduction

DataEase is an open source data visualization analysis tool that helps users quickly analyze data and gain insight into business trends, so as to achieve business improvement and optimization. DataEase supports rich data source connections, can quickly create charts by dragging and dropping, and can easily share them with others.

example

example

Install

Install WSL

open cmd as administrator

run

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

output

C:\WINDOWS\system32>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

部署映像服务和管理工具
版本: 10.0.22000.1

映像版本: 10.0.22000.556

启用一个或多个功能
[==========================100.0%==========================]
操作成功完成。

C:\WINDOWS\system32>dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

部署映像服务和管理工具
版本: 10.0.22000.1

映像版本: 10.0.22000.556

启用一个或多个功能
[==========================100.0%==========================]
操作成功完成。

Reboot the OS now

Update WSL

Download the WSL2 Linux kernel update package for x64 machines and install

insert image description here
insert image description here
Set WSL2 as default

run

wsl --set-default-version 2

output

C:\WINDOWS\system32>wsl --set-default-version 2
有关与 WSL 2 的主要区别的信息,请访问 https://aka.ms/wsl2
操作成功完成。

install ubuntu

Search for "Ubuntu" in the Windows Store and install it

insert image description here
Open after the installation is complete, set the user name and password

insert image description here
Detect Ubuntu WSL version

 wsl.exe -l -v

Output the following results, you can see that VERSION is 2

   NAME      STATE           VERSION
* Ubuntu    Running         2

If VERSION is 1, continue to execute the command

wsl.exe --set-version Ubuntu 2

Install Docker

Download Docker Desktop for Windows

insert image description here
insert image description here
insert image description here
insert image description here

Install Dataease

  1. Download the offline version installation package

https://community.fit2cloud.com/#/products/dataease/downloads

  1. Start Ubuntu, execute the following command, switch to root user
sudo su -

insert image description here

  1. Check whether Docker can be used normally
docker -v

If the version number is displayed normally, you can continue to perform the following operations

Docker version 20.10.13, build a224086
  1. Execute the following decompression command
# 假设安装包存放路径为 c:\dataease-v1.5.0-offline.tar.gz
cd /mnt/c
# 解压安装包
tar zxvf dataease-v1.8.0-offline.tar.gz
  1. Execute the installation script
# 进入安装包目录
cd dataease-v1.5.0-offline
# 运行安装脚本
/bin/bash install.sh
root@DESKTOP-L559T0C:/mnt/c# cd dataease-v1.8.0-offline/
root@DESKTOP-L559T0C:/mnt/c/dataease-v1.8.0-offline# /bin/bash install.sh
======================= 开始安装 =======================
[DATAEASE Log]: 拷贝配置文件模板文件  -> /opt/dataease/conf
[DATAEASE Log]: 根据安装配置参数调整配置文件
time: Wed Mar 23 10:28:06 CST 2022
[DATAEASE Log]: 检测到 Docker 已安装,跳过安装步骤
[DATAEASE Log]: 启动 Docker
docker: unrecognized service
[DATAEASE Log]: 检测到 Docker Compose 已安装,跳过安装步骤
[DATAEASE Log]: 加载镜像
Loaded image: registry.cn-qingdao.aliyuncs.com/dataease/dataease:v1.8.0
Loaded image: registry.cn-qingdao.aliyuncs.com/dataease/doris:0.15-1125
Loaded image: registry.cn-qingdao.aliyuncs.com/dataease/kettle:8.3-v1.7
Loaded image: registry.cn-qingdao.aliyuncs.com/dataease/mysql:5.7.36
[DATAEASE Log]: 配置 dataease Service
vm.max_map_count = 262144
[DATAEASE Log]: 启动服务

[+] Running 6/6
 ⠿ Network dataease_dataease-network  Created 0.6ss
 ⠿ Container mysql                    Healthy 15.6s
 ⠿ Container doris-be                 Healthy 15.1s
 ⠿ Container kettle                   Started 4.4ss
 ⠿ Container dataease                 Started 15.8ss
 ⠿ Container doris-fe                 Started 14.9ss

NAME                COMMAND                  SERVICE             STATUS               PORTS
dataease            "/deployments/run-ja…"   dataease            running (starting)   0.0.0.0:80->8081/tcp
doris-be            "/entrypoint.sh"         doris-be            running (healthy)
doris-fe            "/entrypoint.sh"         doris-fe            running (starting)
kettle              "/opt/kettle/carte.s…"   kettle              running
mysql               "docker-entrypoint.s…"   mysql               running (healthy)    0.0.0.0:3306->3306/tcp
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动中,请稍候 ...
[DATAEASE Log]: 服务启动成功!
======================= 安装完成 =======================

请通过以下方式访问:
 URL: http://$LOCAL_IP:80
 用户名: admin
 初始密码: dataease
  1. Open the browser, enter the address bar localhost:80, enter the user name and password to enter the system

insert image description here

reference

Offline Installation (Windows) - DataEase Documentation

Guess you like

Origin blog.csdn.net/qq_42951560/article/details/123677512#comments_27376404