<?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[Установка Node-A в Windows 10]]></title><description><![CDATA[<p dir="auto">Инструкция установки Node-A в Windows 10</p>
<ol>
<li>Открыть командную строку в меню пуск &gt; <strong>PowerShell</strong> как Администратор</li>
<li>Запустить команду</li>
</ol>
<pre><code>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
</code></pre>
<ol start="3">
<li>После установки опций подтвердите перезагрузку</li>
<li>Установите приложение Ubuntu из Windows Store <a href="https://www.microsoft.com/en-us/p/ubuntu-1804/9n9tngvndl3q" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.microsoft.com/en-us/p/ubuntu-1804/9n9tngvndl3q</a></li>
<li>Запустите приложение из меню пуск или из windows store</li>
<li>укажите имя пользователя, например: smartholdem и пароль</li>
<li>обновите приложение ubuntu</li>
</ol>
<pre><code>sudo apt-get update
sudo apt-get upgrade
</code></pre>
<ol start="8">
<li>Используйте общую инструкцию установки узла <a href="https://github.com/smartholdem/smartholdem-node-a" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/smartholdem/smartholdem-node-a</a></li>
</ol>
<pre><code>cd /home/smartholdem

sudo apt-get install postgresql postgresql-contrib libpq-dev build-essential g++ python git curl ntp -y
sudo apt-get install jq libtool autoconf locales automake locate zip unzip htop nmon iftop nano -y

sudo locale-gen en_US.UTF-8
sudo -u postgres psql -c "CREATE USER $USER WITH PASSWORD 'password' CREATEDB;" &gt;&amp;- 2&gt;&amp;-
createdb sth_smartholdem
git clone -b master https://github.com/smartholdem/smartholdem-node-a.git node
cd node
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 10.16.3 &gt;&gt;install.log
nvm use 10.16.3 &gt;&gt;install.log
nvm alias default 10.16.3
npm install -g npm forever grunt-cli
npm install
sh firststart.sh
</code></pre>
<p dir="auto">для повторных запусков используйте</p>
<pre><code>sh update.sh
</code></pre>
<p dir="auto">Проверьте доступность API в браузере <a href="http://127.0.0.1:6100/api/blocks/getSupply" target="_blank" rel="noopener noreferrer nofollow ugc">http://127.0.0.1:6100/api/blocks/getSupply</a></p>
<p dir="auto"><em><strong>!Узел на локальном компьютере с Windows не рекомендуется использовать в качестве делегата, но вы можете его использовать в своих приложениях, взаимодействия с кошельком (указав локальный узел <a href="http://127.0.0.1:6100" target="_blank" rel="noopener noreferrer nofollow ugc">http://127.0.0.1:6100</a>) или разработки новых функций</strong></em></p>
<p dir="auto">Возможные проблемы:</p>
<pre><code>psql
</code></pre>
<p dir="auto"><strong>psql: could not connect to server: No such file or directory</strong></p>
<p dir="auto">решение:</p>
<pre><code>sudo chown -R postgres:postgres /var/lib/postgresql/10/
sudo chmod -R u=rwX,go= /var/lib/postgresql/10/
sudo service postgresql start
sudo su - postgres -c "psql template1 -p 5432 -c 'CREATE EXTENSION IF NOT EXISTS hstore;'"
sudo su - postgres -c "psql template1 -p 5432 -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'"

</code></pre>
]]></description><link>https://community.smartholdem.io/topic/747/установка-node-a-в-windows-10</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 09:28:51 GMT</lastBuildDate><atom:link href="https://community.smartholdem.io/topic/747.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Nov 2019 02:35:13 GMT</pubDate><ttl>60</ttl></channel></rss>