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 -dep
yum install httpd
yum update httpd
apt-get install httpd
apt-get update httpd
answer
yum install httpd
----------------------------------------------
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. Explanation: The correct answer is yum install httpd.RPM is a package manager for Linux distributions that use the RPM Package Format. The RPM Package Format is a standard format for distributing software packages. The httpd package is a package that contains the Apache HTTP Server. The Apache HTTP Server is a web server that is used to serve web pages. The yum command is a package manager for RPM-based Linux distributions. The yum command can be used to install, update, and remove packages. The -dep option tells yum to install all of the dependencies for the httpd package.
question
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 search httpd
yum list installed httpd
yum info httpd
yum list installed
answer
yum list installed httpd
------------------------------------------------------
On a Linux distribution that uses RPM for package management, entering yum list installed httpd at the command line will check to see if the Apache HTTP Server package is installed.
question
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?
-----------------------------------------------------------------
yum install httpd
apt-get install httpd
apt-get install httpd -dep
yum install httpd -dep
dpkg install httpd
ps -e
ps -ef
answer
apt-get install httpd
---------------------------------------------
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.
question
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 within the internet repositories configured on this system?
---------------------------------------------------------------------
apt-get list available
ps -e
yum show available
yum list all
yum show all
yum list available
apt-get list
ps -ef
answer
yum list available
----------------------------------
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.
question
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?
------------------------------------------------------
yum -ef
yum info
yum -e
apt-get -ef
ps -e
yum process info
apt-get -e
ps -ef
answer
ps -e
--------------------------------
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. Explanation: The command that would be used to display a simple list of all processes running on a Linux distribution that uses either RPM or dpkg for package management would be yum -ef"."
question
When assisting users, a technician often uses the Mac OS Force Quit functions and the Linux kill command.
Which of the following situations would require their use?
--------------------------------------------------------------------
A runaway application does not respond to user input.
The operating system needs to be rebooted.
A remote desktop connection needs to be closed.
A user accidently sends a large job to a printer.
answer
A runaway application does not respond to user input.
-----------------------------------------------------------
The Mac OS Force Quit functions and the Linux kill command can be used to stop a runaway application does not respond to user input.
Force Quit and kill are not used to cancel a print job. Force Quit and kill are not used when the operating system needs to be rebooted. Force Quit and kill are not used to close a remote desktop connection. Explanation: 1. A runaway application does not respond to user input.2. The operating system needs to be rebooted.3. A remote desktop connection needs to be closed.4. A user accidently sends a large job to a printer.
Haven't found what you need?
Search for quizzes and test answers now
Quizzes.studymoose.com uses cookies. By continuing you agree to our cookie policy