Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kana Kana
IroiroWiki
Commits
4c73389d
Commit
4c73389d
authored
Jan 23, 2021
by
dokuwiki
Browse files
Wiki page zh-search changed with summary [warnings] by shykana
parent
2144b30b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pages/pleroma/zh-search.txt
View file @
4c73389d
...
...
@@ -4,6 +4,8 @@
**(请做好备份!请做好备份!请做好备份!)**
**另外,动了搜索配置后,Pleroma 的备份以及恢复可能会有更多的问题。但因我的实例并不是全新安装,没有成功配置,所以此处可能不能继续尝试解决方案。这方面也请谨慎考量。请谨慎考量。**
===== Pleroma 搜索系统 =====
Pleroma 搜索系统使用的是 postgresql 的全文搜索,并且似乎在数据表格中建立了一个索引列用来方便查找。
...
...
@@ -40,7 +42,7 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"
* ''sudo apt install postgresql-server-dev-版本号 gcc g++ cmake make''
* ''git clone https://github.com/jaiminpan/pg_jieba''
* ''cd pg_jieba''
*
''
git submodule update --init --recursive
''
*
<code>
git submodule update --init --recursive
</code>
* ''mkdir build''
* ''cd build''
* ''cmake ..''
...
...
@@ -77,7 +79,7 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"
===== 已有安装的配置思路 =====
综上所述,大概的思路如下:
**警告:我之前按这个思路尝试配置时失败了。可能与 ''postgresql'' 本身的一些默认配置以及配置的各种依赖关系有关。<del>炸服务器时</del>尝试时请做好备份。请做好备份。请做好备份。**
==== 一、备份 pleroma ====
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment