SlideShare a Scribd company logo
1 of 16
INSTALLING AND UPDATING SOFTWARE PACKAGES
NAME: ANIMESH KUMAR SINHA REGD.NO: 191107140044
Prof. Suvendu Kumar
Nayak
PERFORMANCE CHECKLIST OUTCOMES
You should be able to: * Manage software
repositories and module streams. * Install and
upgrade packages from repositories and
streams. * Install an RPM package.
In this lab, you will manage software repositories
and module streams, and install and upgrade
packages from those repositories and streams.
BEFORE YOU BEGIN
Log in to workstation as student using student as the password.
On workstation, run the lab software-review start command. This script ensures that serverb is
available. It also downloads any packages required for the lab exercise.
[ student@workstation -]$ lab software-review start
1. On serverb configure a software repository to obtain updates. Name the repository as errata and
configure the repository in the /etc/yum.repos.d/errata.repo file. It should access
http://content.example.com/rhel8.0/x86_64/rhcsa-practice/errata. Do not check GPG signatures.
2. On serverb, install new package xsane-gimp and the Apache HTTP Server module from the 2.4 stream
and the common profile.
3. For security reasons, serverb should not be able to send anything to print. Achieve this by removing the
cups package. Exit from the root account.
4. The start script downloads the rhcsa-script-1.0.0-1.noarch.rpm package in the /home/student directory
on serverb. Confirm that the package rhcsa-script-1.0.0-1.noarch.rpm is available on serverb. Install the
package. You will need to gain superuser privileges to install the package. Verify that the package is
installed. Exit from serverb.
Evaluation On workstation, run the lab software-review grade script to confirm success on this lab.
[ student@workstation -]$ lab software-review grade
Finish On workstation, run the lab software-review finish script to complete this exercise. This script
removes the repository and packages created during this exercise.
[ student@workstation -]$ lab software-review finish
BEFORE YOU BEGIN
Log in to workstation as student using student as the password. On workstation, run the lab software-
review start command. This script ensures that serverb is available. It also downloads any packages
required for the lab exercise.
SOLUTION
INSTALLING AND UPDATING SOFTWARE PACKAGES
BEFORE YOU BEGIN
Log in to workstation as student using student as the password. On workstation, run the lab
software-review start command. This script ensures that serverb is available. It also downloads any
packages required for the lab exercise.
1. On serverb configure a software repository to obtain updates. Name the repository as
errata and configure the repository in the /etc/yum.repos.d/errata.repo file. It should
access http://content.example.com/rhel8.0/x86_64/rhcsa-practice/errata. Do not check
GPG signatures.
1.1. From workstation use the ssh command to log in to serverb as the student user.
1.2. Use the su - command to switch to the root user. The
password is redhat.
1.3. Create the file /etc/yum.repos.d/errata.repo with the following content
2. On serverb, install new package xsane-gimp and the Apache HTTP Server
module from the 2.4 stream and the common profile.
2.1. Use the yum list command to list the available packages for xsane-gimp.
2.2. Install the latest version of the xsane-gimp package using the yum
install command.
2.3. List available modules and streams. Look for the httpd module.
Use the yum install command to install the httpd module with the
2.4 stream and the common profile.
3. For security reasons, serverb should not be able to send anything to print. Achieve
this by removing the cups package. Exit from the root account. 3.1. Use the yum
list command to list the installed cups package.
3.2. Use the yum remove command to remove the cups package.
3.3. Exit from the root account.
4. The start script downloads the rhcsa-script-1.0.0-1.noarch.rpm package in
the /home/ student directory on serverb. Confirm that the package rhcsa-script-1.0.0-
1.noarch.rpm is available on serverb. Install the package. You will need to gain superuser
privileges to install the package. Verify that the package is installed. Exit from serverb.
4.1. Use the rpm command to confirm that the rhcsa-script-1.0.0-1.noarch.rpm package
is available on serverb by viewing the package information.
4.2. Use the sudo yum localinstall command to install the rhcsa-script-1.0.0-
1.noarch.rpm package. The password is student.
4.3. Use the rpm command to verify that the package is installed.
4.4. Exit from serverb
Evaluation
On workstation, run the lab software-review grade script to confirm success on this lab.
Finish
On workstation, run the lab software-review finish script to complete this
exercise.
This script removes the repository and packages created during this exercise.
THANK YOU
191107140044@CUTM.AC.IN

