Last active
November 23, 2015 23:31
-
-
Save sytone/ff027ac328c4790e0cf2 to your computer and use it in GitHub Desktop.
Node JS Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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