User Tools

Site Tools


servers:samba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:samba [2021/10/29 20:54] Sean Rhoneservers:samba [2024/08/13 16:29] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
- 
-  * Samba ((https://www.samba.org/)) 
- 
-===== Prerequisites ===== 
- 
-  * [[distros:ubuntu_desktop#server|Ubuntu]] 
-  * [[servers:vsftpd|vsftpd]] ((''vsftpd'' isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in ''fstab'')) 
- 
-====== 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' 
- 
-<code> 
-[Music] 
-    comment = Music at %h 
-    path = /srv/ftp/nas2/Music 
-    browsable = yes 
-    guest ok = yes 
-    read only = yes 
-</code> 
- 
-====== Media Test ====== 
- 
-  * :!: This is under active testing 
- 
-<code> 
-[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 
-</code> 
- 
-====== Add User ====== 
- 
-  * :!: The password can be anything here, but recommended **not to be an important password** 
- 
-  sudo smbpasswd -a 'espionage724' 
  
/srv/www/wiki/data/attic/servers/samba.1635555266.txt.gz · Last modified: by Sean Rhone