NIS and NFS will already be included in the install. If you're new to this sort of thing then I would suggest you start by reading all about NIS and NFS via their documentation.
All about NIS
All about NFS
Once you've read those, come back with some more specific questions and we'll help you along
