You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YunNanDsBase/Doc/长春云校大数据部署情况.txt

90 lines
2.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#RockyLinux 9.5
IP:10.10.200.31
root
DsideaL4r5t6y7u
端口22
#Windows操作机
IP:10.10.200.33
Administrator
dsideal
ToDesk
755 640 600
密码:
DsideaL4r5t6y7u@123
#公网IP:
222.161.203.183
对外映射的三个端口:
8100 --> DataEase
黄海修改过的密码admin Dsideal4r5t6y7u!@#
8200 -->MaxKB
admin Dsideal4r5t6y7u!@#
9000 -->QingLong
利用OpenResty反代两个项目
8080:MaxKB ---> OpenResty ---> http://222.161.203.183:8200
9100:YunNanDsBase--->OpenResty--->http://222.161.203:8200/dsBase/html/login.html
利用端口映射直通两个项目
8100:DataEase --->8100 ---> http://222.161.203.183:8100/dataease
9000:QingLong ---->9000 ---> http://222.161.203.183:9000/QingLong/login.html
sys1 DsideaL4r5t6y7u
http://222.161.203.183:9000/QingLong/yx/LessonConstructionInfoByXzqhSchool?type_id=1
### 错误:
(1)java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /usr/local/jdk21/lib/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory
yum install freetype -y
(2)java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration
yum install fontconfig dejavu-sans-fonts -y
(3) java+pdf导出后中文显示方框
yum install -y fontconfig mkfontscale
I 将C:\Windows\Fonts 下所有文件的打成一个压缩包Fonts.zip
II 将Fonts.zip上传到 /usr/share/fonts/
cd /usr/share/fonts/
unzip Fonts.zip
rm -rf Fonts.zip
rm -rf ./*.fon #这种字体是安装不上的
mkfontscale
mkfontdir
fc-cache
# 部署的程序
1、YunNanDsBase
目的配合DataEase进行工作起到路由或者修改数据的目的。使用了Mysql数据库ds_db部署到DataEase的mysql实例中
用户名root
密码Password123@mysql
端口:3306
数据库名称ds_db
2、QingLong
目的配合MaxKB进行工作起到下载EXCEL按个人创建知识库等功能暂未上线
用户名root
密码Password123@postgres
端口5432
数据库名称szjz_db
注意由于我们开发环境10.10.14.71使用的是PG16,而MaxKB使用的是PG15.8直接用Navicat进行PSC备份还原会失改黄海的办法是导出SQL文件然后再到目标机导入成功创建表。
# 更新的SQL语句
update paragraph set content=replace(content,'10.10.21.20:9000','222.161.203.183:9000')
# 演示的地址
http://222.161.203.183:8200/ui/chat/a21c842f2eeffaa2
# 最终发布的集成页面
http://222.161.203.183:9000/QingLong/integration.html