Websites | Photography | Video Editing | 3D Animations

From the Blog

You first need to ssh in to your RaspberryPi and run the following command lines.

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install samba samba-common-bin

Then you and to create a shared folder:

sudo mkdir -m 1777 /share

Next you want to edit Samba config file to include shared folder:

sudo nano /etc/samba/smb.conf

Insert the below settings to the bottom of the page:

Comment = Pi shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes

Press `ctrl` + `x` to close file and press `y` to save and hit enter.

Next you want to create a password for Samba:

sudo smbpasswd -a pi

Here it will prompt you to insert password. This is separate to you Pi login but there is no harm inserting the same password if you like.

Final you need to reboot Samba:

sudo /etc/init.d/samba restart

Now you should find that your RaspberryPi is discoverable on your next work.

First ssh in to pi and cd in to Downloads directory.

$ cd ~/Downloads

Next you need to download the nodejs tar. Checkout the version you desire make sure you download the the version with the last string ending ‘linux-armv6l.tar.gz’. Raspberry Pi Zero support only ARMv6.

$ wget

Once downloaded cd in to usr/local

cd /usr/local

Extract tar here

sudo tar xzvf ~/Downloads/node-v6.10.3-linux-armv6l.tar.gz --strip=1

And finally remove default npm, node and nodejs.

sudo apt-get remove --purge npm node nodejs

Now check the version

$node -v && npm -v