2 Комити 5c01df59f7 ... 2ef0e73bd5

Аутор SHA1 Порука Датум
  ryanemax 2ef0e73bd5 Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook пре 1 месец
  ryanemax 1456b7c6b4 fix: merge pdf img пре 1 месец
1 измењених фајлова са 34 додато и 1 уклоњено
  1. 34 1
      docker-office/README.md

+ 34 - 1
docker-office/README.md

@@ -61,4 +61,37 @@ sudo docker run --rm -p 3000:3000 gotenberg/gotenberg
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Proto $scheme;
     }
-```
+```
+
+# 依赖安装
+cp -rf fonts/* /usr/share/fonts/
+fc-cache -f -v
+sudo apt install ghostscript
+sudo apt install 
+
+sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev libopenjp2-7-dev libwebp-dev
+
+
+
+# 安装python2.7
+
+wget https://mirrors.huaweicloud.com/python/2.7.18/Python-2.7.18.tar.xz
+tar -xf Python-2.7.18.tar.xz
+
+cd Python-2.7.18
+./configure --with-pydebug
+make -s -j16
+
+## /etc/profile
+
+export PATH=$PATH:/home/user/python/Python-2.7.18/
+
+ln -s /root/lib/Python-2.7.18/python /usr/bin/
+
+## test
+scp final.pdf root@server.fmode.cn:/var/www/miner-manager/
+
+
+# FAQ:合成pdf图片丢失问题
+- 1.删除所有目录书签链接
+- 2.导出:关闭超链接选项导出