title: How to run ASP.NET MVC 5 on Linux (Ubuntu 14)?
body: <p>I can't run ASP.NET MVC 5 on Linux (Ubuntu 14).
  By this article: <a href="https://docs.asp.net/en/latest/getting-started/installing-on-linux.html" rel="nofollow noreferrer">https://docs.asp.net/en/latest/getting-started/installing-on-linux.html</a></p>
  <p>In virtual Ubuntu 14 terminal I did:</p>
  <pre><code>curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh &amp;&amp; source ~/.dnx/dnvm/dnvm.sh
  sudo apt-get install libunwind8 gettext libssl-dev libcurl4-openssl-dev zlib1g libicu-dev uuid-dev
  dnvm upgrade -r coreclr
  
  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
  echo &quot;deb http://download.mono-project.com/repo/debian wheezy main&quot; | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
  sudo apt-get update
  
  sudo apt-get install mono-complete
  sudo apt-get install ca-certificates-mono
  
  dnvm upgrade -r mono
  
  sudo apt-get install make automake libtool curl
  curl -sSL https://github.com/libuv/libuv/archive/v1.8.0.tar.gz | sudo tar zxfv - -C /usr/local/src
  cd /usr/local/src/libuv-1.8.0
  sudo sh autogen.sh
  sudo ./configure
  sudo make
  sudo make install
  sudo rm -rf /usr/local/src/libuv-1.8.0 &amp;&amp; cd ~/
  sudo ldconfig
  </code></pre>
  <p>In HelloMvc folder:</p>
  <pre><code>dnu restore 
  </code></pre>
  <p>Then in Visual Studio Code:</p>
  <p>1). Select HelloMvc project.json in file list.</p>
  <p>2). Select HelloMvc project in dropdown.</p>
  <p>3). Press F1 and type dnx: Run Command and select &quot;web&quot;.</p>
  <p>In localhost:5004 still &quot;Unable to connect&quot;.</p>
  <p>If I run app from terminal:</p>
  <pre><code>dnx web
  </code></pre>
  <p>I am getting &quot;'Microsoft.AspNet.Server.Kestrel' does not contain a static 'Main' method suitable for an entry point&quot;.</p>