Skip to content

Instantly share code, notes, and snippets.

@sytone
Last active November 23, 2015 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sytone/ff027ac328c4790e0cf2 to your computer and use it in GitHub Desktop.
Save sytone/ff027ac328c4790e0cf2 to your computer and use it in GitHub Desktop.
Node JS Setup
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo apt-get install samba
sudo smbpasswd -a user
mkdir nodejs
cd nodejs
mkdir entrance
sudo nano /etc/samba/smb.conf
[NodeJS]
path = /home/user/nodejs
available = yes
valid users = user
read only = no
browsable = yes
public = yes
writable = yes
sudo service smbd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment