@@ -2598,12 +2598,12 @@ <h3 id="24-nodejs">2.4 安装配置 nodejs<a class="headerlink" href="#24-nodej
25982598< div class ="admonition abstract ">
25992599< p > 执行命令安装 nodejs。
26002600< div class ="highlight "> < pre > < span > </ span > < code > # 下载并安装 nodejs,node 版本可能会变化,如版本升级,请更新连接
2601- wget https://nodejs.org/dist/latest-v22.x/node-v22.21.0 -linux-x64.tar.gz
2602- tar xvf node-v22.21.0 -linux-x64.tar.gz
2603- mv node-v22.21.0 -linux-x64 /opt/node-v22.21.0
2601+ wget https://nodejs.org/dist/latest-v22.x/node-v22.21.1 -linux-x64.tar.gz
2602+ tar xvf node-v22.21.1 -linux-x64.tar.gz
2603+ mv node-v22.21.1 -linux-x64 /opt/node-v22.21.1
26042604
26052605# 添加环境变量
2606- echo "export PATH=\$PATH:/opt/node-v22.21.0 /bin" >> ~/.bashrc
2606+ echo "export PATH=\$PATH:/opt/node-v22.21.1 /bin" >> ~/.bashrc
26072607
26082608# 使环境变量生效
26092609source ~/.bashrc
@@ -2612,38 +2612,38 @@ <h3 id="24-nodejs">2.4 安装配置 nodejs<a class="headerlink" href="#24-nodej
26122612< div class ="admonition abstract ">
26132613< p > 验证 nodejs。
26142614< div class ="highlight "> < pre > < span > </ span > < code > root@iZt4ndy6544y6f1i99ahw0Z:~# node --version
2615- v22.21.0
2615+ v22.21.1
26162616
26172617root@iZt4ndy6544y6f1i99ahw0Z:~# npm version
26182618{
2619- npm: '10.9.4',
2620- node: '22.21.0 ',
2621- acorn: '8.15.0',
2622- ada: '2.9.2',
2623- amaro: '1.1.4',
2624- ares: '1.34.5',
2625- brotli: '1.1.0',
2626- cjs_module_lexer: '2.1.0',
2627- cldr: '47.0',
2628- icu: '77.1',
2629- llhttp: '9.3.0',
2630- modules: '127',
2631- napi: '10',
2632- nbytes: '0.1.1',
2633- ncrypto: '0.0.1',
2634- nghttp2: '1.64.0',
2635- openssl: '3.5.4',
2636- simdjson: '3.13.0',
2637- simdutf: '6.4.2',
2638- sqlite: '3.50.4',
2639- tz: '2025b',
2640- undici: '6.22.0',
2641- unicode: '16.0',
2642- uv: '1.51.0',
2643- uvwasi: '0.0.23',
2644- v8: '12.4.254.21-node.33',
2645- zlib: '1.3.1-470d3a2',
2646- zstd: '1.5.7'
2619+ npm: '10.9.4',
2620+ node: '22.21.1 ',
2621+ acorn: '8.15.0',
2622+ ada: '2.9.2',
2623+ amaro: '1.1.4',
2624+ ares: '1.34.5',
2625+ brotli: '1.1.0',
2626+ cjs_module_lexer: '2.1.0',
2627+ cldr: '47.0',
2628+ icu: '77.1',
2629+ llhttp: '9.3.0',
2630+ modules: '127',
2631+ napi: '10',
2632+ nbytes: '0.1.1',
2633+ ncrypto: '0.0.1',
2634+ nghttp2: '1.64.0',
2635+ openssl: '3.5.4',
2636+ simdjson: '3.13.0',
2637+ simdutf: '6.4.2',
2638+ sqlite: '3.50.4',
2639+ tz: '2025b',
2640+ undici: '6.22.0',
2641+ unicode: '16.0',
2642+ uv: '1.51.0',
2643+ uvwasi: '0.0.23',
2644+ v8: '12.4.254.21-node.33',
2645+ zlib: '1.3.1-470d3a2',
2646+ zstd: '1.5.7'
26472647}
26482648</ code > </ pre > </ div > </ p >
26492649</ div >
@@ -2720,6 +2720,7 @@ <h4 id="322">3.2.2 配置内置向量模型<a class="headerlink" href="#322" tit
27202720< h4 id ="323-oracle-instant-client "> 3.2.3 Oracle Instant Client 安装< a class ="headerlink " href ="#323-oracle-instant-client " title ="Permanent link "> ¶</ a > </ h4 >
27212721< div class ="admonition abstract ">
27222722< p > 为了支持 Oracle 11 以及 thick 模型,我们需要安装 Oracle Instant Client。可以到 Oracle 官网下载对应的版本,地址是 < a href ="https://www.oracle.com/database/technologies/instant-client/downloads.html "> https://www.oracle.com/database/technologies/instant-client/downloads.html</ a > </ p >
2723+ < p > 若不需要使用 Oracle thick 模式的话,可以略过此步骤。</ p >
27232724< p > 以 Ubuntu 为例,安装示例如下:
27242725< div class ="highlight "> < pre > < span > </ span > < code > root@iZt4n9ii50pwh74bs5bhuzZ:~#< span class ="w "> </ span > wget< span class ="w "> </ span > https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip
27252726--2025-11-05< span class ="w "> </ span > < span class ="m "> 17</ span > :12:57--< span class ="w "> </ span > https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip
@@ -2763,6 +2764,7 @@ <h3 id="33">3.3 源码编译<a class="headerlink" href="#33" title="Permanent li
27632764</ div >
27642765< h3 id ="34 "> 3.4 运行< a class ="headerlink " href ="#34 " title ="Permanent link "> ¶</ a > </ h3 >
27652766< div class ="admonition abstract ">
2767+ < p > 进入到 backend 文件夹下,执行下面的命令:</ p >
27662768< div class ="highlight "> < pre > < span > </ span > < code > source .venv/bin/activate
27672769
27682770# 启动 g2-ssr,用来为 mcp 生成图形(可选)
0 commit comments