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

434 строки
17 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2025-01-27 09:54+0200\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/quick-start.md:1
  23. msgid "Quick start"
  24. msgstr ""
  25. #: ../../../docs/quick-start.md:9
  26. msgid "This page explains how to use this Ansible playbook to install Matrix services on your server with a minimal set of core services."
  27. msgstr ""
  28. #: ../../../docs/quick-start.md:11
  29. msgid "We will be using `example.com` as the \"base domain\" in the following instruction."
  30. msgstr ""
  31. #: ../../../docs/quick-start.md:13
  32. msgid "By following the instruction on this page, you will set up:"
  33. msgstr ""
  34. #: ../../../docs/quick-start.md:15
  35. msgid "**your own Matrix server** on a `matrix.example.com` server, which is configured to present itself as `example.com`"
  36. msgstr ""
  37. #: ../../../docs/quick-start.md:16
  38. msgid "**your user account** like `@alice:example.com` on the server"
  39. msgstr ""
  40. #: ../../../docs/quick-start.md:17
  41. msgid "a **self-hosted Matrix client**, [Element Web](configuring-playbook-client-element-web.md) with the default subdomain at `element.example.com`"
  42. msgstr ""
  43. #: ../../../docs/quick-start.md:18
  44. 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"
  45. msgstr ""
  46. #: ../../../docs/quick-start.md:20
  47. msgid "Please remember to replace `example.com` with your own domain before running any commands."
  48. msgstr ""
  49. #: ../../../docs/quick-start.md:22
  50. msgid "Prerequisites"
  51. msgstr ""
  52. #: ../../../docs/quick-start.md:24
  53. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Prerequisites](prerequisites.md)</sup>"
  54. msgstr ""
  55. #: ../../../docs/quick-start.md:26
  56. 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)."
  57. msgstr ""
  58. #: ../../../docs/quick-start.md:28
  59. 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."
  60. msgstr ""
  61. #: ../../../docs/quick-start.md:34
  62. msgid "If you encounter an error during installation, please make sure that you have installed and configured programs correctly."
  63. msgstr ""
  64. #: ../../../docs/quick-start.md:36
  65. 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."
  66. msgstr ""
  67. #: ../../../docs/quick-start.md:38
  68. msgid "Configure your DNS settings"
  69. msgstr ""
  70. #: ../../../docs/quick-start.md:40
  71. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Configuring your DNS settings](configuring-dns.md)</sup>"
  72. msgstr ""
  73. #: ../../../docs/quick-start.md:42
  74. msgid "After installing and configuring prerequisites, you will need to **configure DNS records**."
  75. msgstr ""
  76. #: ../../../docs/quick-start.md:44
  77. msgid "To configure Matrix services in the default settings, go to your DNS service provider, and adjust DNS records as below."
  78. msgstr ""
  79. #: ../../../docs/quick-start.md
  80. msgid "Type"
  81. msgstr ""
  82. #: ../../../docs/quick-start.md
  83. msgid "Host"
  84. msgstr ""
  85. #: ../../../docs/quick-start.md
  86. msgid "Priority"
  87. msgstr ""
  88. #: ../../../docs/quick-start.md
  89. msgid "Weight"
  90. msgstr ""
  91. #: ../../../docs/quick-start.md
  92. msgid "Port"
  93. msgstr ""
  94. #: ../../../docs/quick-start.md
  95. msgid "Target"
  96. msgstr ""
  97. #: ../../../docs/quick-start.md
  98. msgid "A"
  99. msgstr ""
  100. #: ../../../docs/quick-start.md
  101. msgid "`matrix`"
  102. msgstr ""
  103. #: ../../../docs/quick-start.md
  104. msgid "-"
  105. msgstr ""
  106. #: ../../../docs/quick-start.md
  107. msgid "`matrix-server-IP`"
  108. msgstr ""
  109. #: ../../../docs/quick-start.md
  110. msgid "CNAME"
  111. msgstr ""
  112. #: ../../../docs/quick-start.md
  113. msgid "`element`"
  114. msgstr ""
  115. #: ../../../docs/quick-start.md
  116. msgid "`matrix.example.com`"
  117. msgstr ""
  118. #: ../../../docs/quick-start.md:51
  119. 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 IP address (DNS `A` record or `CNAME` record is fine)."
  120. msgstr ""
  121. #: ../../../docs/quick-start.md:53
  122. msgid "It might take some time for the DNS records to propagate after creation."
  123. msgstr ""
  124. #: ../../../docs/quick-start.md:55
  125. msgid "**💡 Note**: if you are using Cloudflare DNS, make sure to disable the proxy and set all records to \"DNS only\""
  126. msgstr ""
  127. #: ../../../docs/quick-start.md:57
  128. msgid "Get the playbook"
  129. msgstr ""
  130. #: ../../../docs/quick-start.md:59
  131. 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>"
  132. msgstr ""
  133. #: ../../../docs/quick-start.md:61
  134. msgid "Next, let's **get the playbook's source code**."
  135. msgstr ""
  136. #: ../../../docs/quick-start.md:63
  137. 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."
  138. msgstr ""
  139. #: ../../../docs/quick-start.md:65
  140. msgid "To get the playbook with git, install git on your computer, go to a directory, and run the command:"
  141. msgstr ""
  142. #: ../../../docs/quick-start.md:71
  143. msgid "It will fetch the playbook to a new `matrix-docker-ansible-deploy` directory underneath the directory you are currently in."
  144. msgstr ""
  145. #: ../../../docs/quick-start.md:73
  146. msgid "Configure the playbook"
  147. msgstr ""
  148. #: ../../../docs/quick-start.md:75
  149. 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>"
  150. msgstr ""
  151. #: ../../../docs/quick-start.md:77
  152. msgid "Now that the playbook was fetched, it is time to **configure** it per your needs."
  153. msgstr ""
  154. #: ../../../docs/quick-start.md:79
  155. msgid "To install Matrix services with this playbook, you would at least need 2 configuration files."
  156. msgstr ""
  157. #: ../../../docs/quick-start.md:81
  158. msgid "For your convenience, we have prepared example files of them ([`vars.yml`](../examples/vars.yml) and [`hosts`](../examples/hosts))."
  159. msgstr ""
  160. #: ../../../docs/quick-start.md:83
  161. msgid "To start quickly based on these example files, go into the `matrix-docker-ansible-deploy` directory and follow the instructions below:"
  162. msgstr ""
  163. #: ../../../docs/quick-start.md:85
  164. msgid "Create a directory to hold your configuration: `mkdir -p inventory/host_vars/matrix.example.com` where `example.com` is your \"base domain\""
  165. msgstr ""
  166. #: ../../../docs/quick-start.md:86
  167. msgid "Copy the sample configuration file: `cp examples/vars.yml inventory/host_vars/matrix.example.com/vars.yml`"
  168. msgstr ""
  169. #: ../../../docs/quick-start.md:87
  170. msgid "Copy the sample inventory hosts file: `cp examples/hosts inventory/hosts`"
  171. msgstr ""
  172. #: ../../../docs/quick-start.md:88
  173. msgid "Edit the configuration file (`inventory/host_vars/matrix.example.com/vars.yml`)"
  174. msgstr ""
  175. #: ../../../docs/quick-start.md:89
  176. msgid "Edit the inventory hosts file (`inventory/hosts`)"
  177. msgstr ""
  178. #: ../../../docs/quick-start.md:91
  179. msgid "Before editing these 2 files, make sure to read explanations on them to understand what needs to be configured."
  180. msgstr ""
  181. #: ../../../docs/quick-start.md:93
  182. msgid "**💡 Notes:**"
  183. msgstr ""
  184. #: ../../../docs/quick-start.md:94
  185. 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."
  186. msgstr ""
  187. #: ../../../docs/quick-start.md:95
  188. 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."
  189. msgstr ""
  190. #: ../../../docs/quick-start.md:96
  191. 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."
  192. msgstr ""
  193. #: ../../../docs/quick-start.md:98
  194. msgid "Install"
  195. msgstr ""
  196. #: ../../../docs/quick-start.md:100
  197. msgid "<sup>This section is optimized for this quick-start guide and is derived from the following full-documentation page: [Installing](installing.md)</sup>"
  198. msgstr ""
  199. #: ../../../docs/quick-start.md:102
  200. msgid "After editing `vars.yml` and `hosts` files, let's start the **installation** procedure."
  201. msgstr ""
  202. #: ../../../docs/quick-start.md:104
  203. msgid "Update Ansible roles"
  204. msgstr ""
  205. #: ../../../docs/quick-start.md:106
  206. msgid "Before installing, you need to update the Ansible roles that this playbook uses and fetches from outside."
  207. msgstr ""
  208. #: ../../../docs/quick-start.md:108
  209. msgid "To update your playbook directory and all upstream Ansible roles, run:"
  210. msgstr ""
  211. #: ../../../docs/quick-start.md:110
  212. msgid "either: `just update`"
  213. msgstr ""
  214. #: ../../../docs/quick-start.md:111
  215. msgid "or: a combination of `git pull` and `just roles` (or `make roles` if you have `make` program on your computer instead of `just`)"
  216. msgstr ""
  217. #: ../../../docs/quick-start.md:113
  218. msgid "If you don't have either `just` tool or `make` program, you can run the `ansible-galaxy` tool directly: `rm -rf roles/galaxy; ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force`"
  219. msgstr ""
  220. #: ../../../docs/quick-start.md:115
  221. msgid "Run installation command"
  222. msgstr ""
  223. #: ../../../docs/quick-start.md:117
  224. msgid "Then, run the command below to start installation:"
  225. msgstr ""
  226. #: ../../../docs/quick-start.md:123
  227. 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."
  228. msgstr ""
  229. #: ../../../docs/quick-start.md:125
  230. 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."
  231. msgstr ""
  232. #: ../../../docs/quick-start.md:127
  233. msgid "Wait until the command completes. If it's all green, everything should be running properly."
  234. msgstr ""
  235. #: ../../../docs/quick-start.md:129
  236. msgid "Create your user account"
  237. msgstr ""
  238. #: ../../../docs/quick-start.md:131
  239. 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>"
  240. msgstr ""
  241. #: ../../../docs/quick-start.md:133
  242. msgid "As you have configured your brand new server and the client, you need to **create your user account** on your Matrix server."
  243. msgstr ""
  244. #: ../../../docs/quick-start.md:135
  245. msgid "To create your user account (as an administrator of the server) via this Ansible playbook, run the command below on your local computer."
  246. msgstr ""
  247. #: ../../../docs/quick-start.md:137
  248. msgid "**💡 Notes**:"
  249. msgstr ""
  250. #: ../../../docs/quick-start.md:138
  251. msgid "Make sure to adjust `YOUR_USERNAME_HERE` and `YOUR_PASSWORD_HERE`"
  252. msgstr ""
  253. #: ../../../docs/quick-start.md:139
  254. msgid "For `YOUR_USERNAME_HERE`, use a plain username like `alice`, not your full ID (`@alice:example.com`)"
  255. msgstr ""
  256. #: ../../../docs/quick-start.md:151
  257. msgid "Finalize server installation"
  258. msgstr ""
  259. #: ../../../docs/quick-start.md:153
  260. 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>"
  261. msgstr ""
  262. #: ../../../docs/quick-start.md:155
  263. 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."
  264. msgstr ""
  265. #: ../../../docs/quick-start.md:157
  266. msgid "**This is required for federation to work!** Without a proper configuration, your server will effectively not be part of the Matrix network."
  267. msgstr ""
  268. #: ../../../docs/quick-start.md:159
  269. msgid "To configure the delegation, you have these two options. Choose one of them according to your situation."
  270. msgstr ""
  271. #: ../../../docs/quick-start.md:161
  272. 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."
  273. msgstr ""
  274. #: ../../../docs/quick-start.md:162
  275. 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)."
  276. msgstr ""
  277. #: ../../../docs/quick-start.md:164
  278. 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:"
  279. msgstr ""
  280. #: ../../../docs/quick-start.md:170
  281. msgid "After configuring the playbook, run the command below and wait until it finishes:"
  282. msgstr ""
  283. #: ../../../docs/quick-start.md:176
  284. 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)."
  285. msgstr ""
  286. #: ../../../docs/quick-start.md:178
  287. 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."
  288. msgstr ""
  289. #: ../../../docs/quick-start.md:180
  290. msgid "Re-run the full setup command any time"
  291. msgstr ""
  292. #: ../../../docs/quick-start.md:182
  293. msgid "If you think something is wrong with the server configuration, feel free to re-run the setup command any time:"
  294. msgstr ""
  295. #: ../../../docs/quick-start.md:188
  296. msgid "Log in to your user account"
  297. msgstr ""
  298. #: ../../../docs/quick-start.md:190
  299. msgid "Finally, let's make sure that you can log in to the created account with the specified password."
  300. msgstr ""
  301. #: ../../../docs/quick-start.md:192
  302. 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."
  303. msgstr ""
  304. #: ../../../docs/quick-start.md:194
  305. msgid "**If you successfully logged in to your account, installing and configuring is complete**🎉"
  306. msgstr ""
  307. #: ../../../docs/quick-start.md:196
  308. 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."
  309. msgstr ""
  310. #: ../../../docs/quick-start.md:198
  311. msgid "Things to do next"
  312. msgstr ""
  313. #: ../../../docs/quick-start.md:200
  314. msgid "Once you get familiar with the playbook, you might probably want to set up additional services such as a bridge on your server."
  315. msgstr ""
  316. #: ../../../docs/quick-start.md:202
  317. 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."
  318. msgstr ""
  319. #: ../../../docs/quick-start.md:204
  320. msgid "⚠️Keep the playbook and services up-to-date"
  321. msgstr ""
  322. #: ../../../docs/quick-start.md:206
  323. 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**."
  324. msgstr ""
  325. #: ../../../docs/quick-start.md:208
  326. 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."
  327. msgstr ""
  328. #: ../../../docs/quick-start.md:210
  329. msgid "For more information about upgrading or maintaining services with the playbook, take at look at this page: [Upgrading the Matrix services](maintenance-upgrading-services.md)"
  330. msgstr ""