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
Last revisionBoth sides next revision
servers:samba [2021/10/29 21:32] Sean Rhoneservers:samba [2021/12/29 09:25] Sean Rhone
Line 5: Line 5:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[distros:ubuntu_desktop#server|Ubuntu]]+  * [[distros:fedora_workstation_gnome|Fedora]] ((notes link to Workstation, but this can be done on Server))
   * [[servers:vsftpd|vsftpd]] ((''vsftpd'' isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in ''fstab''))   * [[servers:vsftpd|vsftpd]] ((''vsftpd'' isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in ''fstab''))
  
Line 16: Line 16:
 **** ****
  
-  sudo apt install 'samba'+  sudo dnf install 'samba'
  
 ====== Firewall ====== ====== Firewall ======
Line 22: Line 22:
 **** ****
  
-  sudo ufw allow 'Samba'+  sudo firewall-cmd --add-service='samba--permanent && sudo firewall-cmd --reload
  
 ====== Service ====== ====== Service ======
Line 28: Line 28:
 **** ****
  
-  sudo systemctl enable 'smbd' --now+  sudo systemctl enable 'smb' --now
  
 ====== Settings ====== ====== Settings ======
Line 34: Line 34:
   * Add to the bottom of the file   * Add to the bottom of the file
  
-  sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smbd'+  sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smb'
  
 <code> <code>
 [Music] [Music]
     comment = Music at %h     comment = Music at %h
-    path = /srv/ftp/nas2/Music+    path = /var/ftp/nas2/Music
     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