ubuntu samba server set up

Recent always built environment samba, written on the notes recorded for later use, does not operate for a long time will certainly be forgotten.

Linux versions: Ubuntu 18.04

Specific operation command:

1. Installation: 
  the sudo the install Samba APT-GET 2. modify the configuration files:   the sudo Vim /etc/samba/smb.conf 3. Specific modifications are as follows:   [Samba]   Comment the Users Profiles =   path = "shared path, such as: / home "   Guest OK = NO   browseable, = Yes   Writable = Yes   Create mask = 0766   Directory mask = 0766   # [Printers]   # Comment = All Printers   # browseable, = NO   # path = / var / spool / Samba   # Printable = Yes   # Guest OK = NO   the Read only = yes #   # the Create mask = 0700   # Windows Clients look for the this report this content share name AS A Source of Downloadable   # the Drivers Printer   # [Print $]   # = the Comment the Drivers Printer   # path = / var / lib / samba / Printers   # = Yes browseable,   # = Yes Read only   # = OK Guest NO 4. Add samba user:   the smbpasswd -a "username" The restart samba server:   the sudo /etc/init.d/smbd restart

 

So far, samba server configuration is successful, in the form of \\ windows which can be accessed samba IP, as in my computer's address bar fill \\ 192.168.125.128, then into the samba shared directory, verify the account password that is An arrangement as provided in step 4.

Guess you like

Origin www.cnblogs.com/GyForever1004/p/11407675.html