Week Eight Agenda Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines.

Slides:



Advertisements
Similar presentations
Linux Booting Procedure
Advertisements

Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Guide To UNIX Using Linux Third Edition
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Chapter 11 Compression, System Backup, and Software Installation.
Linux Operations and Administration
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Guide To UNIX Using Linux Fourth Edition
Linux+ Guide to Linux Certification
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
Agenda Midterm Exam Issues Link of the Week This Week’s Expected Outcomes Review for midterm exam Moving around in UNIX Break-Out Problems Upcoming Deadlines.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Week Seven Agenda Announcements Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Week Seven Agenda Announcements Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Week Eight Agenda Announcements Link of the week Display inode information This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
File Systems CSCI What is a file? A file is information that is stored on disks or other external media.
Week Eight Agenda Announcements Link of the week Display inode information This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Upcoming deadlines.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Week Six Agenda Announcements (in-class question) Link of the week Review week four lab assignment This week’s expected outcomes Next lab assignment Review.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
ITI Chris Uriarte ITI-481: Unix Administration Meeting 2 Rutgers University Center for Applied Computer Technologies Chris Uriarte, Instructor.
Week Six Agenda Announcements Link of the week Review week four lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Software in the Data Protector Architecture
Week Nine Agenda Link of the week Review week eighth lab assignment Week nine expected outcomes Next lab assignment Break-out problems Upcoming deadlines.
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.
Week Eight Agenda Announcements Link of the week Display inode information This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Chapter Linux Basics. Acknowledgements This presentation was prepared by – Banyat Settapanich – Bahran Madaen This presentation will be updated later.
Week Seven Agenda Announcements Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming.
Week Seven Agenda Announcements Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Upcoming deadlines Lab.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Embedded Software Design Week II Linux Intro Linux Kernel.
Fall 2011 Nassau Community College ITE153 – Operating Systems 1 Session 5 Files.
Week Seven Agenda Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines.
Agenda The Linux File System (chapter 4 in text) Linking Files Hard Links / Symbolic Links Disk Storage Checking for Disk Space (df / du) Archiving (Backing.
Week Eight Agenda Announcements Link of the week
Guide to Linux Installation and Administration, 2e
Today topics: File System Implementation
Managing Software.
ITEC400 Week Seven Instructor Professor D’Andrea.
Week Seven Agenda Announcements Link of the week
Operation System Program 4
University of Texas Rio Grande Valley Systems Administration CSCI 6175
IS3440 Linux Security Unit 7 Securing the Linux Kernel
COP 4343 Unix System Administration
SUSE Linux Enterprise Desktop Administration
Linux and TCP/IP Networking
Presentation transcript:

Week Eight Agenda Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines Questions and answers

Link of the week Firmware Open Source Projects Define: Firmware Advantages of Firmware Do firmware memory chips require electrical power?

Review week seven lab assignment Define: tar tar –cf newpack.tar /export/home/dandrear tar –xvf origpack.tar tar –tvf origpack.tar Define: gzip gzip filename.tar gzip –d filename.tar.gz gunzip filename.tar.gz Define: bzip2/bunzip2 Installing the software package Package FreeBSD Port

Review week seven lab assignment Every file is associated with one inode The inode contains the following information: file mode count of hard links owner id group id time of last file access time of last file modification file size file addresses

Review week seven lab assignment

The directory maps file names to inodes. Each file has one inode. The number of inodes is a kernel parameter value set manually or dynamically by the operating system. Each file may have more than one directory entry. Inodes contain a list of disk block addresses. Demonstrate ls –i and ls –li commands

Review week seven lab assignment

When there are multiple hard links, more directory entries point to the same inode (same file name) An inode can only hold a fixed number of direct data block addresses (10 for Linux). Large files use indirect block addresses. The inode keeps a count of the number of hard links that point to it. Deleting a file deletes and entry from a directory. If the number of hard links is 1, removing or deleting that file will also delete the inode. Demonstrate ls –li /etc physical links

Review week seven lab assignment

A symbolic link is a link to a directory or to a file in a different file system. Recall that Unix/Linux combines all the file systems into a single integrated tree structure.

Review week seven lab assignment Two choices for installing a project 1. Install binaries from a package called rpm in Red Hat rpm checks for dependencies and conflicts with other installed packages

Review week seven lab assignment 2. Install from source code Allows for custom installations Allows for code modifications Optimum compilation for target platform

Review week seven lab assignment rpm is a tool rpm –q sloccount (query to see if tool exists) If the tool isn’t on your system, create a directory named sloccount Download name sloccount i386.rpm rpm –vUh sloccount i386.rpm (install tool) See the man page regarding the rpm tool

Review week seven lab assignment QUERYING AND VERIFYING PACKAGES: rpm {-q|--query} [select-options] [query-options] rpm {-V|--verify} [select-options] [verify-options] rpm --import PUBKEY... rpm {-K|--checksig} [--nosignature] [--nodigest] PACKAGE_FILE... INSTALLING, UPGRADING, AND REMOVING PACKAGES: rpm {-i|--install} [install-options] PACKAGE_FILE... rpm {-U|--upgrade} [install-options] PACKAGE_FILE... rpm {-F|--freshen} [install-options] PACKAGE_FILE... rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage] [--test] PACKAGE_NAME...

