<?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[Predrag Stojadinović]]></title><description><![CDATA[Quality over Features]]></description><link>https://blog.stojadinovic.net</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 08:49:51 GMT</lastBuildDate><atom:link href="https://blog.stojadinovic.net/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[RethinkDB on Windows using VirtualBox]]></title><description><![CDATA[So, I wanted to install RethinkDB on my Windows machine and found out that it is  still not supported . After a couple of weeks I decided to find my own solution.
Here it is.
First, I installed the  VirtualBox .
I then  downloaded Ubuntu  and  instal...]]></description><link>https://blog.stojadinovic.net/rethinkdb-on-windows-using-virtualbox</link><guid isPermaLink="true">https://blog.stojadinovic.net/rethinkdb-on-windows-using-virtualbox</guid><category><![CDATA[RethinkDB]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Predrag Stojadinović]]></dc:creator><pubDate>Fri, 12 Jun 2020 22:00:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1639661031903/XJZ8RqaY1.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>So, I wanted to install <strong>RethinkDB</strong> on my <strong>Windows</strong> machine and found out that it is  <a target="_blank" href="https://rethinkdb.com/docs/install/">still not supported</a> . After a couple of weeks I decided to find my own solution.</p>
<p>Here it is.</p>
<p>First, I installed the  <a target="_blank" href="https://www.virtualbox.org/">VirtualBox</a> .
I then  <a target="_blank" href="https://ubuntu.com/download/desktop">downloaded Ubuntu</a>  and  <a target="_blank" href="https://www.google.com/search?q=install+ubuntu+on+a+virtualbox&amp;oq=install+Ubuntu+on+a+VirtualBox&amp;aqs=chrome.0.35i39j0l5j69i60l2.726j0j4&amp;sourceid=chrome&amp;ie=UTF-8">installed it on the box</a> .</p>
<p>This was the result:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660570290/ZEW_exe3U.png" alt="rethinkdb-on-windows-with-virtualbox-01.png" /></p>
<p>I had issues with the Ubuntu resolution, so  <a target="_blank" href="http://ubuntu-tutorials.com/2010/06/26/install-virtualbox-guest-additions-on-virtualbox-guests/">I installed VirtualBox Guest Additions</a> 
<em>(note that the menu wording was slightly different then in the tutorial)</em>:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660598635/CHZ-Y2ueu.png" alt="rethinkdb-on-windows-with-virtualbox-02.png" /></p>
<p>I then also ran <code>sudo apt install virtualbox-guest-dkms</code> in the console on Ubuntu. I believe I restarted the VM several times between steps.</p>
<p>In the end, I was able to pick a better resolution:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660615846/xNnEXogE0.png" alt="rethinkdb-on-windows-with-virtualbox-03.png" /></p>
<p>I then set the VirtualBox Network Adapter for Ubuntu to <strong>Host-Only Adapter</strong>:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660626574/nI1Hq95H3.png" alt="rethinkdb-on-windows-with-virtualbox-04.png" /></p>
<p><em>This is important for accessing RethinkDB from your host machine.</em></p>
<p>In Ubuntu,  <a target="_blank" href="https://rethinkdb.com/docs/install/ubuntu/">I installed RethinkDB</a> .</p>
<p>I set it up so that  <a target="_blank" href="https://rethinkdb.com/docs/start-on-startup/">it starts at system startup</a> .</p>
<p>And RethinkDB was up and running:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660645851/1s6K-gCFR.jpeg" alt="rethinkdb-on-windows-with-virtualbox.jpg" /></p>
<p>I then edited the <strong>instance1.conf</strong> file from the previous step, to set the <strong>bind=all</strong> value:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660656022/1AEZyPhZ0.png" alt="rethinkdb-on-windows-with-virtualbox-05.png" />
<em>This is also important for accessing RethinkDB from your host machine.</em></p>
<p>You really should  <a target="_blank" href="https://rethinkdb.com/docs/security/">secure your cluster</a> , even though it is a development system. If you do secure it, do not forget to include the <strong>user</strong> and <strong>password</strong> attributes in your  <a target="_blank" href="https://rethinkdb.com/api/javascript/connect">connect</a>  call.</p>
<p>Once you have everything running, on your VirtualBox Ubuntu window, hover the mouse over the network icon to get the Ubuntu’s IP address.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660672452/qsCs9YEuY.png" alt="rethinkdb-on-windows-with-virtualbox-06.png" /></p>
<p>If you do not see a tooltip with the IP address, make sure you select the Ubuntu window and give it focus, then hover again.</p>
<p>Use that IP address with <strong>:8080</strong> appended to it, to access  <a target="_blank" href="https://rethinkdb.com/docs/administration-tools/">the RethinkDB web interface</a> .</p>
<p>Also, use that IP address in your code, to connect to RethinkDB.</p>
<p>And this is my final result on my Windows machine IDE, with RethinkDB running in the VirtualBox. I ran the two scripts, <strong>index.js</strong> and <strong>listen.js</strong> in separate consoles, and when <strong>index.js</strong> makes a change to the <strong>tv_shows</strong> table, the <strong>listen.js</strong> script receives the change.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1639660690640/up9zKJRS3.png" alt="rethinkdb-on-windows-with-virtualbox-final.png" /></p>
]]></content:encoded></item></channel></rss>