Day 7 Installing Software RPM tar, mtools make, ssh.

Slides:



Advertisements
Similar presentations
การใช้ระบบปฏิบัติการ UNIX พื้นฐาน บทที่ 4 File Manipulation วิบูลย์ วราสิทธิชัย นักวิชาการคอมพิวเตอร์ ศูนย์คอมพิวเตอร์ ม. สงขลานครินทร์ เวอร์ชั่น 1 วันที่
Advertisements

LinuxChix Africa UNIX BASICS. To r00t or not to r00t ● Unix security is (in most cases) binary. Either you are root or you are not. – Effects on permissions.
In this assignment you are going to read floppy disk. You can run ‘mdir’ Unix function to see what output your program should give. FAT-12 MS-DOS file.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
Exploring the UNIX File System and File Security
1 Web Server Administration Chapter 3 Installing the Server.
Linux+ Guide to Linux Certification, Second Edition
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
How to install the Zelle graphics package
Tutorial 0 SimpleScalar Installation CPEG-323 Intro. To Computer Engineering Tom St. John September 19, 2008.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Format Scandisk Defragmentation Antivirus Compression Software
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
UNIX. find command ● The find command is used to locate files on a Unix or Linux system. find will search any set of directories you specify for files.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Linux Basics. What is an Operating System (OS)? An Operating System (OS) is an interface between hardware and user which is responsible for the management.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Chapter 11 Compression, System Backup, and Software Installation.
Lesson 4 Computer Software
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
STAR Software Basics Introduction to the working environment Lee Barnby - Kent State University.
Linux Operations and Administration
Linux+ Guide to Linux Certification
Backup Techniques Objectives –to illustrate practical application of backup utilities Contents –using dd, a direct device access command –manipulating.
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,
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Lesson 11-Locating, Printing, and Archiving User Files.
Linux Operations and Administration
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Software.
NATIONAL PARTNERSHIP FOR ADVANCED COMPUTATIONAL INFRASTRUCTURE SAN DIEGO SUPERCOMPUTER CENTER Coroner’s Toolkit: An Introduction Victor Hazlewood
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
O.S.C.A.R. Cluster Installation. O.S.C.A.R O.S.C.A.R. Open Source Cluster Application Resource Latest Version: 2.2 ( March, 2003 )
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
Find Find basics. find ~ -name myfile –print find directory criteria This will search the home directory (~) looking for files.
1 Lecture 5 Additional useful commands COP 3353 Introduction to UNIX.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Htar Hpss Tape Archiver Client API-based interface written by Mike Gleicher Originally commissioned for LLNL in 2000 Now available as part of the HPSS.
Chapter 0 Getting Started. Objectives Understand the basic structure of a C++ program including: – Comments – Preprocessor instructions – Main function.
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
Technology Vocabulary By: Rakeysha Patterson. Search Engine  A computer program that searches documents, especially on the World Wide Web, for a specified.
Application Software System Software.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Feb 3 rd, 2009 Essential Unix Commands …the second half.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Hp education services education.hp.com hp education services education.hp.com 1 HP World/Interex 2002 Linux System Maintenance Basics Chris Cooper (734)
Chapter Linux Basics. Acknowledgements This presentation was prepared by – Banyat Settapanich – Bahran Madaen This presentation will be updated later.
Software Installation and Copyrights Basic Computer Concepts Installation Basics  Installation Process  Copy files from distribution disks.
Week Seven Agenda Announcements Link of the week Review week six lab assignment This week’s expected outcomes Next lab assignment Upcoming deadlines Lab.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
Software Management Linux Software Package File Extensions Extension File.rpm Software package created with the Red Hat Software Package Manager, used.
Chapter 19 File System Backup. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To describe how files and directories can be archived.
به نام خدای مهربان زبان تخصصی دانشجویان کامپیوتر English for Computer Students درس 3 جوانمرد Ejavanmard.blogfa.com
tar: The tape archive program _______________________ Amber Jain IC-2K7-05 _______________________.
BIF713 Managing Disk Space.
Chapter 7 Installing Program &Backup Tool
Chapter 3 Software Interfaces.
Compilers, Make and SubVersion
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Presentation transcript:

Day 7 Installing Software RPM tar, mtools make, ssh

Mtools In Unix accessing floppy drives can be tricky. –Floppy disks can be used as Unix devices. –When the disk is inserted, you would mount it into the file system. Typically done under /dev/floppy –Before removing the disk you would need to unmount it. This disk would only be readable in another Unix system. To use a disk is Dos format, you can use the Linux mtools.

The Tools mdir a: –This will list of files on the DOS formatted floppy. mcopy a: –This will copy a file from your UNIX directory to the floppy mcopy a:/. –This would copy a file from the floppy to the current directory mmove –Move/Rename a file mdel –Delete a file.

Software Packages Redhat package manager (rpm) –From the command line: rpm –q –a –Will show you all currently installed packages gnorpm –Graphical version, which is a little nicer and allows you to not have to remember the 1000 parameters you can pass to rpm

Installing New Software Most software companies distribute their software in both source code and binary formats. –If you get a source code version, you will have to compile it yourself. This is a lot of trouble, avoid it if possible. –If you get a binary version, for linux it will be distributed as either a.bin (which is should be executable if you set permissions for it) or a.rpm (which means you can install it directly with the rpm command. Some distribute software with tar.

What is tar? TAR was originally created as a standard format to write information to a Tape device in Unix. –Tape Archive. Today its used frequently as a way to distribute multiple files together. –Files which are tar files typically end with.tar. –Its often the case that a tar file is then gziped to shrink its size. Hence the ending:.tar.gz *OR*.tgz

Creating a new Tar file tar cvf filename.tar * –This would (C)reate a file, using (V)erbose output, putting input into a (F)ile. –The file name will be filename.tar. –Into it we will put all files in the current directory. Create a tar archive of your home directory. –Call it backup.tar

Verifying a tar file To see what’s in a tar file: tar tf filename.tar –This will give you a (T)able from a (F)ile called filename.tar

Opening a tar file tar xvf filename.tar –Will e(X)tract, in a (V)erbose manner, from the (F)ile filename.tar Be sure you put the files where you want them. The directory structure is also stored in the tar file.

Compiling Code If software is distributed as source code, they are giving you the C or C++ code which a programmer wrote. –You will need to compile it. –In Unix there are a few variants of compiler gcc –GNU C and C++ compiler make –General utility which is used to specify which files to compile and in what order.

Installing SSH Download ssh from the front class web page on Kahuna. Install it using: –This comes as source code. –First gunzip the file, then extract the tar archive. –Then we will have to compile it../configure make make install

Using SSH Test it out, by trying to connect to kahuna. –ssh -l enda kahuna.clayton.edu You will be prompted about a security warning, and to save the key. –Accept any changes it asks for. You may now delete the build directory

Install Star Office Star Office is the equivalent of MS-Office. –It was created by Sun. –Freely available.