Just How to Set up SAMBA on a Linux Web Server

Just How to Set up SAMBA on a Linux Web Server -

Detailed overview to setting up SAMBA on a LINUX web server.

This is for network managers with experience supervising as well as setting up LINUX web servers that would like to know just how to set up a SAMBA data web server properly detailed.

In this detailed tutorial I am mosting likely to reveal you just how to make a common folder on a linux web server as well as share it so individuals on Microsoft home windows workstations can access it on a neighborhood – inner network.

In this tutorial I am mosting likely to make the folder called “shared folder” as well as enable everyone accessibility to the folder as well as printer networked to the Linux web server.

This is a standard just how to direct for setting up a samba workgroup data web server. I will certainly cover just how to set up a samba as well as construct PDC – Key domain name controller in one more tutorial for even more skilled network managers.

ACTION 1 Open up the samba arrangement data utilizing a unix full-screen editor. I such as NANO because it is extremely simple to utilize. Below are the commands I utilized to execute this job.

[[email protected] ~] # cd/ etc [[email protected] etc] # cd samba [[email protected] samba] # nano smb.conf

OK currently we remain in the smb.conf data Currently remove all the message in the arrangement data. Currently duplicate as well as paste the below message … afterwards is done struck the control as well as X switches on your key-board to leave out of the NANO full-screen editor. Strike the Y switch as well as last struck the ENTER switch. Currently we are back to the command timely as well as our samba arrangement data is modified as well as conserved.

[global] workgroup = workgroup web server string = My Linux Documents Web server hosts enable = 192.168. 127. log data =/ var/log/samba/% m.log protection = individual netbios name = SAMBA WEB SERVER secure passwords = yes smb passwd data =/ etc/samba/smbpasswd outlet choices = TCP_NODELAY SO_RCVBUF= 8192 SO_SNDBUF= 8192

[shared folder] remark = My House Directory site browseable = indeed writable = yes public = indeed checked out just = no

[printers] course =/ var/spool/samba public = indeed guest OKAY = yes = yes browseable = yes writable = indeed checked out just = no

ACTION 2 We need to produce an individual acct on the Linux web server itself after that we will certainly produce a samba individual in addition to the Linux individual acct.

[[email protected] ~] # useradd chris [[email protected] ~] # passwd chris Transforming password for individual chris. New UNIX password: Retype brand-new UNIX password: passwd: all verification symbols upgraded effectively. [[email protected] ~] # smbpasswd -a chris New SMB password: Retype brand-new SMB password: getsmbfilepwent: misshapen password access (no:-RRB- mod_smbfilepwd_entry: misshapen password access (no:-RRB- [[email protected] ~] #

ACTION 3 We need to begin the SAMBA solution. It might currently be begun or it might not … so allow’s check as well as see.

[[email protected] ~] # solution smb condition smbd is quit nmbd is quit [[email protected] ~] #

The samba solution is not running so allow’s begin it up

[[email protected] ~] # solution smb beginning smbd (pid 4267 4266) is running … nmbd (pid 4271) is running … [[email protected] ~] #

Currently allow’s confirm the solution is running

[[email protected] ~] # solution smb condition smbd (pid 4267 4266) is running … nmbd (pid 4271) is running … [[email protected] ~] #

ACTION 4 reboot your home windows XP workstations after that most likely to network “my network areas” after that most likely to “workgroup computer systems”. You will certainly see a computer system there called “My Linux Documents Web Server”. You can by hand map a neighborhood drive letter to this folder or create a logon manuscript the like you would certainly attaching to a Microsoft data web server – shared folder. Dual click that computer system as well as you will certainly be triggered for an individual name as well as password. Make use of the individual name as well as password you select symphonious # 2 Currently you will certainly see a folder called “shared folder” You can replicate as well as paste information to this folder similar to it were a home windows submit web server.



Source by Chris Ondo.

Leave a Reply

Your email address will not be published. Required fields are marked *