logo image

9.7.6 Practice Questions Linux Application Management

You’re using a Linux distribution that uses RPM for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
yum install httpd

Explanation

On a Linux distribution that uses RPM for package management, entering yum install httpd at the command line will install the Apache HTTP Server package and all its dependencies. YUM automatically locates and downloads RPM packages for you by searching one or more repositories on the Internet. It can install a software package and all of its dependencies at the same time.

You’re using a Linux distribution that uses RPM for package management. Which command would you use to check to see if the httpd package, the Apache HTTP Server package, is installed?
yum list intalled httpd

Explanation
On a Linux distribution that uses RPM for package management, entering yum installed httpd at the command line will check to see if the Apache HTTP Server package is installed.

You’re using a Linux distribution that uses Debian Package Manager (dpkg) for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
apt-get install httpd

Explanation
On a Linux distribution that uses Debian Package Manager (dpkg) for package management, entering apt-get install httpd at the command line will install the Apache HTTP Server package and all its dependencies. The apt-get command can automatically locate and download Debian packages for you by searching one or more repositories on the Internet. It installs the package and all of its dependencies at the same time.

You’re using a Linux distribution that uses RPM for package management. Which command would you use to display a list of all packages available for installation withing the Internet repositories configured on this system?
yum list available

Explanation
On a Linux distribution that uses RPM for package management, entering yum list available at the command line will display a list of all packages available for installation within the Internet repositories yum is configured to use on this system.

Which command would you use to display a simple list of all processes running on a Linux distribution that uses either RPM or dpkg for package management?
ps -e

Explanation
The ps utility is used to display running processes on a Linux system. Entering ps -e will display a simple list, without extended information, of all processes running on the system.

ps -ef will display a list with extended information about all the processes running on the system.

yum and apt-get are package management tools. They are not used for process management.

Need essay sample on "9.7.6 Practice Questions Linux Application Management"? We will write a custom essay sample specifically for you for only $ 13.90/page

Can’t wait to take that assignment burden offyour shoulders?

Let us know what it is and we will show you how it can be done!
×
Sorry, but copying text is forbidden on this website. If you need this or any other sample, please register

Already on Businessays? Login here

No, thanks. I prefer suffering on my own
Sorry, but copying text is forbidden on this website. If you need this or any other sample register now and get a free access to all papers, carefully proofread and edited by our experts.
Sign in / Sign up
No, thanks. I prefer suffering on my own
Not quite the topic you need?
We would be happy to write it
Join and witness the magic
Service Open At All Times
|
Complete Buyer Protection
|
Plagiarism-Free Writing

Emily from Businessays

Hi there, would you like to get such a paper? How about receiving a customized one? Check it out https://goo.gl/chNgQy

We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy