1 / 10

N etwork I nformation S ervices

N etwork I nformation S ervices. Types of Services. Infrastructure DHCP, DNS, NIS, AD, TIME Intranet SSH, NFS, SAMBA Internet MAIL, WEB, FTP, CUPS. Components of a Service. /. etc. usr. var. sysconfig. log. init.d. bin. sbin. lib. How To Change a Hostname.

obelia
Download Presentation

N etwork I nformation S ervices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Information Services

  2. Types of Services • Infrastructure • DHCP, DNS, NIS, AD, TIME • Intranet • SSH, NFS, SAMBA • Internet • MAIL, WEB, FTP, CUPS

  3. Components of a Service / etc usr var sysconfig log init.d bin sbin lib

  4. How To Change a Hostname • Use the hostname command to change the name in RAM • Edit /etc/sysconfig/network to make the change permanent. (Note: some Linux systems use the file /etc/hostname) • Update the /etc/hosts file to use the new name with the loopback entry. (Note: this is very important for sendmail.)

  5. Components of NIS NIS is from Sun Microsystems and is designed around the Remote Procedure Call API and utilizes the portmap daemon for its operation. It was formerly called "Yellow Pages“ – thus the “yp” prefix • The ypserv package contains the server daemon and its configuration file. • The ypbind package contains the client daemon and its configuration file. • The yp-tools package has several client utilities: ypcat - dumps the content of a particular NIS map file. ypwhich - specifies the name of the NIS server you are using. ypmatch - like ypcat, but returns only specific key values yppasswd - allows the user to change their password on the NIS server

  6. Server Side NIS • /etc/ypserv.conf file syntax:option: <argument>       # This is an option linehost : domain : map : security    # This is an access rule • Host Specifiers • hostname • IP address • network addresses • Security • none • port • deny • ypserv - serves the map files for clients in the domain • ypinit - creates the map files • yppasswdd - allows clients to change passwords on the server

  7. The NIS Clients Clients need to run a daemon as well since accessing files like /etc/passwd and /etc/hosts is a common and continual process. • Verify that portmap is running and that the firewall is allowing both udp and tcp packets from the server. • Setup the NIS domain name • Run the command domainname name • Set the variable NISDOMAIN=doimainname in the /etc/sysconfig/network file. • Configue the yp.conf file using one of three syntaxes: • domain NISDOMAIN server HOSTNAME • domain NISDOMAIN broadcast • ypserver HOSTNAME • Edit the /etc/nsswitch.conf file and add nis to the appropriate services. • Start the ypbind</B< tt> service.

  8. Project Diagram 1 172.30.4.0/24 Roter Router/Firewall NoPar Internet 192.168.X.0/24 Roter Roter Roter Server1 Server2 Client1 DNS DHCP NFS Mail CUPS SSH

  9. Project Diagram 2 172.30.4.0/24 Roter Router/Firewall NoPar Internet 192.168.X.0/24 192.168.Y.0/24 Roter Roter Roter Roter Server Mail DNS Server HTTP FTP Client Server NFS SSH DHCP

  10. Project Diagram 3 172.30.4.0/24 Roter Router/Firewall NoPar Internet Roter Server CUPS DNS Roter Router/Firewall Roter Roter Server2 SSH DNS Server1 DHCP NFS

More Related