Mercurial > hg > nginx-site
annotate xml/ru/docs/njs/install.xml @ 2482:9bf87153b1b3
Added Release Notes for njs-0.3.8.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 21 Jan 2020 15:54:31 +0000 |
parents | 2aad23d07d96 |
children | 33468af2eaf7 |
rev | line source |
---|---|
2249
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
2 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
3 <!-- |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
4 Copyright (C) Nginx, Inc. |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
5 --> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
6 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
8 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
9 <article name="Загрузка и установка" |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
10 link="/ru/docs/njs/install.html" |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
11 lang="ru" |
2459
2aad23d07d96
Clarified procedure for building njs modules.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2249
diff
changeset
|
12 rev="2"> |
2249
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
13 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
14 <section id="install_package" name="Установка пакета Linux"> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
15 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
16 <para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
17 Для установки модулей njs на Linux могут быть использованы |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
18 <link doc="../../linux_packages.xml" id="dynmodules">пакеты</link>: |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
19 <list type="bullet"> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
20 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
21 <listitem> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
22 <literal>nginx-module-njs</literal> — |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
23 <link doc="../ngx_core_module.xml" id="load_module">динамические</link> модули |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
24 njs |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
25 </listitem> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
26 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
27 <listitem> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
28 <literal>nginx-module-njs-dbg</literal> — debug-символы для |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
29 пакета <literal>nginx-module-njs</literal> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
30 </listitem> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
31 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
32 </list> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
33 </para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
34 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
35 </section> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
36 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
37 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
38 <section id="install_sources" name="Установка из исходных файлов"> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
39 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
40 <para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
41 <link url="http://hg.nginx.org/njs">Репозиторий</link> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
42 с исходным кодом njs можно клонировать следующей командой: |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
43 (необходим клиент <link url="https://www.mercurial-scm.org">Mercurial</link>): |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
44 <example> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
45 hg clone http://hg.nginx.org/njs |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
46 </example> |
2459
2aad23d07d96
Clarified procedure for building njs modules.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2249
diff
changeset
|
47 Затем модули необходимо собрать из |
2aad23d07d96
Clarified procedure for building njs modules.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2249
diff
changeset
|
48 корневого каталога <link doc="../configure.xml">nginx</link> с помощью |
2249
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
49 конфигурационного параметра <literal>--add-module</literal>: |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
50 <example> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
51 ./configure --add-module=<value>path-to-njs</value>/nginx |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
52 </example> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
53 Модули также можно собрать как |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
54 <link doc="../ngx_core_module.xml" id="load_module">динамические</link>: |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
55 <example> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
56 ./configure --add-dynamic-module=<value>path-to-njs</value>/nginx |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
57 </example> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
58 </para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
59 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
60 <para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
61 Чтобы собрать только <link doc="cli.xml">утилиту</link> командной строки njs |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
62 необходимо запустить |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
63 команды <literal>./configure</literal> и <literal>make njs</literal> |
2459
2aad23d07d96
Clarified procedure for building njs modules.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2249
diff
changeset
|
64 из корневого каталога njs. |
2249
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
65 Утилита доступна как <literal>./build/njs</literal>. |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
66 </para> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
67 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
68 </section> |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
69 |
41ccd87cdb89
Added njs installation procedure in Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
70 </article> |