<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Как установить делегативную ноду на VPS]]></title><description><![CDATA[<p dir="auto">Рекомендуемые минимальные параметры сервера<br />
2 CPU 3.4Ghz / HDD SSD 60GB / RAM 4Gb / OS Ubuntu 16</p>
<p dir="auto">После установки сервера пишем в консоли под root</p>
<p dir="auto">создаем нового пользователя:</p>
<pre><code>adduser smartholdem
</code></pre>
<p dir="auto">спросит пароль прописываем, далее имя фамилию жмем просто  enter, затем Y</p>
<p dir="auto">даем ему права:</p>
<pre><code>usermod -a -G sudo smartholdem
</code></pre>
<p dir="auto">переходим в папку пользователя:</p>
<pre><code>cd /home/smartholdem
</code></pre>
<p dir="auto">заходим под нашим пользователем:</p>
<pre><code>su smartholdem
</code></pre>
<p dir="auto">обновляем систему:</p>
<pre><code>sudo apt-get update &amp;&amp; sudo apt-get dist-upgrade -y
</code></pre>
<p dir="auto">ставим необх пакеты:</p>
<pre><code>sudo apt-get install postgresql postgresql-contrib libpq-dev build-essential python git curl jq libtool autoconf locales automake locate zip unzip htop nmon iftop -y
</code></pre>
<p dir="auto">перезагружаемся:</p>
<pre><code>sudo reboot
</code></pre>
<p dir="auto">подключаемся к серверу под нашим новым пользователем <em>smartholdem</em><br />
либо заходим под root, переходим в папку</p>
<pre><code>cd /home/smartholdem
</code></pre>
<p dir="auto">переключаемся на нашего пользователя</p>
<pre><code>su smartholdem
</code></pre>
<p dir="auto">создаем права бд, в строке менять ничего не надо просто выполняем команду:</p>
<pre><code>sudo -u postgres psql -c "CREATE USER $USER WITH PASSWORD 'password' CREATEDB;" &gt;&amp;- 2&gt;&amp;-
</code></pre>
<p dir="auto">создаем базу:</p>
<pre><code>createdb sth_smartholdem
</code></pre>
<p dir="auto">клонируем:</p>
<pre><code>git clone -b master https://github.com/smartholdem/smartholdem-node-a.git
cd smartholdem-node-a
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh 2&gt;/dev/null | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] &amp;&amp; . "$NVM_DIR/nvm.sh"
nvm install 6.9.5 &gt;&gt;install.log
nvm use 6.9.5 &gt;&gt;install.log
nvm alias default 6.9.5
npm install -g npm
npm install forever -g
npm install grunt-cli -g
npm install
</code></pre>
<p dir="auto">редактируем конфиг</p>
<pre><code>nano config.smartholdem.json
</code></pre>
<p dir="auto">находим строку в конфиге и вставляем в раздел приватную фразу адреса делегата "ваш приватный ключ"</p>
<pre><code class="language-json">"forging": { ... "secret": [**"your_secret_passphrase"**] ... }
</code></pre>
<p dir="auto">записываем изменения <strong>CTRL+o</strong></p>
<p dir="auto">выходим из редактора <strong>CTRL+x</strong></p>
<p dir="auto">запускаем ноду в фоне <strong>forever start app.js --config config.smartholdem.json --genesis genesisBlock.smartholdem.json</strong></p>
<p dir="auto">Дополнительные команды<br />
интерактивный лог для мониторинга:</p>
<pre><code>bash console.sh
</code></pre>
<p dir="auto">остановить все процессы ноды:</p>
<pre><code>forever stop app.js
</code></pre>
<p dir="auto">удалить бд:</p>
<pre><code>dropdb sth_smartholdem
</code></pre>
<p dir="auto"><em>Как обновить ноду до последней версии:</em><br />
В папке smartholdem-node-a выполнить команды</p>
<pre><code>forever stop app.js
git pull
npm install
forever start app.js
</code></pre>
<p dir="auto">Запуск ноды в режиме командной строки:</p>
<pre><code>node app.js --config config.smartholdem.json --genesis genesisBlock.smartholdem.json --interactive
</code></pre>
<p dir="auto">help - помощь<br />
status - статус ноды<br />
update node - обновление ноды из сети</p>
<p dir="auto">облачные vps провайдеров на которых проводились тестирования</p>
<p dir="auto"><a href="https://www.hetzner.com/cloud-ru" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hetzner.com/cloud-ru</a> (германия, финляндия от 2.94 евро)<br />
<a href="https://www.arubacloud.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.arubacloud.com/</a> (италия, чехия, польша, франция, англия от 1 евро )</p>
]]></description><link>https://community.smartholdem.io/topic/12/как-установить-делегативную-ноду-на-vps</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 12:13:02 GMT</lastBuildDate><atom:link href="https://community.smartholdem.io/topic/12.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Dec 2017 17:35:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Tue, 20 Mar 2018 07:15:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/136">@mrbumblebee</a> said in <a href="/post/2450">Как установить делегативную ноду на VPS</a>:</p>
<blockquote>
<p dir="auto">А подскажите, как прописать автоматический запуск ноды после перезагрузки сервера?</p>
</blockquote>
<p dir="auto"><a href="https://community.smartholdem.io/topic/21/chastye-voprosy-po-yspolzovanyiu-full-node-level-a">https://community.smartholdem.io/topic/21/chastye-voprosy-po-yspolzovanyiu-full-node-level-a</a></p>
]]></description><link>https://community.smartholdem.io/post/2451</link><guid isPermaLink="true">https://community.smartholdem.io/post/2451</guid><dc:creator><![CDATA[vlad2323]]></dc:creator><pubDate>Tue, 20 Mar 2018 07:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Tue, 20 Mar 2018 07:10:12 GMT]]></title><description><![CDATA[<p dir="auto">А подскажите, как прописать автоматический запуск ноды после перезагрузки сервера?</p>
]]></description><link>https://community.smartholdem.io/post/2450</link><guid isPermaLink="true">https://community.smartholdem.io/post/2450</guid><dc:creator><![CDATA[mrbumblebee]]></dc:creator><pubDate>Tue, 20 Mar 2018 07:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Sun, 31 Dec 2017 11:20:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/36">@kolesnikov</a> said in <a href="/post/319">Как установить делегативную ноду на VPS</a>:</p>
<blockquote>
<p dir="auto">Помогите уже бьюсь сам больше 3 дней. как это решить?</p>
<p dir="auto">kolesnikov@ubuntu:/home/smartholdem$ dropdb sth_kolesnikov<br />
Error: You must install at least one postgresql-client-&lt;version&gt; package.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/36">@kolesnikov</a> не установлен postgresql</p>
<p dir="auto">запустите команды</p>
<blockquote>
<p dir="auto">sudo apt-get update &amp;&amp; sudo apt-get dist-upgrade</p>
</blockquote>
<blockquote>
<p dir="auto">sudo apt-get install postgresql postgresql-contrib libpq-dev build-essential python git curl jq libtool autoconf locales automake locate zip unzip htop nmon iftop</p>
</blockquote>
<p dir="auto">посмотрите какие ошибки, вероятно не может установить пакеты по каким либо причинам</p>
]]></description><link>https://community.smartholdem.io/post/412</link><guid isPermaLink="true">https://community.smartholdem.io/post/412</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Sun, 31 Dec 2017 11:20:39 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Sun, 31 Dec 2017 11:17:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/36">@kolesnikov</a> у нас тоже тестовая нода упала в ag через 3 дня</p>
]]></description><link>https://community.smartholdem.io/post/410</link><guid isPermaLink="true">https://community.smartholdem.io/post/410</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Sun, 31 Dec 2017 11:17:23 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Wed, 27 Dec 2017 15:10:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/36">@kolesnikov</a> Если есть возможность, то лучше, наверное, сразу всю систему переустановить и начать поднимать ноду с нуля.<br />
А по ошибка. Нода раньше работала? Ругается на postgre, эти шаги из мануала не пропущены?</p>
<blockquote>
<p dir="auto">ставим необх пакеты: sudo apt-get install postgresql postgresql-contrib libpq-dev build-essential python git curl jq libtool &gt;autoconf locales automake locate zip unzip htop nmon iftop -y</p>
</blockquote>
]]></description><link>https://community.smartholdem.io/post/320</link><guid isPermaLink="true">https://community.smartholdem.io/post/320</guid><dc:creator><![CDATA[greench]]></dc:creator><pubDate>Wed, 27 Dec 2017 15:10:45 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Wed, 27 Dec 2017 15:00:40 GMT]]></title><description><![CDATA[<p dir="auto">Помогите уже бьюсь сам больше 3 дней. как это решить?</p>
<p dir="auto">kolesnikov@ubuntu:/home/smartholdem$ dropdb sth_kolesnikov<br />
Error: You must install at least one postgresql-client-&lt;version&gt; package.</p>
]]></description><link>https://community.smartholdem.io/post/319</link><guid isPermaLink="true">https://community.smartholdem.io/post/319</guid><dc:creator><![CDATA[Kolesnikov]]></dc:creator><pubDate>Wed, 27 Dec 2017 15:00:40 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Wed, 27 Dec 2017 14:48:37 GMT]]></title><description><![CDATA[<p dir="auto">@patinity <a href="http://vps.ag" target="_blank" rel="noopener noreferrer nofollow ugc">vps.ag</a> - полное говно. у двоих не робит уже</p>
]]></description><link>https://community.smartholdem.io/post/316</link><guid isPermaLink="true">https://community.smartholdem.io/post/316</guid><dc:creator><![CDATA[Kolesnikov]]></dc:creator><pubDate>Wed, 27 Dec 2017 14:48:37 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Tue, 26 Dec 2017 06:36:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/47">@stil99</a> У меня тоже не было nano, но я вместо этого редактора использовал vi, правда, там команды чуть по-другому выглядят<br />
vi config.smartholdem.json</p>
]]></description><link>https://community.smartholdem.io/post/276</link><guid isPermaLink="true">https://community.smartholdem.io/post/276</guid><dc:creator><![CDATA[greench]]></dc:creator><pubDate>Tue, 26 Dec 2017 06:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Tue, 26 Dec 2017 00:57:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/47">@stil99</a> в вашей убунте отсутствует редактор<br />
выполняем команду установки редактора</p>
<blockquote>
<p dir="auto">sudo apt-get install nano</p>
</blockquote>
]]></description><link>https://community.smartholdem.io/post/269</link><guid isPermaLink="true">https://community.smartholdem.io/post/269</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Tue, 26 Dec 2017 00:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Sat, 23 Dec 2017 16:58:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/1">@technol0g</a> said in <a href="/post/16">Как установить делегативную ноду на VPS</a>:</p>
<blockquote>
<p dir="auto">редактируем конфиг nano config.smartholdem.json</p>
</blockquote>
<p dir="auto">дошел до этого пункта. после чего пишет command not found.</p>
<p dir="auto">что сделал неправильно?</p>
]]></description><link>https://community.smartholdem.io/post/186</link><guid isPermaLink="true">https://community.smartholdem.io/post/186</guid><dc:creator><![CDATA[stil99]]></dc:creator><pubDate>Sat, 23 Dec 2017 16:58:17 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Sat, 23 Dec 2017 08:15:50 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://pixs.ru/showimage/oshibkanod_1507814_28762229.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://pixs.ru/showimage/oshibkanod_1507814_28762229.jpg</a><br />
как такую ошибку устранить?</p>
]]></description><link>https://community.smartholdem.io/post/141</link><guid isPermaLink="true">https://community.smartholdem.io/post/141</guid><dc:creator><![CDATA[Kolesnikov]]></dc:creator><pubDate>Sat, 23 Dec 2017 08:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Sat, 23 Dec 2017 01:06:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/44">@boroda</a> не забудьте зарегистрировать делегата и прописать секретную фразу в конфиг</p>
<p dir="auto">nano config.smartholdem.json</p>
<p dir="auto">предварительно остановив ноду</p>
<p dir="auto">forever stop app.js</p>
]]></description><link>https://community.smartholdem.io/post/133</link><guid isPermaLink="true">https://community.smartholdem.io/post/133</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Sat, 23 Dec 2017 01:06:08 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Thu, 21 Dec 2017 20:28:26 GMT]]></title><description><![CDATA[<p dir="auto">Все сделал по гайду. Но по статусу:</p>
<p dir="auto">Forging: true<br />
Active Delegate: false<br />
Connected Peers: 34<br />
Mempool size: 0<br />
Network Height: 58936<br />
Node Height: 58936 (in sync)</p>
]]></description><link>https://community.smartholdem.io/post/98</link><guid isPermaLink="true">https://community.smartholdem.io/post/98</guid><dc:creator><![CDATA[boroda]]></dc:creator><pubDate>Thu, 21 Dec 2017 20:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to Как установить делегативную ноду на VPS on Tue, 19 Dec 2017 17:38:35 GMT]]></title><description><![CDATA[<p dir="auto">Более подробная инструкция тут <a href="http://digex.club/all-news/category/papers/10939-smartholdem.-ustanovka-delegativnoy-nody.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://digex.club/all-news/category/papers/10939-smartholdem.-ustanovka-delegativnoy-nody.html</a></p>
]]></description><link>https://community.smartholdem.io/post/58</link><guid isPermaLink="true">https://community.smartholdem.io/post/58</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Tue, 19 Dec 2017 17:38:35 GMT</pubDate></item></channel></rss>