Ubuntu Server: Cmd line Network Shared folder for Windows
Got tired of using filezila to do everything so this morning I set things up with Samba to allow me to share. Just a few notes along with this video that I think might be helpful for other devs.
- sudo apt-get install -y samba
- sudo ufw allow 139
- sudo ufw allow 445
- sudo service smbd status
- sudo vi /etc/samba/smb.conf
- sudo chmod 777 shared_folder/
[guest] # This share allows anonymous (guest) access # without authentication! path = /shared_folder read only = no guest ok = yes guest only = yes
I used the folder path at the root and probably will later add a user for security but for now I have what I need to get running. Doesnt seem as fast as filezilla but thats not a big deal.