Installation We will install samba apt-get with the program through the command in telminal.
sudo apt-get install samba
The original backup file for error by command.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
config file smb.conf is important in the work of the samba command to open - close Parameters. Resides in the directory /etc/samba is the main topic to be changed in using edit nano.
sudo nano /etc/samba/smb.conf
save and change by press key Ctrl+X and press key Y.
mkdir /home/samba
chmod 777 /home/samba
To copy a file or folder to share data stored in the /home/samba.
Start Samba(smbd = SMB Daemon) and NetBIOS name server(nmbd) by command.
smbd -D
nmbd -D
Check process works and then or a samba that run. Will see that there are many processes. Note that the line is the process of samba smbd - D and nmbd-D. by command.
ps -ef | more
smbd is the core program of instruction, or because it serves as the Samba SMB Server SMB Service may be found such that shared drives, shared printers via the SMB protocol client Linux, Windows 95/98/ME/XP,. Windows NT/2000/2003, OS / 2, Macintosh, in working order, we will run as a service to smbd or Deamon process in the form of work is in the smb.conf file Admin Config is a configuration such as the. Any shared drive (read, read - write), allows a user to do any work, sharing printers, especially the global parameters and optical service which will function to customize many. Regular express to execute along with the smbd nmbd in deamon.
Format command.
nmbd is a command in the main work as well. Acts as a NetBIOS Name Server for a client. By notifying a NetBIOS name of the Samba Server to the client to contact. WINS Server and can be made to convert the NetBIOS name to IP Address number with another (the data in the file /etc/lmhost).
Model works in exactly the global smb.conf file and the service such as netbios name, netbios aliases, local master, wins server etc.
Format command.
Translation by : google translation
Next page : Connection Samba Server with the windows
reverse : Packages of Samba
sudo apt-get install samba
The original backup file for error by command.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
configuration smb.conf
config file smb.conf is important in the work of the samba command to open - close Parameters. Resides in the directory /etc/samba is the main topic to be changed in using edit nano.
sudo nano /etc/samba/smb.conf
#========= Global Setting ================ [global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = Homegroup ------------------> Change the name as needed # server string is the equivalent of the NT Description field server string = Samba Server ------------------> Change the name as needed ########## Authentication ############## # "security = user" is alway a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html # in the samba-doc package for details. # security = user security = share--------------> Change to share # You may wish to use password encryption. See the section on # 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = on------------->Change to no #=========== Share Definitions ==================== # Un-comment the following (and tweek the other settings below to suit) # to enable the default home directory shares. This will share each # user's home directory as \\server\username [homes]
[share]
|
Start Samba
Create a directory named samba data out in the /home and change the mode of working with the command chmod.mkdir /home/samba
chmod 777 /home/samba
To copy a file or folder to share data stored in the /home/samba.
Start Samba(smbd = SMB Daemon) and NetBIOS name server(nmbd) by command.
smbd -D
nmbd -D
Check process works and then or a samba that run. Will see that there are many processes. Note that the line is the process of samba smbd - D and nmbd-D. by command.
ps -ef | more
smbd is the core program of instruction, or because it serves as the Samba SMB Server SMB Service may be found such that shared drives, shared printers via the SMB protocol client Linux, Windows 95/98/ME/XP,. Windows NT/2000/2003, OS / 2, Macintosh, in working order, we will run as a service to smbd or Deamon process in the form of work is in the smb.conf file Admin Config is a configuration such as the. Any shared drive (read, read - write), allows a user to do any work, sharing printers, especially the global parameters and optical service which will function to customize many. Regular express to execute along with the smbd nmbd in deamon.
Format command.
|
nmbd is a command in the main work as well. Acts as a NetBIOS Name Server for a client. By notifying a NetBIOS name of the Samba Server to the client to contact. WINS Server and can be made to convert the NetBIOS name to IP Address number with another (the data in the file /etc/lmhost).
Model works in exactly the global smb.conf file and the service such as netbios name, netbios aliases, local master, wins server etc.
Format command.
|
Translation by : google translation
Next page : Connection Samba Server with the windows
reverse : Packages of Samba
ความคิดเห็น