The Yum Server. 1. Configuring Yum Server (Say Server IP is ) 2. Configuring Yum Client (Say Client IP is

Similar documents
About yum. Front-end to rpm. Replacement for up2date. Designed to resolve package dependencies Can locate packages across multiple repositories 1-19

Prepared by Shiba Ratna Tamrakar

EX200 - EX200 Red Hat Certified System Administrator (RHCSA) Exam

EX200 Q&A. DEMO Version

Exam Questions EX200

EX200 Exam Questions Demo Red Hat. Exam Questions EX200

SYMANTEC SOLUTIONS DEPLOYMENT GUIDE. Single-Step Deployment of Veritas TM Storage Foundation and High Availability on RHEL 6.4/6.

ULTEO OPEN VIRTUAL DESKTOP CENTOS 6.0 SUPPORT

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

Red Hat.Actualtests.EX200.v by.Dixon.22q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator (RHCSA) Exam

Braindumps EX200 15q

EX200 EX200. Red Hat Certified System Administrator RHCSA

EX200.Lead2pass.Exam.24q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator RHCSA. Version 14.0

Vendor: RedHat. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator - RHCSA. Version: Demo

Seltestengine EX200 24q

DCRUM 12.x AMD application installation process

NetBackup Deployment Template User Guide for Chef

Pulp Python Support Documentation

Package Manager. RPM (Red Hat Package Manager)

Using the MySQL Yum Repository

Installing Datameer with MapR on an Edge Node

Ensim Pro and Ensim Basic for Linux Upgrade Guide

MRCP. Yandex SS Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

APACHE INSTALLATION & BASIC CONFIGURATION. Thursday, November 8, 12

Linux Software Management. Linux System Administration COMP2018 Summer 2017

To configure the patching repository so that it can copy patches to alternate locations, use SFTP, SCP, FTP, NFS, or a premounted file system.

CentOS 7 with MariaDB

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

Step by Step SQL 17 Installation on CentOS Linux Release 7.4.

Kramer Electronics, Ltd. ETHERNET Configuration (FC-11) GUIDE

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

SGI REACT includes the SGI REACT library for Linux hard real-time performance,

Setting Up Identity Management

Deployment Guide: IBM BigInsights with IBM Spectrum Scale and Ambari

YUM utilities on AIX

Notes for Installing RedHawk Linux 7.0 with Red Hat Enterprise Linux 7.0. Installation Notes. March 22 nd, 2015

Introduction. Ok. So you've got a brand new Linux box. Now what? How do you: Keep your system updated? Apply security fixes?

Here are tips on configuring various OS and application software to use firewall proxies and overcome proxy issues.

MRCP. RPM Installation Manual. Administrator Guide. Powered by Universal Speech Solutions LLC

Ensim Pro and Ensim Basic 4.0 for Linux (Standalone) Upgrade Guide

MRCP. Bing SS Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

MRCP. Yandex SR Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

mod_ssl.x86_64 1: el6.centos Complete! Start the Webserver service httpd start Starting httpd: [ OK ]

Hortonworks Cybersecurity Platform

MRCP. Google SR Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

Zend Server Cluster Manager 5.6 Installation Guide

Package Management System

Linux Systems Administration Getting Started with Linux

Hortonworks DataFlow

MRCP. Asterisk Modules. Administrator Guide. Powered by Universal Speech Solutions LLC

RPM and Yum. How to manage your packages without UPS. Nick Urbanik This document Licensed under GPL see section 8.

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT

Installation 1. Installing DPS. Date of Publish:

Managing Linux Software

New Tools Used by the Scientific Linux Team

SAS Event Stream Processing for Edge Computing 4.3: Deployment Guide

"Charting the Course... RHCE Rapid Track Course. Course Summary

Red Hat Satellite 6.4

Fujitsu Global Cloud Platform Setup and Configure yum Software Package Manager with CentOS. Servers. This guide details. with CentOS 6.

Support Visit mysupport.mcafee.com to find product documentation, announcements, and support.

Genesys Pulse Deployment Guide. WebDAV Server Configuration

User Manual op5 System 3.1

Upgrade Guide. This document details the upgrade process for customers moving from the full version of OnApp Cloud v2.3.1 to v2.3.2.

ULTEO OPEN VIRTUAL DESKTOP OPENSUSE 11.3 SUPPORT

Hetero Streams Library (hstreams Library) User's Guide

MRCP. AWS Lex Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

Use Software Collections for PHP 5.6 support on RHEL and CentOS 6 and 7

Hortonworks Data Platform v1.0 Powered by Apache Hadoop Installing and Configuring HDP using Hortonworks Management Center

Pivotal Command Center

NSX-T Upgrade Guide. VMware NSX-T 2.1

Hortonworks DataFlow

Zend Server Cluster Manager 5.x Installation Guide

Marek Goldmann. Part of project:odd. Polish. BoxGrinder lead Leading the JBoss AS packaging into Fedora. Yep, Bob's team

Install and Configure Samba - CentOS 7

Infoblox Kubernetes1.0.0 IPAM Plugin

1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application.

Hawkey Documentation. Release Aleš Kozumplík

amdgpu Graphics Stack Documentation

FastTrack to Red Hat Linux System Administrator Course Overview

ModSecurity2 Installation, and Configuration

Zend Server Cluster Manager 5.5 Beta. Installation Guide. By Zend Technologies.

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance.

Important Notice Cloudera, Inc. All rights reserved.

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume.

Exam Questions RH302

Virtuozzo 6. Templates Management Guide. February 17, Copyright Parallels IP Holdings GmbH and its affiliates. All rights reserved.

Auto-Provisioning Mediatrix units May 31, 2011

User Manual. op5 System 3.0

INTERNET DEVELOPERS TOOLKIT FOR G

Installing Applications in FreeBSD. wengyc

Defensie Exercises preparing for the exam.

Citrix CloudPlatform (powered by Apache CloudStack) Version 4.3 Release Notes. Revised April 9, :00 pm IST

Downloading VirusScan Enterprise 8.5i. August 2008 End User Computing

Introduction. What is Linux? What is the difference between a client and a server?

MRCP. Google Dialogflow Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

Practical OpenSCAP, Security Standard Compliance and Reporting Part 1: CLI (command-line)


ZENworks Linux Management Version 6.5 Release Notes

Configuring Artifactory

Transcription:

The Yum Server Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm. There are several features of yum over rpm. It is to be noted that yum is not a replacement tool for RPM. It simply makes the process of installation / update more easier. Multiple Repositories Simple config file Correct dependency calculation & Fast operation rpm-consistent behavior Simple interface Below is brief syntax of the command. yum [option] packagename Yum requires repository of RPM files at some place. Configuration file can be written for multiple repositories. Let us do this with simple example. Example : In our example, we will assume two parts. 1. Configuring Yum Server (Say Server IP is 192.168.100.254) 2. Configuring Yum Client (Say Client IP is 192.168.100.7) 192.168.100.254 We will keep all RPM Files in /var/ftp/pub 192.168.100.7 This is our client, where we will install softwares from yum server.

Configuring yum Server : Below are the step by step instructions. 1. Make sure that your server should have FTP Server running. If it is not there then install the same from RPM command. You can also use file or http server. [root@server1 ~]# rpm -q vsftpd vsftpd-2.0.5-10.el5 [root@server1 ~]# 2. Also check createrepo package. It is required for creating repository. You can install the same from RPM command. [root@server1 ~]# rpm -q createrepo createrepo-0.4.4-2.fc6 [root@server1 ~]# 3. In our example we are assuming the complete RHEL5 package will be available via yum server. To achieve this just copy all the DVD in /var/ftp/pub Folder. The sequence is given below. [root@server1 ~]# mount /dev/scd0 /mnt/dvd [root@server1 ~]# cd /var/ftp/pub [root@server1 ~]# cp -R /mnt/dvd. This will copy complete DVD in /var/ftp/pub Folder. 4. The RPM packages can be found in Server folder. Now let us create repository from a set of rpms as below. [root@server1 ~]# cd /var/ftp/pub/server [root@server1 ~]# createrepo -v /var/ftp/pub/server This command will long time based on speed of machine and number of rpms in folder. At the end it will be creating repodata folder in /var/ftp/pub/server which contains following files. filelists.xml.gz other.xml.gz primary.xml.gz repomd.xml 5. Now restart the VSFTPD Server as below. [root@server1 ~]# service vsftpd restart This completes our server part.

Configuring yum Client : Now let us come to client machine 192.168.100.7. Here we need to write one.repo file in /etc/yum.repos.d folder. Say name of the file as server1.repo vi /etc/yum.repos.d/server1.repo [Magnum] name=my Software Store baseurl=ftp://192.168.100.254/pub/server/ enabled=1 gpgcheck=0 Save the configuration file. The baseurl tells client machine from where to fetch the software repository. That s all! Now we are ready to use the yum command. Using yum : Using yum command you can do following. 1. Clean the old cache data : Before you start using yum command, it is best practice to clean the old caching data. This can be achieved by following command. 2. Listing the softwares : The following command lists all the softwares installed as well as available software on repository. [root@server1 ~]# yum list You can list any specific software as below. [root@server1 ~]# yum list httpd 3. Getting information of the software : You can get small information of the software whether it is installed or not installed.

4. Removing the installed package : You can use remove option as below. Say let us remove zsh software. The command is # yum remove zsh

5. Installing software : The option install is used as below to installed the software. [root@server1 ~]# yum install zsh 6. Updating software : To update installed software with new one. [root@server1 ~]# yum update zsh 7. Getting file list of software before or after installation : [root@server1 ~]# yum whatprovides httpd This is particularly useful when one want to locate the path of configuration files, binaries etc. For more complete information you can refer [root@server1 ~]# man yum