Linux Operations and Administration

Slides:



Advertisements
Similar presentations
Chapter 20 Oracle Secure Backup.
Advertisements

1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 11 Windows on a Network.
DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
Operating Systems Concepts 1/e Ruth Watson Chapter 11 Chapter 11 Network Maintenance Ruth Watson.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
ITE PC v4.0 Chapter 1 1 Operating Systems Computer Networks– 2.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Network+ Guide to Networks, Fourth Edition Chapter 10 Netware-Based Networking.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Network Printing. Printer sharing Saves money by only needing one printer Increases efficiency of managing resources.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
Overview of Client Configuration By Nanda Ganesan, Ph.D. © Nanda Ganesan.
Chapter 13 Chapter 13: Managing Internet and Network Interoperability.
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition Chapter 9 Network Services.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Linux+ Guide to Linux Certification, Second Edition
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Network Client Configuration By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Overview of Client Configuration By Nanda Ganesan, Ph.D. © Nanda Ganesan.
Windows Server 2008 Chapter 8 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 10: Remote Access.
© 2006, The Technology FirmWWW.THETECHFIRM.COM 1 WINDOWS XP SUPPORT TOOLS.
Linux Operations and Administration
Ch 8-3 Working with domains and Active Directory.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
DHCP. DHCP (Dynamic Host Configuration Protocol) is a network service that enables clients to obtain network settings (IP Address, Subnet Mask, Default.
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Linux Operations and Administration
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
Lecture – Single Login NIS and Winbind. NIS Network Information Service (NIS) is the traditional directory service on UNIX platforms Still widely used.
Name Resolution Domain Name System.
DHC P Dynamic Host Configuration Protocol
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
Module 2: Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
1 Network Information System (NIS). 2 Module – Network Information System (NIS) ♦ Overview This module focuses on configuring and managing Network Information.
Configuring Network Connectivity Lesson 7. Skills Matrix Technology SkillObjective DomainObjective # Using the Network and Sharing Center Use the Network.
Linux Operations and Administration
1 Chapter 8: DHCP in IP Configuration Designs Designs That Include DHCP Essential DHCP Design Concepts Configuration Protection in DHCP Designs DHCP Design.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
Linux Operations and Administration Chapter Twelve Configuring a Mail Server.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
DHCP server & Client Objectives Contents
Chapter 3: Windows7 Part 4.
Windows Server Administration Fundamentals
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Linux Operations and Administration Chapter Seventeen Networking in a Linux Environment

Objectives Describe key functions of the Network Information Service Install and configure an NIS server and client Configure a local printer queue Install and configure a DHCP server

Network Information Service Network Information Service (NIS) A client/server protocol that centralizes user and group IDs Provides database access so that network computers can share configuration information Such as contents of /etc/passwd, /etc/shadow, and /etc/group files Maps Databases that store shared configuration information related to NIS networks

Network Information Service (cont’d.) NIS setup consists of three types of host servers: NIS master server Contains NIS maps and makes them available over the network NIS slave servers Can be used to distribute NIS master server’s load more evenly NIS clients All hosts in an NIS-based network, including master and slave servers

Network Information Service (cont’d.) NIS domain determines which NIS server should process the client request NIS uses Remote Procedure Calls (RPC) technology Standard method of allocating and managing shared resources between NIS clients and servers For NIS to operate correctly, RPC portmapper must run on both NIS client and server

Figure 17-1 NIS communication with RPC © Cengage Learning 2013

Installing and Configuring NIS Servers To install NIS, you need to have both NIS server and client Decide whether computer will be used as a master server, a slave server, or a client If an NIS server (master or slave) is already installed on Linux network: Need to install only the NIS client If there are no NIS servers on Linux network: Need to install the server as well as the client

Installing and Configuring NIS Servers (cont’d.) Before configuring system for use as an NIS server or client, provide a domain name for the computer Done to ensure that a client and server in the same domain can communicate with each other A client can’t access a server in a different domain

Creating an NIS Domain domainname command Can be used to create an NIS domain Must be issued from root user account when setting a domain name To save NIS domain name permanently: Edit runlevel script /etc/init.d/network Specify NIS domain name in the script Example: # Set the NIS domain name domainname example

Installing an NIS Master Server NIS master server contains source files for all NIS maps in a domain OpenSUSE Provides an NIS client by default Need to install an NIS server yast2 -i yast2-nis-server command Used to download and install nis-server RPM package and dependencies Works from root user account

Configuring an NIS Master Server in YaST yast2 nis-server command Used to start YaST NIS Server module Opening window of module shows the current status of NIS server Master Server Setup window NIS Master Server Slaves Setup window NIS Server Maps Setup window NIS Server Query Hosts Setup window

Figure 17-2 The Network Information Service (NIS) Server Setup window © Cengage Learning 2013

Figure 17-3 The Master server Setup window © Cengage Learning 2013

Figure 17-4 The NIS Master Server Slaves Setup window © Cengage Learning 2013

Figure 17-5 Selecting NIS maps © Cengage Learning 2013

Figure 17-6 The NIS Server Query Hosts Setup window © Cengage Learning 2013

Configuring an NIS Master Server Manually After NIS server and client are installed, /var/yp/ directory is created on the same computer to store all NIS maps Each NIS map consists of two files: Index Contains key values (also called “indices”) of an NIS map arranged in hash order Has a .dir extension Data Contains actual data related to a key value Has a .pag extension

Configuring an NIS Master Server Manually (cont’d.) Table 17-1 Describes some commonly used NIS maps After NIS Server module is started, NIS exports data to /var/yp directory /var/yp/Makefile A NIS configuration file in /var/yp directory Can be run with make file command This command can be issued only from /var/yp directory Used to push updated maps to NIS slave server

Configuring an NIS Master Server Manually (cont’d.) Table 17-1 Common NIS maps

Configuring an NIS Master Server Manually (cont’d.) /var/yp/securenets A NIS configuration file in /var/yp directory Specifies NIS clients’ access rights to NIS server Activity 17-1: Installing and Configuring an NIS Server Install and configure an NIS server in YaST

Installing and Configuring NIS Clients YaST NIS Client module is packaged with latest version of openSUSE To start NIS Client module, use yast2 nis-client command Activate NIS by clicking Use NIS option button Define NIS policy to specify how NIS configuration will be modified Default: it’s handled by netconfig script Only Manual Changes option Custom Policy option

Figure 17-7 Configuring the NIS client © Cengage Learning 2013

Installing and Configuring NIS Clients (cont’d.) Netconfig is a modular tool for managing network configuration settings Need to specify NIS domain Enter NIS server IP address Broadcast check box Start Automounter check box

Installing and Configuring NIS Clients (cont’d.) Open Port in Firewall check box Can use Expert button to open Expert settings window Answer Remote Hosts setting Broken server setting Activity 17-2: Configuring an NIS Client Configure an NIS client in YaST

Figure 17-8 The Expert settings window © Cengage Learning 2013

Managing Other Network Services Linux provides network services for managing many important administrative tasks Two of the essential network tasks: Manage print queues Manage IP addresses on a network

Network Printing in Linux Common UNIX Printing System (CUPS) Provides a printing interface on a local network CUPS software converts many different types of files into data a printer can understand and process CUPS software referred to as a filter Enables CUPS to print to a wide variety of printers Printer device Physical printer that transfers a print job from a computer to actual hard copy

Network Printing in Linux (cont’d.) Printer driver Software used to manage the printer device Print queue A directory file where the printer daemon can store print jobs Multiple users can use the same printer device YaST Printer Configurations module Used to set up local or remote printer queues

Network Printing in Linux (cont’d.) Remote printer queue Located on another host in the network, not on your local computer You can access and use remote printer queues, but can’t modify them from your local computer yast2 printer command Used to start YaST Printer Configurations module

Figure 17-9 The Printer Configurations window © Cengage Learning 2013

Figure 17-10 The Print via Network window © Cengage Learning 2013

Figure 17-11 The Share Printers window © Cengage Learning 2013

Overview of DHCP in Linux Used to assign IP addresses automatically for each network host You don’t have to configure each host separately Can be used to configure other network client settings, such as: Setting up name server entries in /etc/resolv.conf file Configuring host gateway information

Overview of DHCP in Linux (cont’d.) Table 17-2 Describes some identifying information that DHCP provides DHCP server leases IP addresses for a period you specify and assigns them to client computers dynamically Useful when not all computers in a network stay connected permanently

Configuring a DHCP Server YaST DHCP module Not included with openSUSE You have to install DNS/DHCP pattern yast2 dhcp-server command Used to start DHCP module

Figure 17-12 Configuring dynamic DHCP settings © Cengage Learning 2013

Configuring a DHCP Server (cont’d.) Settings you can make in each window: Card Selection Select NICs for DHCP server Open the firewall to allow access to DHCP server from remote computers Global Settings Configure settings such as domain name, primary and secondary name servers’ IP addresses, default gateway, and WINS server IP address

Configuring a DHCP Server (cont’d.) Dynamic DHCP Review subnet information, such as network and netmask addresses Configure IP address range and lease time Start-up Specify that DHCP server starts automatically when your Linux machine boots

Configuring a DHCP Server (cont’d.) Expert configuration mode Can be used to fine-tune settings for DHCP server Host Management window Can be used to configure static allocation A host can be assigned the same IP address every time it connects to the network

Summary Network Information Service is a client/server protocol that centralizes user and group IDs NIS master server contains source files for all NIS maps in a domain and makes them available Installing NIS server also installs NIS client NIS slave servers are used to distribute the master server’s load more evenly All hosts in an NIS network are called NIS clients domainname command is used to display or temporarily specify NIS domain name

Summary (cont’d.) yast2 -i yast2-nis-server command is used to install YaST NIS Server module Module started with yast2 nis-server command NIS maps are multicolumn database files storing key/value pairs that provide fast database access YaST Printer Configurations module uses printer daemons, such as CUPS, for setting up a local or network printer Module started with yast2 printer command

Summary (cont’d.) CUPS provides a printing interface on a local network that’s used to convert files into data a printer can process Printer device is the physical printer that transfers a print job from a computer to actual hard copy A printer driver is the software used to manage a printer device DHCP is used to assign IP addresses automatically for each network host Module started with yast2 dhcp-server command