The basic steps for installing the Apache under Linux

Recently really good bored ah, this day is the peak of the fall of the move, there is no point to their own state of mind, always feel that strength is not enough, it has been desperately trying to learn.

Suddenly think to apply for a cloud platform to build their own to build a static web site to start practicing on it. First of all, the first task is to build Apache platform, although there are experiments done in the previous university courses, but he did not pay much attention to it took so long and have forgotten about it, no idea so short-lived fad

Crazy on the Internet to find information to solve the problem after another. . . Finally, after slowly organize your thoughts, I decided to start all over again, and finally build a good step by step, in the process, and he stepped on a lot of pits, Ruoguo passing of a friend you see this article, you hope that this will provide some help, detours! ! !

In the process, I'm not certain what went wrong in a demonstration installation time will be reported directly along the lines I installed, it should not be a problem.

Into the title! ! !

First, we first need to download some files, I summed up in two ways, as its role

  ① download the necessary files directly from the Internet ( it must be connected to external networks for the job )

Generally in / usr / local / the src directory download the package ( r.aminglinux.com)

Download apr source package:

wget http://mirrors.cnnic.cn/apache/apr/apr-1.6.5.tar.gz

Download apr-util source package:

wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.gz

Download the apache source package:

wget https://ftp.bit.nl/apache/httpd-2.2.29.tar.gz

Then decoded: the tar -zxvf [Source Package]

Download pcre source package:

wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip

 Decoding: unzip -o [Source Package]

       ② their first downloaded from the Internet, and then spread through Xftp / under usr / local / src directory ( recommended )

  

 

Guess you like

Origin www.cnblogs.com/wyboy/p/11514624.html
Recommended