Skip to content
hdavy2002 edited this page Oct 18, 2015 · 10 revisions

Installing Vmux on Debian Wheezy, January 2015

Do a fresh Debian 7.8.0 install and then proceed with the following commands.


  • apt-get install build-essential sudo openssh-server vim git

  • apt-get install curl

  • curl -sL https://deb.nodesource.com/setup | bash -

  • apt-get install -y nodejs

  • npm i -g gulp

  • apt-get install redis-server

  • mkdir /srv/www

  • cd /srv/www

  • git clone https://github.com/malditogeek/vmux

  • cd vmux

  • npm i -g nodemon

  • npm i coffee-script

  • npm i express

  • npm i everyauth

  • npm i redis

  • npm i helmet

  • npm i ntwitter (returned: "npm WARN deprecated [email protected]: Unmaintained")

  • npm i connect-redis

  • npm i jade

  • After the above install type nano static/vmux.js and change "http://localhost" to "http://yourdomain.net"

  • Do the same for bundler.js, type nano bundler.js

  • apt-get install screen (Screen is often used when a network connection to the terminal is unreliable, as a dropped network connection typically terminates all programs the user was running. Running the applications under screen means that the applications don't even know the terminal has detached, and allows the user to reattach the session later and continue working from where they left off.)

  • Start a screen session by typing screen -S vmux

  • npm start (This will start the program)

  • detach from screen session by pressing control A and then D ( You will come back to your original prompt, think of screen like another window, where you have started a program and minimized it)

  • open URL http://yourdomain.net:5000

If you want to get this into production mode like https://mydomain.com

Then install stunnel and your own turn/stun server. If you have a firewall, make sure port 3479, 3478, 443, 80 is open.

Steps to take. (content coming up soon) *

Clone this wiki locally