diff --git a/操作文档/7、DataEase.md b/操作文档/7、DataEase.md index 1a2f05ac..2c7d1232 100644 --- a/操作文档/7、DataEase.md +++ b/操作文档/7、DataEase.md @@ -154,3 +154,46 @@ remote_port=27081 DsIdeal@123 ![](https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/BlogImages/202410171024499.png) + +#### $Centos$ $7.9$ $root$账号,输入$reboot$不重新启动,怎么办? + +答: + +```shell +yum update -y +``` + +然后使用在线安装,注意:不要使用离线包,离线包问题多多! + +``` +curl -sSL https://dataease.oss-cn-hangzhou.aliyuncs.com/quick_start_v2.sh | sh +``` + +[DataEase v2 设置动态访问路径,使用 Nginx 路径代理 - FIT2CLOUD 知识库](https://kb.fit2cloud.com/?p=57a47d64-4eda-4ae8-a0b0-4329e57b13ff) + + + +#### 备份与还原 + +``` +# 两个机器都要执行 +service dataease stop +# 在备份的机器上执行 +tar -jcv -f dataease.tar.bz2 /opt/dataease2.0 + +# 备份机器上启动服务 +service dataease start + +# 下载 dataease.tar.bz2 并在还原的机器上传 + +# 还原 +mv /opt/dataease2.0 /opt/dataease2.0.bak +mkdir /opt/dataease2.0 -p +tar -xjf dataease.tar.bz2 -C / + +# 在还原机上执行 +service dataease start +``` + + + diff --git a/操作文档/在Centos7.9上安装DataEaseV2.txt b/操作文档/在Centos7.9上安装DataEaseV2.txt new file mode 100644 index 00000000..98aaf959 --- /dev/null +++ b/操作文档/在Centos7.9上安装DataEaseV2.txt @@ -0,0 +1,63 @@ +java.lang.reflect.InvocationTargetException + +# 移除docker旧版本 +docker version + +yum -y remove docker* + +# 安装依赖 +yum install -y yum-utils device-mapper-persistent-data lvm2 + +# 安装源 +yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo + +# 查看最新版本 +yum list docker-ce --showduplicates | sort -r + +docker-ce.x86_64 3:26.1.4-1.el7 docker-ce-stable + +# 安装最新版本 +yum install docker-ce-26.1.4-1.el7 -y + + 默认安装的是最高版本 25.0.3-1.el7 + yum -y install docker-ce-25.0.3-1.el7 + 注:版本号是 25.0.3-1.el7, 而非 3:25.0.3-1.el7 + +# 在线安装dataease v2 +curl -sSL https://dataease.oss-cn-hangzhou.aliyuncs.com/quick_start_v2.sh | sh + +cd /opt/dataease2.0/conf +vi application.yml + +``` +server: + tomcat: + connection-timeout: 70000 + servlet: + context-path: /dataease +``` + +cd .. +vi .env +最后一行增加: +DE_CONTEXT_PATH=/dataease + +# 重新启动 +dectl restart + + +默认用户名 admin +密码 DataEase@123456 + +# 访问报异常,RSA ERROR,怀疑是因为https证书导致,通过实验验证一下 +http://www.wmarkj.com:28100/dataease + +可以正常进行,说明我的迁移工作是没有问题的,问题出在www.edusoa.com 的https证书上 + +# 在备份机上执行 +dectl backup + +# 将生成的文件拷贝到目标机上 + +# 在目标机上执行 +dectl restore \ No newline at end of file