How to Make NAS File server using raspberry pi 2 with webmin. In this tutorial we will be covering how to install raspbian, samba, and webmin to share a usb Hard drive along our network. Thanks for the view!




Commands list:

first run for raspberry pi

sudo raspi-config

updates repositories for debian

sudo apt-get update

installs common files needed to run webmin

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Downloads webmin from website

*** follow video to find the correct download link, or you can try the one below

wget -O webmin.deb
sudo dpkg -i webmin.deb

install samba to server

sudo apt-get install samba samba-common samba-common-bin

Installs files needed to read and write to ntfs formated drives

sudo apt-get install ntfs-3g

creates folder to place your hdd mount

sudo mkdir /media/hdd

mounts external drive to folder

sudo mount /dev/sdaX /media/hdd