|
Configure linux samba server step by step guide example and implementation |
| Home | Peer to Peer | CompTIA N+ | CCNA | MCSE | MCITP | RHCE | Interview | Tips n Tricks |
How to configure linux samba server step by step guide Example and ImplementationMost Linux systems are the part of networks that also run Windows systems. Using Linux Samba servers, your Linux and Windows systems can share directories and printers. This is most use full situation where your clients are window native and you want to use the linux security features. Exam question There are mixed lots of System running on Linux and Windows OS. Some users are working on Windows Operating System. There is a /data directory on linux server should make available on windows to only vinita should have right to connect with samba server . Configure to make available. Configure samba serverIn this example we will configure a samba server and will transfer files from client side.For this example we are using two systems one linux server one window clients. per quest of samba server
We have configured all these steps in our pervious article. necessary configuration for samba server We suggest you to review that article before start configuration of samba server. Once you have completed the necessary steps follow this guide.
samba rpm is required to configure samba server. check them if not found then install
Now check smb, portmap, xinetd service in system service it should be on #setup Select System service from list [*]portmap [*]xinetd [*]smb
Now restart xinetd and portmap and smb service
Create a normal user named vinita
now create /data directory and grant it full permission
open /etc/samba/smb.conf main samba configuration files
Now add vinita user to samba user Client configuration for samba server
Go on windows system and ping samba server, change computer name to client2 and workgroup name to MYGROUP
After reboot open my network place here you can see samba server [ if not see then click on view workgroup computer in right pane, if still not see then use search button from tool bar and search computer samba server form ip ]
As you can see in image user vinita gets the /data folder which we share from samba server Check status on samba server
on samba server you can check runtime status of samba server to check it run smbstatus command |
|||||
|
|
|
|