Week Eight Agenda

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
 19 views
of 36

Please download to get full document.

View again

Description
Week Eight Agenda. Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines Lab assistance, questions and answers. Link of the week. http://bhami.com/rosetta.html
Share
Transcript
Week Eight AgendaAnnouncementsLink of the weekReview week seven lab assignmentThis week’s expected outcomesNext lab assignmentBreak-out problemsUpcoming deadlinesLab assistance, questions and answersLink of the weekhttp://bhami.com/rosetta.htmlA Sys Admin's Unixersal Translator (ROSETTA STONE) OR   What do they call that in this world?TasksOSsAdm. GUI AIXFile System A/UXKernel FreeBSDStart up scripts HP-UXCreate a file system LinuxMount CDROM NCR UnixAdd software Open BSD Mac OS XLink of the weekhttp://support.apple.com/kb/HT1148?viewlocale=en_USSoftware Installation Quick Assist for Mac OS Xis a great toolbox that organizes and supports your software collection.Link of the weekOpen Source Projectshttp://sourceforge.nethttp://freshmeat.netLab Assignment 13-1 Public Domain/Open Software Evaluation is due April 11, 2010. Requirements: APA Style formatCover sheet (course, instructor name, topic)Three typed pages of information (min)Reference pageLink of the weekLab Assignment 13-1 Public Domain/Open Software EvaluationBulletin Board: Open Source Presentation Sign UpNo two presentations shall be the same. Lab assignment grade components. Paper: 0 – 75 points Presentation 0 – 25 points Presentation dates: April 5 (week 14)April 12 ( week 15)Review week seven lab assignment Define: Data structure is where information is stored/collected in one place. The stored information may or may not be related. Data structures are unique in their construction so as to deliver a specific usage. Commonly data structures are arrays, hash tables, stacks, and queues. Review week seven lab assignmentinodeThe inode data structurefile mode – file permissions (rwx)count of hard links – how many hard links point to the inodefile type – executable, block specialowner idgroup idtime of last file access - timestamptime of last file modification - timestampfile size - bytesfile addresses – addresses of the blocks of storage containing the files data on a HDDReview week seven lab assignmentReview 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.
  • All inodes are data structures
  • Review week seven lab assignmentReview 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 an entry from a directory.
  • If the number of hard links is 1, removing or deleting that file will also delete the inode.
  • Review week seven lab assignmentReview week seven lab assignmentDefine: A symbolic link is a link to a directory or to a file in a different file system. A symbolic path indicates the abstract location of another file.Command: ln–s <original file name> <new file name>lrwxrwxrwx 1 root root 10 Jun 28 2005 rc0.d -> rc.d/rc0.dlrwxrwxrwx 1 root root 10 Jun 28 2005 rc1.d -> rc.d/rc1.dDefine: A physical link (hard) refers to the specific location of physical data.Command: lnprog1 prog2-rwx------ 2 dandrear faculty 318 Jun 14 21:03 prog1-rwx------ 2 dandrear faculty 318 Jun 14 21:03 prog2Review week seven lab assignmentDefine: tar tar –cf newpack.tar /export/home/dandrear tar –xvf origpack.tar tar –tvf origpack.tarDefine: gzip gzip filename.tar gzip –d filename.tar.gz gunzip filename.tar.gzDefine: bzip2/bunzip2ip bzip2 filename.tar bunzip2 filename.tar.bx2Review week seven lab assignmentInstalling the software package Package FreeBSD PortUsually, 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 assignmentDefinition: Installation of computer programs.Installation process: - Condensed package - Unpack package - Customized package - Test the functionality of the system - Configure filesReview week seven lab assignmentTwo 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 on the system.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 assignmentrpm 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-2.23- 1.i386.rpm rpm –vUh sloccount-2.23-1.i386.rpm (install tool) See the man page regarding the rpm toolReview week seven lab assignmentQUERYING 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 assignmentSoftware 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 assignmentSoftware releasesInterfaces – normally remain the constant.Implementations – actual fixes Behaviors – system changes from one implementation to anotherReview week seven lab assignmentKernel 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 assignmentTurnable ParametersUnix/Linux kernel Number of users on a systemMaximum database sizeNumber of global buffers Number of semaphores (e.g. train track)Set shared memory allocation Display: Kernel Tunable Parameters are located under the /proc/sys directory. Review week seven lab assignmentDifferent File Systems (CDFS, MEMFS, NAMEFS, NFS, SFS, S5, UFS, VXFS, ext3fs)Buffer cache Amount of memory used to transfer a file system data structure such as inodes, direct blocks, indirect blocks, and cylinder groups. Initially, you want to set up the buffer cache large enough to handle an inode data structure. Week eighth expected outcomesUpon 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 Assignmentfsckfsck is used to check and optionally repair one or more Linux file systems. If no filesystems are specified on the command line, and the -A option is not specified, fsck will default to checking filesystems in /etc/fstab serial.fsck -A Walk through the /etc/fstab file and tries to check all file systems in one run. This option is typically used by the /etc/rc system initialization file, instead of trying to use multiple commands for checking a single file system.Next Lab AssignmentThe exit code returned by fsck is the sum of the following conditions: 0 - No errors 1 - File system errors corrected 2 - System should be rebooted 4 - File system errors left uncorrected 8 - Operational error 16 - Usage or syntax error 32 - fsck canceled by user request 128 - Shared library errorNext Lab Assignment/etc/fstab/dev/vg00/root / ext3 defaults 1 1LABEL=/boot /boot ext3 defaults 1 2none /dev/pts devptsgid=5,mode=620 0 0/dev/vg00/home /home ext3 defaults 1 2/dev/vg00/opt /opt ext3 defaults 1 2none /proc proc defaults 0 0none /dev/shmtmpfs defaults 0 0/dev/vg00/tmp /tmp ext3 defaults 1 2/dev/vg00/usr /usr ext3 defaults 1 2/dev/vg00/var /var ext3 defaults 1 2/dev/vg00/swap swapswap defaults 0 0/dev/cdrom /mnt/cdromudf,iso9660 noauto,owner,kudzu,ro 0 0/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0/dev/vg02/shome /export/home ext3 defaults,acl 1 2#/dev/vg01/oracle /mnt/pkg1/orac ext3 noauto 1 2Next Lab Assignment/etc/sysconfigauthconfig gpm ip6tables-config netdump_id_dsa rawdevicesautofs grub iptables-config netdump_id_dsa.pub rhnclock harddisks irqbalance apm-scripts devlabel.d installinfo netdump prelinknetwork sendmailconsole hwconf keyboard networking syslogcrond i18n kudzu network-scripts sysstatdevlabel init mouse ntpd xinetdNext Lab AssignmentThe Installation Exercise is an exercise that requires following directions. Perform each step in the prescribed sequence and using the installation syntaxfrom this slide presentation.Create an ASCII file named 4th_log.txtCreate the following directory /$HOME/itec400/homework/4thDownload the programming language “forth”Copy compressed “tar” file to your 4th directorycd /$HOME/itec400/homework/4th cp ~dandrear/public_html/itec400/Misc/4th-3.3d2-unix.tar.gz .The expected output is an executable file called “4th”.Next Lab AssignmentGrading Criteria The size of the file “readme.txt” is recorded in “4th_log” : 0 – 15 points The prerequisites for the target ‘4th’ are recorded in “4th_log”: 0 – 15 points The size of the executable named “4th”, in bytes, is recorded in “4th_log”: 0 – 20 pointsNext Lab AssignmentDemonstrate Power Point PresentationFall2009, Power Point Presentations , seanPassword_SafeBreak-out problems1. Process ID2. User ID3. fsck4. /etc/fstab5. Turnableparameters6. Multiuser runlevel (Linux)7. /boot/vmlinuz-*8. Single user mode9. /var/mail/dandrear10. inode11. ASCII12. crond13. shared memory14. semaphore15. /etc/sysconfigUpcoming deadlines
  • Lab Assignment 6-1, Programming Assignment I is due February 28, 2010.
  • Lab Assignment 7-1, midterm exam will be administered from February 15 – 20.
  • Lab Assignment 8-1, Installation Exercise is due March 7, 2010.
  • Midterm outline is posted on the Bulletin Board.
  • Module 4 is for weeks 6,7, and 8.
  • 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
  • Related Search
    We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks
    SAVE OUR EARTH

    We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

    More details...

    Sign Now!

    We are very appreciated for your Prompt Action!

    x