title: Trying to build tensorflow for a Ubuntu VPS
body: <p>I've been developing a Nodejs app using face-api.js that depends on @tensorflow/tfjs-node. So far everything was working well on my windows local machine and on Heroku server. But after I pushed the app to a Ubuntu VPS server the app won't run, whenever I write either</p>
  <pre><code>var tensor = require('@tensorflow/tfjs-node');
  </code></pre>
  <p>or</p>
  <pre><code>var faceapi = require('@vladmandic/face-api');
  </code></pre>
  <p>The console prints &quot;Illegal instruction&quot; and that's it, no trace or anything. I figured maybe tensorflow is not compatible with the server system/hardware. I read that I can build tensorflow using bazel, which I tried but the server runs out of memory before the build completes. Someone told me that I can build tensorflow on my windows local machine. I tried and failed... I don't know what configurations I should use. Is there is a way to make tensorflow work on the VPS? Or successfully build one?</p>
  <p>VPS information (I got it from NameCheap, Pulsar VPS):</p>
  <ul>
  <li>Processor information:   QEMU Virtual CPU version 2.5+, 2 cores</li>
  <li>RAM:         2 GB</li>
  <li>Operating system:    Ubuntu Linux 20.04</li>
  <li>Kernel and CPU:      Linux 5.4.0-81-generic on x86_64</li>
  <li>Storage:         40 GB</li>
  </ul>