Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

478 строки
19 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2026, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2026-07-12 15:37+0000\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/quick-start.md:7
  19. msgid "Quick start"
  20. msgstr ""
  21. #: ../../../docs/quick-start.md:15
  22. msgid "This page explains how to use this Ansible playbook to install Matrix services on your server with a minimal set of core services."
  23. msgstr ""
  24. #: ../../../docs/quick-start.md:17
  25. msgid "We will be using `example.com` as the \"base domain\" in the following instruction."
  26. msgstr ""
  27. #: ../../../docs/quick-start.md:19
  28. msgid "By following the instruction on this page, you will set up:"
  29. msgstr ""
  30. #: ../../../docs/quick-start.md:21
  31. msgid "**your own Matrix server** on a `matrix.example.com` server, which is configured to present itself as `example.com`"
  32. msgstr ""
  33. #: ../../../docs/quick-start.md:22
  34. msgid "**your user account** like `@alice:example.com` on the server"
  35. msgstr ""
  36. #: ../../../docs/quick-start.md:23
  37. msgid "a **self-hosted Matrix client**, [Element Web](configuring-playbook-client-element-web.md) with the default subdomain at `element.example.com`"
  38. msgstr ""
  39. #: ../../../docs/quick-start.md:24
  40. msgid "Matrix delegation, so that your `matrix.example.com` server (presenting itself as `example.com`) can join the Matrix Federation and communicate with any other server in the Matrix network"
  41. msgstr ""
  42. #: ../../../docs/quick-start.md:26
  43. msgid "Please remember to replace `example.com` with your own domain before running any commands."
  44. msgstr ""
  45. #: ../../../docs/quick-start.md:28
  46. msgid "Prerequisites"
  47. msgstr ""
  48. #: ../../../docs/quick-start.md:30
  49. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Prerequisites](prerequisites.md)</sup>"
  50. msgstr ""
  51. #: ../../../docs/quick-start.md:32
  52. msgid "At first, **check prerequisites** and prepare for installation by setting up programs [on your own computer](prerequisites.md#your-local-computer) and [your server](prerequisites.md#server). You also need `root` access on your server (a user that could elevate to `root` via `sudo` also works)."
  53. msgstr ""
  54. #: ../../../docs/quick-start.md:34
  55. msgid "When preparing your server, make sure to check [the server specs you need](faq.md#what-kind-of-server-specs-do-i-need). We recommend starting with a server having at least 2GB of memory."
  56. msgstr ""
  57. #: ../../../docs/quick-start.md:40
  58. msgid "If you encounter an error during installation, please make sure that you have installed and configured programs correctly."
  59. msgstr ""
  60. #: ../../../docs/quick-start.md:42
  61. msgid "One of the main reasons of basic errors is using an incompatible version of required software such as Ansible. Take a look at [our guide about Ansible](ansible.md) for more information. In short: installing the latest available version is recommended."
  62. msgstr ""
  63. #: ../../../docs/quick-start.md:44
  64. msgid "Configure your DNS settings"
  65. msgstr ""
  66. #: ../../../docs/quick-start.md:46
  67. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Configuring DNS settings](configuring-dns.md)</sup>"
  68. msgstr ""
  69. #: ../../../docs/quick-start.md:48
  70. msgid "After installing and configuring prerequisites, you will need to **configure DNS records**."
  71. msgstr ""
  72. #: ../../../docs/quick-start.md:50
  73. msgid "To configure Matrix services in the default settings, go to your DNS service provider, and adjust DNS records as below."
  74. msgstr ""
  75. #: ../../../docs/quick-start.md:0
  76. msgid "Type"
  77. msgstr ""
  78. #: ../../../docs/quick-start.md:0
  79. msgid "Host"
  80. msgstr ""
  81. #: ../../../docs/quick-start.md:0
  82. msgid "Priority"
  83. msgstr ""
  84. #: ../../../docs/quick-start.md:0
  85. msgid "Weight"
  86. msgstr ""
  87. #: ../../../docs/quick-start.md:0
  88. msgid "Port"
  89. msgstr ""
  90. #: ../../../docs/quick-start.md:0
  91. msgid "Target"
  92. msgstr ""
  93. #: ../../../docs/quick-start.md:0
  94. msgid "A"
  95. msgstr ""
  96. #: ../../../docs/quick-start.md:0
  97. msgid "`matrix`"
  98. msgstr ""
  99. #: ../../../docs/quick-start.md:0
  100. msgid "-"
  101. msgstr ""
  102. #: ../../../docs/quick-start.md:0
  103. msgid "`matrix-server-IPv4`"
  104. msgstr ""
  105. #: ../../../docs/quick-start.md:0
  106. msgid "AAAA"
  107. msgstr ""
  108. #: ../../../docs/quick-start.md:0
  109. msgid "`matrix-server-IPv6`"
  110. msgstr ""
  111. #: ../../../docs/quick-start.md:0
  112. msgid "CNAME"
  113. msgstr ""
  114. #: ../../../docs/quick-start.md:0
  115. msgid "`element`"
  116. msgstr ""
  117. #: ../../../docs/quick-start.md:0
  118. msgid "`matrix.example.com`"
  119. msgstr ""
  120. #: ../../../docs/quick-start.md:58
  121. msgid "As the table illustrates, you need to create 2 subdomains (`matrix.example.com` and `element.example.com`) and point both of them to your server's IPv4/IPv6 address."
  122. msgstr ""
  123. #: ../../../docs/quick-start.md:60
  124. msgid "If you don't have IPv6 connectivity yet, you can skip the `AAAA` record. For more details about IPv6, see the [Configuring IPv6](./configuring-ipv6.md) documentation page."
  125. msgstr ""
  126. #: ../../../docs/quick-start.md:62
  127. msgid "It might take some time for the DNS records to propagate after creation."
  128. msgstr ""
  129. #: ../../../docs/quick-start.md:64
  130. msgid "**💡 Note**: if you are using Cloudflare DNS, make sure to disable the proxy and set all records to \"DNS only\""
  131. msgstr ""
  132. #: ../../../docs/quick-start.md:66
  133. msgid "Get the playbook"
  134. msgstr ""
  135. #: ../../../docs/quick-start.md:68
  136. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Getting the playbook](getting-the-playbook.md)</sup>"
  137. msgstr ""
  138. #: ../../../docs/quick-start.md:70
  139. msgid "Next, let's **get the playbook's source code**."
  140. msgstr ""
  141. #: ../../../docs/quick-start.md:72
  142. msgid "We recommend to do so with [git](https://git-scm.com/) as it enables you to keep it up to date with the latest source code. While it is possible to download the playbook as a ZIP archive, it is not recommended."
  143. msgstr ""
  144. #: ../../../docs/quick-start.md:74
  145. msgid "To get the playbook with git, install git on your computer, go to a directory, and run the command:"
  146. msgstr ""
  147. #: ../../../docs/quick-start.md:80
  148. msgid "It will fetch the playbook to a new `matrix-docker-ansible-deploy` directory underneath the directory you are currently in."
  149. msgstr ""
  150. #: ../../../docs/quick-start.md:82
  151. msgid "Configure the playbook"
  152. msgstr ""
  153. #: ../../../docs/quick-start.md:84
  154. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Configuring the playbook](configuring-playbook.md)</sup>"
  155. msgstr ""
  156. #: ../../../docs/quick-start.md:86
  157. msgid "Now that the playbook was fetched, it is time to **configure** it per your needs."
  158. msgstr ""
  159. #: ../../../docs/quick-start.md:88
  160. msgid "To install Matrix services with this playbook, you would at least need 2 configuration files."
  161. msgstr ""
  162. #: ../../../docs/quick-start.md:90
  163. msgid "For your convenience, we have prepared example files of them ([`vars.yml`](../examples/vars.yml) and [`hosts`](../examples/hosts))."
  164. msgstr ""
  165. #: ../../../docs/quick-start.md:92
  166. msgid "To start quickly based on these example files, go into the `matrix-docker-ansible-deploy` directory and initialize your configuration, either automatically or manually."
  167. msgstr ""
  168. #: ../../../docs/quick-start.md:94
  169. msgid "To initialize it automatically (with the base domain and server address pre-filled and secrets generated for you), run:"
  170. msgstr ""
  171. #: ../../../docs/quick-start.md:96
  172. msgid "either: `just add-inventory-host example.com 1.2.3.4` (if you have the [`just`](just.md) tool)"
  173. msgstr ""
  174. #: ../../../docs/quick-start.md:97
  175. msgid "or: `make add-inventory-host domain=example.com ip=1.2.3.4` (if you have the `make` program)"
  176. msgstr ""
  177. #: ../../../docs/quick-start.md:99
  178. msgid "… where `example.com` is your \"base domain\" (not `matrix.example.com`) and `1.2.3.4` is your server's external IP address (or domain name)."
  179. msgstr ""
  180. #: ../../../docs/quick-start.md:101
  181. msgid "Given a base domain of `example.com`, this creates:"
  182. msgstr ""
  183. #: ../../../docs/quick-start.md:103
  184. msgid "an entry for `matrix.example.com` (the Matrix server's default hostname: `matrix.` + your base domain) in the inventory hosts file (`inventory/hosts`)"
  185. msgstr ""
  186. #: ../../../docs/quick-start.md:104
  187. msgid "a configuration file (`inventory/host_vars/matrix.example.com/vars.yml`) containing `matrix_domain: example.com` and automatically generated secrets"
  188. msgstr ""
  189. #: ../../../docs/quick-start.md:106
  190. msgid "Afterward, edit these 2 files to adjust them further, as necessary. Existing configuration is never overwritten (the command refuses to run if the host is already in your inventory), so it can also be used for adding more hosts later."
  191. msgstr ""
  192. #: ../../../docs/quick-start.md:108
  193. msgid "To initialize it manually, follow the instructions below:"
  194. msgstr ""
  195. #: ../../../docs/quick-start.md:110
  196. msgid "Create a directory to hold your configuration: `mkdir -p inventory/host_vars/matrix.example.com` where `example.com` is your \"base domain\""
  197. msgstr ""
  198. #: ../../../docs/quick-start.md:111
  199. msgid "Copy the sample configuration file: `cp examples/vars.yml inventory/host_vars/matrix.example.com/vars.yml`"
  200. msgstr ""
  201. #: ../../../docs/quick-start.md:112
  202. msgid "Copy the sample inventory hosts file: `cp examples/hosts inventory/hosts`"
  203. msgstr ""
  204. #: ../../../docs/quick-start.md:113
  205. msgid "Edit the configuration file (`inventory/host_vars/matrix.example.com/vars.yml`)"
  206. msgstr ""
  207. #: ../../../docs/quick-start.md:114
  208. msgid "Edit the inventory hosts file (`inventory/hosts`)"
  209. msgstr ""
  210. #: ../../../docs/quick-start.md:116
  211. msgid "Before editing these 2 files, make sure to read explanations on them to understand what needs to be configured."
  212. msgstr ""
  213. #: ../../../docs/quick-start.md:118
  214. msgid "**💡 Notes:**"
  215. msgstr ""
  216. #: ../../../docs/quick-start.md:119
  217. msgid "If you are not in control of anything on the base domain, you would need to set additional configuration on `vars.yml`. For more information, see [How do I install on matrix.example.com without involving the base domain?](faq.md#how-do-i-install-on-matrix-example-com-without-involving-the-base-domain) on our FAQ."
  218. msgstr ""
  219. #: ../../../docs/quick-start.md:120
  220. msgid "Certain configuration decisions (like the base domain configured in `matrix_domain` and homeserver implementation configured in `matrix_homeserver_implementation`) are final. If you make the wrong choice and wish to change it, you'll have to run the Uninstalling step and start over."
  221. msgstr ""
  222. #: ../../../docs/quick-start.md:121
  223. msgid "Instead of configuring a lot of things all at once, we recommend starting with the basic (default) settings in order to get yourself familiar with how the playbook works. After making sure that everything works as expected, you can add (and remove) advanced settings / features and run the playbook as many times as you wish."
  224. msgstr ""
  225. #: ../../../docs/quick-start.md:123
  226. msgid "Install"
  227. msgstr ""
  228. #: ../../../docs/quick-start.md:125
  229. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Installing](installing.md)</sup>"
  230. msgstr ""
  231. #: ../../../docs/quick-start.md:127
  232. msgid "After editing `vars.yml` and `hosts` files, let's start the **installation** procedure."
  233. msgstr ""
  234. #: ../../../docs/quick-start.md:129
  235. msgid "Update Ansible roles"
  236. msgstr ""
  237. #: ../../../docs/quick-start.md:131
  238. msgid "Before installing, you need to update the Ansible roles that this playbook uses and fetches from outside."
  239. msgstr ""
  240. #: ../../../docs/quick-start.md:133
  241. msgid "To update your playbook directory and all upstream Ansible roles, run:"
  242. msgstr ""
  243. #: ../../../docs/quick-start.md:135
  244. msgid "either: `just update`"
  245. msgstr ""
  246. #: ../../../docs/quick-start.md:136
  247. msgid "or: a combination of `git pull` and `just roles` (or `make roles` if you have `make` program on your computer instead of `just`)"
  248. msgstr ""
  249. #: ../../../docs/quick-start.md:138
  250. msgid "If you don't have either `just` tool or `make` program, you can run the `ansible-galaxy` tool directly after updating the playbook: `git pull; rm -rf roles/galaxy; ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force`"
  251. msgstr ""
  252. #: ../../../docs/quick-start.md:140
  253. msgid "Run installation command"
  254. msgstr ""
  255. #: ../../../docs/quick-start.md:142
  256. msgid "Then, run the command below to start installation:"
  257. msgstr ""
  258. #: ../../../docs/quick-start.md:148
  259. msgid "If you **don't** use SSH keys for authentication, but rather a regular password, you may need to add `--ask-pass` to the command."
  260. msgstr ""
  261. #: ../../../docs/quick-start.md:150
  262. msgid "If you **do** use SSH keys for authentication, **and** use a non-root user to *become* root (sudo), you may need to add `-K` (`--ask-become-pass`) to the command."
  263. msgstr ""
  264. #: ../../../docs/quick-start.md:152
  265. msgid "Wait until the command completes. If it's all green, everything should be running properly."
  266. msgstr ""
  267. #: ../../../docs/quick-start.md:154
  268. msgid "Create your user account"
  269. msgstr ""
  270. #: ../../../docs/quick-start.md:156
  271. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Registering users](registering-users.md)</sup>"
  272. msgstr ""
  273. #: ../../../docs/quick-start.md:158
  274. msgid "As you have configured your brand new server and the client, you need to **create your user account** on your Matrix server."
  275. msgstr ""
  276. #: ../../../docs/quick-start.md:160
  277. msgid "To create your user account (as an administrator of the server) via this Ansible playbook, run the command below on your local computer."
  278. msgstr ""
  279. #: ../../../docs/quick-start.md:162
  280. msgid "**💡 Notes**:"
  281. msgstr ""
  282. #: ../../../docs/quick-start.md:163
  283. msgid "Make sure to adjust `YOUR_USERNAME_HERE` and `YOUR_PASSWORD_HERE`"
  284. msgstr ""
  285. #: ../../../docs/quick-start.md:164
  286. msgid "For `YOUR_USERNAME_HERE`, use a plain username like `alice`, not your full ID (`@alice:example.com`)"
  287. msgstr ""
  288. #: ../../../docs/quick-start.md:176
  289. msgid "Finalize server installation"
  290. msgstr ""
  291. #: ../../../docs/quick-start.md:178
  292. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Server Delegation](howto-server-delegation.md)</sup>"
  293. msgstr ""
  294. #: ../../../docs/quick-start.md:180
  295. msgid "Now that you've configured Matrix services and your user account, you need to **finalize the installation process** by [setting up Matrix delegation (redirection)](howto-server-delegation.md), so that your Matrix server (`matrix.example.com`) can present itself as the base domain (`example.com`) in the Matrix network."
  296. msgstr ""
  297. #: ../../../docs/quick-start.md:182
  298. msgid "**This is required for federation to work!** Without a proper configuration, your server will effectively not be part of the Matrix network."
  299. msgstr ""
  300. #: ../../../docs/quick-start.md:184
  301. msgid "To configure the delegation, you have these two options. Choose one of them according to your situation."
  302. msgstr ""
  303. #: ../../../docs/quick-start.md:186
  304. msgid "If you can afford to point the base domain at the Matrix server, follow the instruction below which guides you into [serving the base domain](configuring-playbook-base-domain-serving.md) from the integrated web server."
  305. msgstr ""
  306. #: ../../../docs/quick-start.md:187
  307. msgid "Alternatively, if you're using the base domain for other purposes and cannot point it to the Matrix server (and thus cannot \"serve the base domain\" from it), you most likely need to [manually install well-known files on the base domain's server](configuring-well-known.md#manually-installing-well-known-files-on-the-base-domains-server)."
  308. msgstr ""
  309. #: ../../../docs/quick-start.md:189
  310. msgid "To have the base domain served from the integrated web server, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  311. msgstr ""
  312. #: ../../../docs/quick-start.md:195
  313. msgid "After configuring the playbook, run the command below and wait until it finishes:"
  314. msgstr ""
  315. #: ../../../docs/quick-start.md:201
  316. msgid "💡 Running the `install-matrix-static-files` playbook tag (as done here) is an optimized version of running [the full setup command](#run-installation-command)."
  317. msgstr ""
  318. #: ../../../docs/quick-start.md:203
  319. msgid "After the command finishes, you can also check whether your server federates with the Matrix network by using the [Federation Tester](https://federationtester.matrix.org/) against your base domain (`example.com`), not the `matrix.example.com` subdomain."
  320. msgstr ""
  321. #: ../../../docs/quick-start.md:205
  322. msgid "Re-run the full setup command any time"
  323. msgstr ""
  324. #: ../../../docs/quick-start.md:207
  325. msgid "If you think something is wrong with the server configuration, feel free to re-run the setup command any time:"
  326. msgstr ""
  327. #: ../../../docs/quick-start.md:213
  328. msgid "Log in to your user account"
  329. msgstr ""
  330. #: ../../../docs/quick-start.md:215
  331. msgid "Finally, let's make sure that you can log in to the created account with the specified password."
  332. msgstr ""
  333. #: ../../../docs/quick-start.md:217
  334. msgid "You should be able to log in to it with your own [Element Web](configuring-playbook-client-element-web.md) client which you have set up at `element.example.com` by running the playbook. Open the URL (`https://element.example.com`) in a web browser and enter your credentials to log in."
  335. msgstr ""
  336. #: ../../../docs/quick-start.md:219
  337. msgid "**If you successfully logged in to your account, the installation and configuration have completed successfully**🎉"
  338. msgstr ""
  339. #: ../../../docs/quick-start.md:221
  340. msgid "Come say Hi👋 in our support room — [#matrix-docker-ansible-deploy:devture.com](https://matrix.to/#/#matrix-docker-ansible-deploy:devture.com). You might learn something or get to help someone else new to Matrix hosting."
  341. msgstr ""
  342. #: ../../../docs/quick-start.md:223
  343. msgid "Things to do next"
  344. msgstr ""
  345. #: ../../../docs/quick-start.md:225
  346. msgid "Once you get familiar with the playbook, you might probably want to set up additional services such as a bridge on your server."
  347. msgstr ""
  348. #: ../../../docs/quick-start.md:227
  349. msgid "As this page intends to be a quick start guide which explains how to start the core Matrix services, it does not cover a topic like how to set them up. Take a look at the list of [things to do next](installing.md#things-to-do-next) to learn more."
  350. msgstr ""
  351. #: ../../../docs/quick-start.md:229
  352. msgid "⚠️Keep the playbook and services up-to-date"
  353. msgstr ""
  354. #: ../../../docs/quick-start.md:231
  355. msgid "While this playbook helps you to set up Matrix services and maintain them, it will **not** automatically run the maintenance task for you. You will need to update the playbook and re-run it **manually**."
  356. msgstr ""
  357. #: ../../../docs/quick-start.md:233
  358. msgid "Since it is unsafe to keep outdated services running on the server connected to the internet, please consider to update the playbook and re-run it periodically, in order to keep the services up-to-date."
  359. msgstr ""
  360. #: ../../../docs/quick-start.md:235
  361. msgid "For more information about upgrading or maintaining services with the playbook, take a look at this page: [Upgrading the Matrix services](maintenance-upgrading-services.md)"
  362. msgstr ""