N etwork i nformation s ervices
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

N etwork I nformation S ervices PowerPoint PPT Presentation


  • 93 Views
  • Uploaded on
  • Presentation posted in: General

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.

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


N etwork i nformation s ervices

Network Information Services


Types of services

Types of Services

  • Infrastructure

    • DHCP, DNS, NIS, AD, TIME

  • Intranet

    • SSH, NFS, SAMBA

  • Internet

    • MAIL, WEB, FTP, CUPS


Components of a service

Components of a Service

/

etc

usr

var

sysconfig

log

init.d

bin

sbin

lib


How to change a hostname

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.)


Components of nis

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


Server side nis

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


The nis clients

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.


Project diagram 1

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


Project diagram 2

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


Project diagram 3

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


  • Login