Review week seven lab assignment Usually, the source files are packaged in a compressed archive file (.tar.gz). After downloading, the.tar.gz file, use the tar tool to uncompress the un-package the source files.

Review week seven lab assignment Software Installation of UNIX/Linux typically goes something like this: Download the software, which might be distributed in source code format, or as a binary. Unpack the software from its distribution format (typically a tarball compressed with compress, gzip, or bzip2 Locate the documentation (perhaps an INSTALL or README file, or some files in a doc/ subdirectory) and read up on how to install the software. If the software was distributed in source format, compile it. This may involve editing a makefile, or running a configure script, and other work. Test and install the software.

Review week seven lab assignment Kernel is the central component of most operating systems. It’s responsibility is to manage the system’s resources and communicate between the hardware and software. Kernel space is allocated for the kernel. Users aren’t able to access this area. Kernel space is generally larger than user space. User space is a memory area where all user mode applications are performed. This memory area is swappable if necessary.

Review week seven lab assignment Turnable Parameters Unix/Linux kernel semmni, semmns, aand semmsl reflect the number of semaphores per set/Cache uses shmmax, shmmni, shmseg, and shmall reflect shared memory allocation maxusers, pt_cnt, use_mxcc_prefetch Filesystem (CDFS, MEMFS, NAMEFS, NFS, SFS, S5, UFS, VXFS) Buffer cache Amount of memory used to transfer a file system data structure such as inodes, indirect blocks, and cylinder groups.

Review week seven lab assignment Demonstrate /etc/sysconfig is the location of configuration files. Software releases Interfaces – normally remain the constant. Implementations – actual fixes Behaviors – system changes from one implementation to another

Week eighth expected outcomes Upon successful completion of this module, the student will be able to: Create make file scripts for software programs. Use pattern rules in make files. Create an effective PowerPoint presentation. Create make files with multiple targets. Install software packages on a server.

Next Lab Assignment The Installation Exercise is an exercise that requires following directions. Perform each step in the prescribed sequence and syntax. Create an ASCII file named 4 th _log.txt Create the following directory /$HOME/itec400/homework/4 th Download the programming language “forth” Copy compressed “tar” file to your 4 th directory cd /$HOME/itec400/homework/4 th cp ~dandrear/public_html/itec400/Misc/4th-3.3d2-unix.tar.gz.

Next Lab Assignment The expected output is an executable file called “4 th ”. Commands who –r fsck /etc/fstab (view on cs.franklin.edu) ls –x or ls -a

Break-out problems Firmware BIOS Master Boot Record (MBR) Paging System panic Virtual memory /boot/vmlinuz-* Single user mode init process ASCII FreeBSD software

Upcoming deadlines Programming Assignment 1, 6-1 is due 6/22/08. Installation Exercise, 8-1 is due 6/29/08 Startup/Shutdown, 10-1 is due 7/6/08

Questions and answers Questions Comments Concerns I am available after this Franklin Live session to discuss any problems and/or concerns regarding the lab assignments