How to install Apache in Linux

Source: Internet
Author: User

If you are studying Linux, do you have any problems? This article explains how to solve this problem by installing Apache in Linux, so that you can learn how to install Apache in Linux.

1. Download apache source code in Linux/unix (* .tar.bz2): http://httpd.apache.org/download.cgi

2. log on to the system as the root user and open the shell window.

3. Go to the directory where the source code file is located and run # tar-jxvf apache * .tar.bz2

4. Go to the decompressed directory and run #./configure, # make, # make install, # make clean, and # make distclean to complete the installation.

5. The software installation path is/usr/local/apache *. You need to go to the relevant configuration file here When configuring the environment.

In this way, you have completed Apache installation in Linux.

  1. Setting Linux to delete automatic backup saves system space
  2. Configure and use Samba to share directories in Linux
  3. Abandon the Linux operating system and select Microsoft?
  4. Better online shopping for Linux Online Banking
  5. Business empire's "cloud computing" Linux operating system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.