monero-site/_i18n/ru/resources/user-guides/vps_run_node.md

48 lines
2.1 KiB
Markdown
Raw Normal View History

Simplify versioning system for user guides This new approach doesn't require version numbers and make easier for contributors to understand the status of the document. There are only 3 states: - Outdated: The page is outdated and might not work as expected - Untranslated: The page needs to be translated - Translation outdated: The page is translated, but the original (English) document has been updated To mark a guide as outdated, we change the boolean of the front matter entry 'outdated' in /resources/user-guides/GUIDE. If 'False', the guide is updated. If 'True' all versions of the guide (English included) will show a warning at the bottom of the page. The other 2 states are related to the status of the translated pages and we control them from the language-specific user guides: /_i18n/LANG/resources/user-guides/GUIDE. At the top of the page a snippet will include 2 parameters: - translated: "yes" if the page is translated, "no" if it's not. - translationOutdated: "yes" if the translation is outdated, "no" if it's not This new system aims to be simpler than the precedent, avoiding to compare versioning numbers and using a higher level system instead (yes, no, True, False). I also removed the middle way status 'only minor changes', because if there are only minor changes that don't affect the usability of the guide, we don't need to point it out. The old system was complex and people didn't use it. These changes will hopefully make things easier for translators and other contributors.
2020-05-03 13:38:01 +00:00
{% include disclaimer.html translated="yes" translationOutdated="no" %}
2018-09-30 10:53:21 +00:00
# monerod
`monerod` является демон-программой в составе дерева Monero. Это консольная программа, используемая для управления блокчейном. Если кошелек Bitcoin позволяет управлять как аккаунтом, так и блокчейном, то в Monero эти функции разделены: `monerod` работает с блокчейном, а `monero-wallet-cli` управляет аккаунтом.
Настоящее руководство подразумевает, что у вас уже создан VPS аккаунт, и вы используете SSH для получения доступа к серверной консоли.
## Linux, 64-bit (Ubuntu 16.04 LTS)
### Убедитесь в том, что порт 18080 открыт
`monerod` использует этот порт для связи с другими узлами сети Monero.
Пример использования `ufw`: `sudo ufw allow 18080`
Пример использования `iptables`: `sudo iptables -A INPUT -p tcp --dport 18080 -j ACCEPT`
### Загрузить актуальные двоичные файлы Monero Core
wget https://downloads.getmonero.org/linux64
### Создать директорию и извлечь файлы.
mkdir monero
tar -xjvf linux64 -C monero
### Запустить демон-программу
cd monero
./monerod
### Опции:
Открыть список всех опций и настроек:
./monerod --help
Запустить демон-программу фоновым процессом:
./monerod --detach
Следить за выходом `monerod` при запуске в качестве демон-программы:
tail -f ~/.bitmonero/bitmonero.log
Обезопасить VPS посредством автоматического обновления:
https://help.ubuntu.com/community/AutomaticSecurityUpdates