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.
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 DataEase@123456
黄海修改过的密码: 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
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