servers:samba
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
servers:samba [2021/10/29 20:54] – Sean Rhone | servers:samba [2021/12/29 09:25] – Sean Rhone | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | * [[distros:ubuntu_desktop# | + | * [[distros:fedora_workstation_gnome|Fedora]] ((notes link to Workstation, |
* [[servers: | * [[servers: | ||
+ | |||
+ | ===== Notes ===== | ||
+ | |||
+ | * :!: SMB **cannot** be used to serve media to Kodi clients with this config as it breaks filenames with special characters ((such as the colon in " | ||
====== Dependencies ====== | ====== Dependencies ====== | ||
Line 12: | Line 16: | ||
**** | **** | ||
- | sudo apt install ' | + | sudo dnf install ' |
====== Firewall ====== | ====== Firewall ====== | ||
Line 18: | Line 22: | ||
**** | **** | ||
- | sudo ufw allow 'Samba' | + | sudo firewall-cmd --add-service='samba' |
====== Service ====== | ====== Service ====== | ||
Line 24: | Line 28: | ||
**** | **** | ||
- | sudo systemctl enable 'smbd' --now | + | sudo systemctl enable 'smb' --now |
====== Settings ====== | ====== Settings ====== | ||
Line 30: | Line 34: | ||
* Add to the bottom of the file | * Add to the bottom of the file | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
[Music] | [Music] | ||
comment = Music at %h | comment = Music at %h | ||
- | path = /srv/ | + | path = /var/ |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | </ | + | |
- | + | ||
- | ====== Media Test ====== | + | |
- | + | ||
- | * :!: This is under active testing | + | |
- | + | ||
- | < | + | |
- | [Anime] | + | |
- | comment = Cartoons at %h | + | |
- | path = / | + | |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | + | ||
- | [Cartoons] | + | |
- | comment = Cartoons at %h | + | |
- | path = / | + | |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | + | ||
- | [Courses] | + | |
- | comment = Courses at %h | + | |
- | path = / | + | |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | + | ||
- | [Movies] | + | |
- | comment = Movies at %h | + | |
- | path = / | + | |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | + | ||
- | [Tests] | + | |
- | comment = Tests at %h | + | |
- | path = / | + | |
- | browsable = yes | + | |
- | guest ok = yes | + | |
- | read only = yes | + | |
- | + | ||
- | [TV Shows] | + | |
- | comment = TV Shows at %h | + | |
- | path = / | + | |
browsable = yes | browsable = yes | ||
guest ok = yes | guest ok = yes |
/var/www/wiki/data/pages/servers/samba.txt · Last modified: 2021/12/29 09:28 by Sean Rhone