servers:samba
This is an old revision of the document!
Table of Contents
Information
- Samba 1)
Prerequisites
Dependencies
sudo apt install 'samba'
Firewall
sudo ufw allow 'Samba'
Service
sudo systemctl enable 'smbd' --now
Settings
- Add to the bottom of the file
sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smbd'
[Music]
comment = Music at %h
path = /srv/ftp/nas2/Music
browsable = yes
guest ok = yes
read only = yes
Media Test
This is under active testing
[Anime]
comment = Cartoons at %h
path = /srv/ftp/nas2/Anime
browsable = yes
guest ok = yes
read only = yes
[Cartoons]
comment = Cartoons at %h
path = /srv/ftp/nas2/Cartoons
browsable = yes
guest ok = yes
read only = yes
[Courses]
comment = Courses at %h
path = /srv/ftp/nas2/Courses
browsable = yes
guest ok = yes
read only = yes
[Movies]
comment = Movies at %h
path = /srv/ftp/nas2/Movies
browsable = yes
guest ok = yes
read only = yes
[Tests]
comment = Tests at %h
path = /srv/ftp/nas2/Tests
browsable = yes
guest ok = yes
read only = yes
[TV Shows]
comment = TV Shows at %h
path = /srv/ftp/nas2/TV Shows
browsable = yes
guest ok = yes
read only = yes
Add User
The password can be anything here, but recommended not to be an important password
sudo smbpasswd -a 'espionage724'
/var/www/wiki/data/attic/servers/samba.1635555266.txt.gz ยท Last modified: by Sean Rhone