More Related Content

What's hot

Users and groups in Linux
Users and groups in LinuxUsers and groups in Linux
Users and groups in LinuxKnoldus Inc.
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examplesabclearnn
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaData types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaJaved Rashid
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Edureka!
 
Easiest way to start with Shell scripting
Easiest way to start with Shell scriptingEasiest way to start with Shell scripting
Easiest way to start with Shell scriptingAkshay Siwal
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basicsManav Prasad
 
Introduction to shell scripting
Introduction to shell scriptingIntroduction to shell scripting
Introduction to shell scriptingCorrado Santoro
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialQA TrainingHub
 
Java Data Types
Java Data TypesJava Data Types
Java Data TypesSpotle.ai
 
Exception handling and function in python
Exception handling and function in pythonException handling and function in python
Exception handling and function in pythonTMARAGATHAM
 
Linux System Programming - File I/O
Linux System Programming - File I/O Linux System Programming - File I/O
Linux System Programming - File I/O YourHelper1
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure amol_chavan
 

What's hot (20)

Users and groups in Linux
Users and groups in LinuxUsers and groups in Linux
Users and groups in Linux
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Shell programming
Shell programmingShell programming
Shell programming
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
Php introduction
Php introductionPhp introduction
Php introduction
 
Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaData types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in java
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
 
Easiest way to start with Shell scripting
Easiest way to start with Shell scriptingEasiest way to start with Shell scripting
Easiest way to start with Shell scripting
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
 
Introduction to shell scripting
Introduction to shell scriptingIntroduction to shell scripting
Introduction to shell scripting
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Java Data Types
Java Data TypesJava Data Types
Java Data Types
 
Exception handling and function in python
Exception handling and function in pythonException handling and function in python
Exception handling and function in python
 
Java arrays
Java arraysJava arrays
Java arrays
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Linux System Programming - File I/O
Linux System Programming - File I/O Linux System Programming - File I/O
Linux System Programming - File I/O
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure
 

Similar to Installing and updating software packages [autosaved]

How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7VCP Muthukrishna
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Orchestrated Functional Testing with Puppet-spec and Mspectator
Orchestrated Functional Testing with Puppet-spec and MspectatorOrchestrated Functional Testing with Puppet-spec and Mspectator
Orchestrated Functional Testing with Puppet-spec and MspectatorRaphaël PINSON
 
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...Puppet
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseNikhil Kumar
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvMarkus Zapke-Gründemann
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
Deploying Symfony | symfony.cat
Deploying Symfony | symfony.catDeploying Symfony | symfony.cat
Deploying Symfony | symfony.catPablo Godel
 
Zero Downtime Deployment with Ansible
Zero Downtime Deployment with AnsibleZero Downtime Deployment with Ansible
Zero Downtime Deployment with AnsibleStein Inge Morisbak
 
Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntuIker Coranti
 
StreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxStreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxssuser4c04eb
 
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013Carlos Sanchez
 
Professional deployment
Professional deploymentProfessional deployment
Professional deploymentIvelina Dimova
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierCarlos Sanchez
 
Top laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expertTop laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expertKaty Slemon
 

Similar to Installing and updating software packages [autosaved] (20)

How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Orchestrated Functional Testing with Puppet-spec and Mspectator
Orchestrated Functional Testing with Puppet-spec and MspectatorOrchestrated Functional Testing with Puppet-spec and Mspectator
Orchestrated Functional Testing with Puppet-spec and Mspectator
 
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...
Orchestrated Functional Testing with Puppet-spec and Mspectator - PuppetConf ...
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenv
 
Maven
MavenMaven
Maven
 
Maven
MavenMaven
Maven
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Deploying Symfony | symfony.cat
Deploying Symfony | symfony.catDeploying Symfony | symfony.cat
Deploying Symfony | symfony.cat
 
Maven2交流
Maven2交流Maven2交流
Maven2交流
 
Zero Downtime Deployment with Ansible
Zero Downtime Deployment with AnsibleZero Downtime Deployment with Ansible
Zero Downtime Deployment with Ansible
 
Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntu
 
StreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxStreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptx
 
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
 
Professional deployment
Professional deploymentProfessional deployment
Professional deployment
 
Testing Ansible
Testing AnsibleTesting Ansible
Testing Ansible
 
Build server
Build serverBuild server
Build server
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
 
Top laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expertTop laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expert
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

