当前位置:网站首页>XWiki Installation Tips
XWiki Installation Tips
2022-07-03 15:12:00 【Brother Xing plays with the clouds】
XWiki Installation and use skills Tips: :
1. function {%XWIKI_HOME%} Medium start_xwiki.bat The basic download and installation is like this , The rest is configuration XWiki Chinese language support
2. webapps\xwiki\WEB-INF In the catalog web.xml, modify Character Encoding, for example <filter> <filter-name>Set Character Encoding</filter-name> <filter-class>com.xpn.xwiki.web.SetCharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter>
3. \webapps\xwiki\WEB-INF In the catalog xwiki.cfg, modify xwiki.encoding = UTF-8
4. \webapps\xwiki\WEB-INF In the catalog Hibernate Configuration file for hibernate.cfg.xml Modification of , Add the following two property <property name="connection.useUnicode">true</property> <property name="connection.characterEncoding">UTF-8</property>
5. {%XWIKI_HOME%} Under the start_xwiki.bat Modification of set LANG=en_US.UTF-8 Java %JAVA_OPTS% -Dfile.encoding=UTF-8 -Djetty.home=%JETTY_HOME% -Djetty.port=%JETTY_PORT% -jar %JETTY_HOME%/start.jar The above two sentences are original UTF-8 by ISO-8859-1, Such as UTF-8 Just fine
OK, restart start_xwiki.bat You can edit and save Chinese Problems found : Write new blog Or when adding new pages title There is a problem if part of it begins with Chinese , There will be problems with the database connection , But this problem is easy to solve , I add an English word or The letters are ok , Look back and see what the problem is . And if you want to post code in the page , Especially when there are special symbols like angle brackets , It should be on the right side of the edit page Page Syntax Selected as XWiki 2.0, Otherwise it will filter out these special symbols .
6. Modify the Chinese interface :xwiki administrator ->localization->lanaguage modify en by ch
边栏推荐
- [probably the most complete in Chinese] pushgateway entry notes
- PyTorch crop images differentiablly
- Tensor ellipsis (three points) slice
- 5.2-5.3
- [Yu Yue education] scientific computing and MATLAB language reference materials of Central South University
- [graphics] real shading in Unreal Engine 4
- 【注意力机制】【首篇ViT】DETR,End-to-End Object Detection with Transformers网络的主要组成是CNN和Transformer
- Influxdb2 sources add data sources
- Use of Tex editor
- Incluxdb2 buckets create database
猜你喜欢
How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03
Byte practice plane longitude 2
Besides lying flat, what else can a 27 year old do in life?
Yolov5系列(一)——網絡可視化工具netron
Idea does not specify an output path for the module
Composite type (custom type)
【注意力机制】【首篇ViT】DETR,End-to-End Object Detection with Transformers网络的主要组成是CNN和Transformer
B2020 分糖果
[pytorch learning notes] datasets and dataloaders
Kubernetes vous emmène du début à la fin
随机推荐
Yolov5 advanced nine target tracking example 1
Functional modules and application scenarios covered by the productization of user portraits
There are links in the linked list. Can you walk three steps faster or slower
What is machine reading comprehension? What are the applications? Finally someone made it clear
Nppexec get process return code
redis缓存穿透,缓存击穿,缓存雪崩解决方案
Besides lying flat, what else can a 27 year old do in life?
Chapter 04_ Logical architecture
Finally, someone explained the financial risk management clearly
.NET六大设计原则个人白话理解,有误请大神指正
The method of parameter estimation of user-defined function in MATLAB
What is one hot encoding? In pytoch, there are two ways to turn label into one hot coding
Composite type (custom type)
Detailed comments on MapReduce instance code on the official website
B2020 分糖果
4-33--4-35
视觉上位系统设计开发(halcon-winform)-1.流程节点设计
Matplotlib drawing label cannot display Chinese problems
SQL server安装位置改不了
TPS61170QDRVRQ1