University of Texas Rio Grande Valley Systems Administration CSCI 6175

Slides:



Advertisements
Similar presentations
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Advertisements

Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Tutorial 1 Introduction to Java Programming Bo Chen Department of Computer Science.
Application Repackaging - Naushad Ali T Doddamani.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Introduction to Java.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.
Linux Operations and Administration
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
Package Management How to use rpms. Topics The Problem of Software Installation Package Management Systems Using RPM Finding RPMs Building RPMs.
Linux Package Management Dr. Michael L. Collard 1.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Package Management.
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.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
Java and C# [this is a bonus – it is not a required lesson] ACO101: Introduction to Computer Science.
POS 406 Java Technology And Beginning Java Code
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
Deploying Software with Group Policy Chapter Twelve.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Sys Admin Course Package Management Fourie Joubert.
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
3/5/2002e-business and Information Systems1 Java Java Java Virtual Machine (JVM) Java Application Program Interface (API) HW Kernel API Application Programs.
Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.
Execution ways of program References: www. en.wikipedia.org/wiki/Integrated_development_environment  You can execute or run a simple java program with.
Debian Package Management
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
 CSC 215 : Procedural Programming with C C Compilers.
System Administration Application Management. ● A common task for a system administrator is the installation, updating and removal of software. Several.
Introduction to Android Programming
Packaging and Deploying Windows Applications
Installing Applications in FreeBSD
CSC 215 : Procedural Programming with C
Chapter 9 Managing Software
Installation of MySQL Objectives Contents Practical Summary
CIT 470: Advanced Network and System Administration
Hadoop Architecture Mr. Sriram
Linux Command RTFM: rpm(8) & yum(8)
Install external command line softwares
Chapter 7 Installing Program &Backup Tool
Managing Software.
The Linux Operating System
Build and Package CSE 403 section, 2011 Feb 3, Hao Lu.
Programming without BlueJ Week 12
More Scripting & Chapter 11
RedHat Package Management
How to Run a Java Program
IS3440 Linux Security Unit 8 Software Management
COP 4343 Unix System Administration
Java Intro.
Run Java file with Window cmd
Cordova & Cordova Plugin Installation and Management
Review of Previous Lesson
Presentation transcript:

University of Texas Rio Grande Valley Systems Administration CSCI 6175 University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Instructor Robert C. Jackson Applications and Package management systems

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Application and Package management also known as software management is a collection of tools involved with application and software installation, removal, upgrades, package formats and repositories, such that the OS is maintained in a consistent state. These managers deal with distributions, metadata, dependencies, archives and checksums. Package managers usually eliminate the need for manual installation of software. On the other hand source code applications need to be compiled and built manually. These applications must be manually synchronized with the systems application database, where applicable.

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Windows Application Manager: - Windows Installer is used for installation, maintenance and removal of windows applications. Installation files and information are packaged into installation packages, COM files and MSI (MS Installer) files. - Packages have a structure consisting of Products, features, components and Key Paths. - Package Setup consists of several phases, these are: User interface, execution, and rollback. - Windows Installer can advertise rather than install a package, install on demand, allow administrative installation, merge applications, interoperate with other Windows features, extract files and custom install. - installer packages can be created using Visual studio and must interact with pertinent DLL’s and the registry.

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Windows Package management - creating a windows MSI package 1. Create project 2. Add files 3. Build and install 4. Remove installed file 5. Edit product and company names 6. Create shortcuts 7. Change product version - see: http://www.advancedinstaller.com/user-guide/tutorial- simple.html

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Windows Package management creating an application from source To write your program, you'll need: 1) The Java SE Development Kit 8 (JDK 8) You can download the Windows version now. (Make sure you download the JDK, not the JRE.) Consult the installation instructions. 2) A text editor (notepad will do) 3) Create a source file /**  * The HelloWorldApp class implements an application that  * simply prints "Hello World!" to standard output.  */ class HelloWorldApp {     public static void main(String[] args) {         System.out.println("Hello World!"); // Display the string.     } } 4) Save file as HelloWorldApp.txt, with encoding as ANSI. 5) Compile the source file into a .class file In a CMD window type: javac HelloWorldApp.java 6) Run compiled java application In CMD window type: java -cp . HelloWorldApp

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management - for RHEL use yum, rpm or manual tools, to install, upgrade and remove applications. The following is a list of the most commonly-used yum commands. For a complete list of available yum commands, refer to man yum. - yum install <package name/s> - yum update <package name/s> - yum check-update - yum remove <package name/s> - yum provides <file name> - yum search <keyword> - yum localinstall <absolute path to package name/s> By default, yum is configured through /etc/yum.conf

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management Sample /etc/yum/conf [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 [myrepo] name=RHEL 5 $releasever - $basearch baseurl=http://local/path/to/yum/repository/ enabled=1

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management Sample /etc/yum/conf The [repository] section of the /etc/yum.conf file contains information about a repository yum can use to find packages during package installation, updating and dependency resolution. A repository entry takes the following form: [repository ID] name=repository name baseurl=url, file or ftp://path to repository

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management Using rpm (RPM Package Manager) refer to man rpm for information: install a RPM package rpm -ivh foo-1.0-2.i386.rpm uninstall a RPM package rpm –e some_package upgrade a RPM package rpm –Uvh foo-2.2.3-x86_64.rpm Query a package rpm –q foo Display package information rpm –qi foo List files in a package rpm –ql foo Check dependencies of a package rpm -qpR BitTorrent-5.2.2-1-Python2.4.noarch.rpm - See http://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/ for more examples.

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management Red Hat Manual Package Management get package - wget <link to tar.gz file> Unzip tar.gz file - tar –zxvf <*.tar.gz file> Cd to directory where source is (where the configure script is locate). READ the INSTALL or README file. Get configure help - configure –help | less Configure build environment, and generate Makefile. - ./configure Compile source distribution - make Install executables - make install

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management for Ubuntu and debian use apt (Advanced Package Tool), dpkg, or manual tools. How to fetch updates - apt update upgrade all packages currently installed on the system - apt upgrade list packages that can be upgraded on the system - apt list –upgradeable install a new package - apt install <package_name> Remove a package apt remove <package_name> remove both package and config files - apt purge <package_name> Search packages - apt search <package_name> Find info about packages - apt show <package_name> List all packages - apt list

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Application Management for Ubuntu and debian use apt (Advanced Package Tool), dpkg (debian package manager), or manual tools. List packages - dpkg –l  dpkg –l | grep apache  list apache webserver List specific package - dpkg –L apache2 Determine which package installed a file of executable - dpkg –S /etc/host Install a debian package - dpkg -i flashpluginnonfree_2.8.2+squeeze1_i386.deb Remove a debian package - dpkg -r flashpluginnonfree

Applications and Package management systems University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Applications and Package management systems Linux Package management Ubuntu and Debian manual package management get package - wget <link to tar.gz file> Unzip tar.gz file - tar –zxvf <*.tar.gz file> Cd to directory where source is (where the configure script is locate). READ the INSTALL or README file. Get configure help - configure –help | less Configure build environment, and generate Makefile. - ./configure Compile source distribution - make Install executables - make install

University of Texas Rio Grande Valley Systems Administration CSCI 6175 University of Texas Rio Grande Valley Systems Administration CSCI 6175.01 Fall 2016 Q&A