Installing and updating software packages [autosaved]

  • 1. INSTALLING AND UPDATING SOFTWARE PACKAGES NAME: ANIMESH KUMAR SINHA REGD.NO: 191107140044 Prof. Suvendu Kumar Nayak
  • 2. PERFORMANCE CHECKLIST OUTCOMES You should be able to: * Manage software repositories and module streams. * Install and upgrade packages from repositories and streams. * Install an RPM package. In this lab, you will manage software repositories and module streams, and install and upgrade packages from those repositories and streams.
  • 3. BEFORE YOU BEGIN Log in to workstation as student using student as the password. On workstation, run the lab software-review start command. This script ensures that serverb is available. It also downloads any packages required for the lab exercise. [ student@workstation -]$ lab software-review start 1. On serverb configure a software repository to obtain updates. Name the repository as errata and configure the repository in the /etc/yum.repos.d/errata.repo file. It should access http://content.example.com/rhel8.0/x86_64/rhcsa-practice/errata. Do not check GPG signatures. 2. On serverb, install new package xsane-gimp and the Apache HTTP Server module from the 2.4 stream and the common profile. 3. For security reasons, serverb should not be able to send anything to print. Achieve this by removing the cups package. Exit from the root account.
  • 4. 4. The start script downloads the rhcsa-script-1.0.0-1.noarch.rpm package in the /home/student directory on serverb. Confirm that the package rhcsa-script-1.0.0-1.noarch.rpm is available on serverb. Install the package. You will need to gain superuser privileges to install the package. Verify that the package is installed. Exit from serverb. Evaluation On workstation, run the lab software-review grade script to confirm success on this lab. [ student@workstation -]$ lab software-review grade Finish On workstation, run the lab software-review finish script to complete this exercise. This script removes the repository and packages created during this exercise. [ student@workstation -]$ lab software-review finish
  • 5. BEFORE YOU BEGIN Log in to workstation as student using student as the password. On workstation, run the lab software- review start command. This script ensures that serverb is available. It also downloads any packages required for the lab exercise.
  • 6. SOLUTION INSTALLING AND UPDATING SOFTWARE PACKAGES BEFORE YOU BEGIN Log in to workstation as student using student as the password. On workstation, run the lab software-review start command. This script ensures that serverb is available. It also downloads any packages required for the lab exercise.
  • 7. 1. On serverb configure a software repository to obtain updates. Name the repository as errata and configure the repository in the /etc/yum.repos.d/errata.repo file. It should access http://content.example.com/rhel8.0/x86_64/rhcsa-practice/errata. Do not check GPG signatures. 1.1. From workstation use the ssh command to log in to serverb as the student user. 1.2. Use the su - command to switch to the root user. The password is redhat.
  • 8. 1.3. Create the file /etc/yum.repos.d/errata.repo with the following content 2. On serverb, install new package xsane-gimp and the Apache HTTP Server module from the 2.4 stream and the common profile. 2.1. Use the yum list command to list the available packages for xsane-gimp.
  • 9. 2.2. Install the latest version of the xsane-gimp package using the yum install command. 2.3. List available modules and streams. Look for the httpd module. Use the yum install command to install the httpd module with the 2.4 stream and the common profile.
  • 10. 3. For security reasons, serverb should not be able to send anything to print. Achieve this by removing the cups package. Exit from the root account. 3.1. Use the yum list command to list the installed cups package.
  • 11. 3.2. Use the yum remove command to remove the cups package. 3.3. Exit from the root account. 4. The start script downloads the rhcsa-script-1.0.0-1.noarch.rpm package in the /home/ student directory on serverb. Confirm that the package rhcsa-script-1.0.0- 1.noarch.rpm is available on serverb. Install the package. You will need to gain superuser privileges to install the package. Verify that the package is installed. Exit from serverb. 4.1. Use the rpm command to confirm that the rhcsa-script-1.0.0-1.noarch.rpm package is available on serverb by viewing the package information.
  • 12. 4.2. Use the sudo yum localinstall command to install the rhcsa-script-1.0.0- 1.noarch.rpm package. The password is student.
  • 13.
  • 14. 4.3. Use the rpm command to verify that the package is installed. 4.4. Exit from serverb
  • 15. Evaluation On workstation, run the lab software-review grade script to confirm success on this lab. Finish On workstation, run the lab software-review finish script to complete this exercise. This script removes the repository and packages created during this exercise.