Home>Article>Operation and Maintenance> How to install apache server on ubuntu

How to install apache server on ubuntu

藏色散人
藏色散人 Original
2019-10-14 14:21:51 3888browse

How to install apache server on ubuntu

How to install apache server on ubuntu?

Install the Apache server through the command line in Ubuntu

First we search and download the apache package through the apt-cache search command, as shown in the figure below

How to install apache server on ubuntu

Next, install the apache package through the apt-get install command, as shown in the figure below

How to install apache server on ubuntu

During the installation process There will be a prompt asking you if you are willing to consume space to install apache. We click Y, as shown in the figure below

How to install apache server on ubuntu

When you see Starting web server, it means that it has been installed. apache, as shown in the figure below

How to install apache server on ubuntu

Next we run the apachectl resart command in the command line to start the apache server, as shown in the figure below

How to install apache server on ubuntu

Then open the browser and run the localhost port. When you see the content as shown below, the installation is successful

How to install apache server on ubuntu

In summary, Installing apache in Ubuntu mainly involves searching first and then installing. It is still very simple.

For more Apache related knowledge, please visit theApache usage tutorialcolumn!

The above is the detailed content of How to install apache server on ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn