ITR3 lecture 8: more UNIX, DNS and mail Thomas Krichel 2002-11-05.

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

ITR3 lecture 9: DNS, mail, rsync Thomas Krichel
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.
Linux Booting Procedure
Web Server Administration
Web Server Administration Chapter 4 Name Resolution.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
Exploring the UNIX File System and File Security
Chapter 4 - Lab DNS Configuration in Linux.  DNS Configuration in Linux Projects 4-1 through 4-3 Projects 4-4 deals with multiple domains  DNS Configuration.
1 Web Server Administration Chapter 3 Installing the Server.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Lesson 22 – Introduction to Linux Systems Administration.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
ES 101. Module 3 Domain Name System (DNS). Last Lecture Routing and IP addressing.
Linux Operations and Administration
1. This presentation covers :  User Interface Administration  Files System and Services Management 2.
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
Guide To UNIX Using Linux Fourth Edition
LIS508 lecture 8: tcp/ip and domains Thomas Krichel
Manage Directories and Files in Linux
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
Chapter Two Exploring the UNIX File System and File Security.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Linux Introduction What is Linux? How do you use it?
USING YOUR INSTALLED LINUX SYSTEM.  Common Linux Tasks  Installing Custom Packages  Common GUI Applications  Command Line Shell  Directory Structure/Navigation.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
CIS 192B – Lesson 2 Domain Name System. CIS 192B – Lesson 2 Types of Services Infrastructure –DHCP, DNS, NIS, AD, TIME Intranet –SSH, NFS, SAMBA Internet.
Linux Operations and Administration
4343 X2 – Outline The Domain Name System The Web.
Linux Operations and Administration
SUSE Linux Enterprise Desktop Administration Chapter 7 Manage Directories and Files.
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II FILES AND FILE SYSTEM STRUCTURE.
File System Implementation
Welcome to Linux Chap#1 Hanin Abdulrahman.
UBUNTU INSTALLATION
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
C151 Multi-User Operating Systems
DNS.
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
Structure of Unix OS.
9 Linux on the Desktop.
Exploring the UNIX File System and File Security
Operating Systems Lecture 4.
Installing Linux Redhat:
Implementing Active Directory
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

ITR3 lecture 8: more UNIX, DNS and mail Thomas Krichel

Directory tree I /bin Essential command binaries /boot Static files of the boot loader /dev Device files /etc Host-specific system configuration /home User home directories /lib Essential shared libraries and kernel modules /mnt Mount point for mounting a file system temporarily

Directory tree II /proc Virtual directory for system information /root Home directory for the root user /sbin Essential system binaries /tmp Temporary files /usr Secondary hierarchy /var Variable data /opt Add-on application software packages

The kernel is /vmlinuz Note that this is a symlink, set by lilo It is supplemented by a number of modules that can be on and offloaded. Modules live in /lib/modules modconf can be used to add and remove modules.

Important System binaries badblockscheck disk for bad blocks on disk cfdiskdisk partitioning tool e2fsckfile system checking tool initinitial program insmodinsert module in kernel kbdrateset keyboard rate important! kernelversionshows version of kernel

Other important system binaries liloinstalls loading lsmodshows modules mke2fsdisk formatting pumpsimple dhcp client shutdownshut down machine swaponswap dateshows if you have a date hostnameshows host name mvmoves files

Other utilities pwd shows the current directory passwdsets password tar archiver dselectdebian package installer basenamebase name of a file clearclears screen cutcuts text diffdifference between files

processes A software that is running on a machine is called a process. top is a utility to see what processes are running and who is running them. Kill -9 number kills the process. If the process is a daemon, it is best to use /etc/init.d/daemon stop so that it exits gracefully. Start again with /etc/init.d/daemon restart

compression Some files are held in compressed form. On Linux machines, zip-lempel is popular, files that are compressed in this way have an extension.gz. Use gzip to create compressed files. Use gunizip file.gz to uncompress a file Use zcat file.gz to display an uncompressed file.

File editing Emacs is a large file editor used by geeks. For beginners, nano is better. Nano is a pico clone available under the GPL. The commands available are being displayed in the menu ^C where I is a letter, means pressing I and control at the same time.

ntp Is the network time protocol, used to make sure that the time that you have an a machine is the same correct. The correct time is given to you by a server. A list of public servers is given on a web page Use /etc/init.d/ntp to install ntp properly. Get a use a public time server and add its name as a server where to get the time from

DNS A host name associates a human-friendly name with an IP address. Example: trabbi.liu.edu = Finding an IP for a name is called a name lookup. The reverse is a reverse lookup. Names are a sequence of labels, separated by dot. Names may contain letters, numbers and hyphens. They may not start with a hyphen. Names solve from right to left, contrary to addresses, that resolve from left to right.

purpose Allows to keep constant name for –changing machines –changing the location of the machine. Makes it easier for humans to remember access points to services. Establish brand names and have an economic value

History of DNS In the 70s, one single file HOSTS.TXT was maintained at SRI-NIC, downloaded frequently by all hosts on the Internet. Problems –traffic and load –name collisions –Consistency 1984, Paul Mockapetris releases RFC822 and RFC883 that describe the Domain Name System DNS. First implementation software called JEEVES.

ddclient Allows you to get a domain name despite changing IP address. Open an account with dyndns.org, get password. Then go to “create new host” Enter data that is requested. Enter data on the client in /etc/ddclient Start ddclient /etc/init.d/ddclient start

DNS and domains DNS is –distributed database –client server architecture –general purpose –hierarchical structure –independent of physical structure

Berkeley Internet Name Domain BIND is an implementation of the Domain Name System (DNS) protocols and provides an openly redistributable reference implementation of the major components of the Domain name system, including –a Domain Name System server (named) –a Domain Name System resolver library –tools for verifying the proper operation of the DNS server

Example openlib.org. IN SOA wotan.liu.edu. tkrichel.wotan.liu.edu. ( ; Serial ; Refresh after 3 hours 3600 ; Retry after 1 hour ; Expire after 1 week ; Minimum ttl of 1 day ) openlib.org. IN NS wotan.liu.edu. ; primary server, the one which holds the authoritative info (this file) openlib.org. IN NS utserv.mcc.ac.uk. ; secondary servers -- if they are willing to be. At least one is necssesary. openlib.org. IN A fasolt.openlib.org IN CNAME wotan.liu.edu. openlib.org. IN MX 1 wotan.liu.edu. trabbi.openlib.org. IN TXT "hello world"

Mail configuration Exim is the default mailer on Debian. Use exim_config to configure it. Use to handle mail for your domain only, don’t relay mail for other domain, this could be problematic. If you want to configure mailman for mailing list, you will have to manually edit the exim.conf file.

mutt "All mail clients suck. This one just sucks less." creator of mutt, circa 1995 System wide configuration /etc/Muttrc /home/user/.muttrc overwrites this system- wide features. You may wish to set the editor to nano before mailing. Generally, an extremely configurable software.

Thank you for your attention!