Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何汉化,加大速度-攻略,。回馈作者 #53

Open
chenjunqiang opened this issue Mar 21, 2024 · 4 comments
Open

如何汉化,加大速度-攻略,。回馈作者 #53

chenjunqiang opened this issue Mar 21, 2024 · 4 comments

Comments

@chenjunqiang
Copy link

安装ubuntu22.04

安装software update的包

sudo apt-get update
sudo apt-get upgrade
sudo apt install git

 git clone https://github.com/haxqer/confluence.git

手动修改/confluence/docker-compose.yml的confluence的版本为:8.7.2

增加内存,最好大一点

environment:

    - JVM_MINIMUM_MEMORY=6g

    - JVM_MAXIMUM_MEMORY=12g

    - CATALINA_OPTS=-Xms6g -Xmx12g

新开一个terminal窗口

cd confluence

##进入容器
sudo docker-compose exec confluence /bin/bash

//更新软件
apt-get update
apt-get upgrade
apt-get install fontconfig
apt install fonts-noto-*

##生产字体缓存
fc-cache -fv

字体弄好后,重启ubuntu系统,让字体生效

删除conflluence缓存

rm -rf /var/confluence/shared-home/dc1-document/*
rm -rf /var/confluence/shared-home/dcl-document_hd/*
rm -rf /var/confluence/shared-home/dcl-thumbnail/*

@haxqer
Copy link
Owner

haxqer commented Mar 21, 2024

好建议,内存确实可以调大一些

@chenjunqiang
Copy link
Author

好建议,内存确实可以调大一些

回头有空,你方便的话,把中文字体也给打进去把。复制windows下的字体过去太麻烦了。

基本上就趋于很爽了。

不着急,等你有空的时候,偶尔安排就行了。

现在自己安装也行。就是想偷懒,我小白,搞这个进入docker这个界面,搞死我了

@james-xj
Copy link

james-xj commented Sep 1, 2024

confluence 9.01的镜像上可用

@lizonggang
Copy link

lizonggang commented Nov 28, 2024

我使用的是 8.5.16 版本 ,按此方法,导出Word可以正常显示汉字,导出PDF不显示汉字。不清楚是否还需要在后台做设置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants