第24次课Apache的安装

下载apache的网址

[root@ghq~]# cd /usr/local/src

[root@ghqsrc]# ls

mysql-5.1.40-linux-i686-icc-glibc23.tar.gz

从网上下载,使用命令wget

[root@ghq src]# wgethttp://apache.fayea.com//httpd/httpd-2.2.31.tar.bz2

--2015-08-2007:24:43-- http://apache.fayea.com//httpd/httpd-2.2.31.tar.bz2

Resolvingapache.fayea.com... 119.6.56.18

Connectingto apache.fayea.com|119.6.56.18|:80... connected.

HTTPrequest sent, awaiting response... 200 OK

Length:5610489 (5.3M) [application/x-bzip2]

Savingto: “httpd-2.2.31.tar.bz2”

下载完毕

[root@ghqsrc]# ls

httpd-2.2.31.tar.bz2mysql-5.1.40-linux-i686-icc-glibc23.tar.gz

[root@ghqsrc]# tar zxvf  httpd-2.2.31.tar.gz

[root@ghqsrc]# ls

httpd-2.2.31httpd-2.2.31.tar.gz

httpd-2.2.31.tar.bz2  mysql-5.1.40-linux-i686-icc-glibc23.tar.gz

[root@ghqsrc]# cd httpd-2.2.31

[root@ghqhttpd-2.2.31]# ls

ABOUT_APACHE  config.layout httpd.spec      LICENSE        README.platforms

acinclude.m4  configure     include         Makefile.in    README-win32.txt

Apache.dsw    configure.in   INSTALL        Makefile.win   ROADMAP

build         docs           InstallBin.dsp  modules       server

BuildAll.dsp  emacs-style   LAYOUT          NOTICE         srclib

BuildBin.dsp  httpd.dep     libhttpd.dep    NWGNUmakefile  support

buildconf     httpd.dsp      libhttpd.dsp    os             test

CHANGES       httpd.mak      libhttpd.mak    README         VERSIONING

[root@ghq httpd-2.2.31]# cat README(查看readme,知道怎么安装)

Apache HTTP Server

What is it?

-----------

The Apache HTTP Server is a powerful andflexible HTTP/1.1 compliant

web server. Originally designed as a replacement for the NCSA HTTP

Server, it has grown to be the most popularweb server on the

Internet. As a project of the Apache Software Foundation, the

developers aim to collaboratively develop andmaintain a robust,

commercial-grade, standards-based server withfreely available

source code.

The Latest Version

------------------

Details of the latest version can be found onthe Apache HTTP

server project page under.

Documentation

-------------

The documentation available as of the date ofthis release is

included in HTML format in the docs/manual/directory.  The most

up-to-date documentation for the 2.2.xreleases can be found at

.

Installation

------------

Please see the file called INSTALL.  Platform specific notes can be

found in README.platforms.

Licensing

---------

Please see the file called LICENSE.

Cryptographic Software Notice

-----------------------------

This distribution may include software thathas been designed for use

with cryptographic software.  The country in which you currently reside

may have restrictions on the import,possession, use, and/or re-export

to another country, of encryptionsoftware.  BEFORE using any encryption

software, please check your country's laws,regulations and policies

concerning the import, possession, or use,and re-export of encryption

software, to see if this is permitted.  See

for more information.

The U.S. Government Department of Commerce,Bureau of Industry and

Security (BIS), has classified this softwareas Export Commodity

Control Number (ECCN) 5D002.C.1, whichincludes information security

software using or performing cryptographicfunctions with asymmetric

algorithms. The form and manner of this Apache Software Foundation

distribution makes it eligible for exportunder the License Exception

ENC Technology Software Unrestricted (TSU)exception (see the BIS

Export Administration Regulations, Section740.13) for both object

code and source code.

The following provides more details on theincluded files that

may be subject to export controls oncryptographic software:

Apache httpd 2.0 and later versions includethe mod_ssl module under

modules/ssl/

for configuring and listening toconnections over SSL encrypted

network sockets by performing calls to ageneral-purpose encryption

library, such as OpenSSL or the operatingsystem's platform-specific

SSL facilities.

In addition, some versions of apr-utilprovide an abstract interface

for SSL encrypted network sockets in thefiles under the directory

srclib/apr-util/ssl/

that makes use of a general-purpose encryptionlibrary, such as

OpenSSL or the operating system'splatform-specific SSL facilities.

Apache httpd currently does not use thatapr-util interface.

Some object code distributions of Apachehttpd, indicated with the

word "crypto" in the packagename, may include object code for the

OpenSSL encryption library as distributedin open source form from

.

The above files are optional and may beremoved if the cryptographic

functionality is not desired or needs to beexcluded from redistribution.

Distribution packages of Apache httpd thatinclude the word "nossl"

in the package name have been created withoutthe above files and are

therefore not subject to this notice.

Contacts

--------

o If you want to be informed about newcode releases, bug fixes,

security fixes, general news andinformation about the Apache server

subscribe to the apache-announce mailinglist as described under

o If you want freely available support forrunning Apache please join the

Apache user community by subscribing toUsers Mailing List at

or one of the following

USENET newsgroups:

comp.infosystems.www.servers.unix

comp.infosystems.www.servers.ms-windows

Also available at:

o If you want commercial support forrunning Apache please contact

one of the companies and contractorswhich are listed at

o If you have a concrete bug report forApache please go to the

Apache Group Bug Database and submityour report:

o If you want to participate in activelydeveloping Apache please

subscribe to the `dev@httpd.apache.org'mailing list as described at

Acknowledgments

----------------

We wish to acknowledge the followingcopyrighted works that

make up portions of the Apache software:

Portions of this software were developed atthe National Center

for Supercomputing Applications (NCSA) at theUniversity of

Illinois at Urbana-Champaign.

This software contains code derived from theRSA Data Security

Inc. MD5 Message-Digest Algorithm, includingvarious

modifications by Spyglass Inc., CarnegieMellon University, and

Bell Communications Research, Inc (Bellcore).

Regular expression support is provided by thePCRE library package, which

is open source software, written by PhilipHazel, and copyright by the

University of Cambridge, England.  The original software is available from

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

Apache 2 relies heavily on the use ofautoconf and libtool to provide

a build environment.

编译安装源码包的三个步骤(不绝对):(1)./configure(2)make(3)make install

不加apr,安装apache可能出错

安装apache,第一步./configure

这里需要加--with-include-apr,如果不加该命令,安装可能会出错

[root@ghqhttpd-2.2.31]# ./configure --prefix=/usr/local/apache2 --with-include-apr--with-pcre --enable-mods-shared=most

说明:--prefix=/usr/local/apache2指定安装目录

[root@ghqhttpd-2.2.31]# ./configure --prefix=/usr/local/apache2 --with-include-apr

checkingfor chosen layout... Apache

checkingfor working mkdir -p... yes

checkingbuild system type... i686-pc-linux-gnu

checkinghost system type... i686-pc-linux-gnu

checkingtarget system type... i686-pc-linux-gnu

ConfiguringApache Portable Runtime library ...

[root@ghqhttpd-2.2.31]# make

[root@ghqhttpd-2.2.31]# make install

[root@ghqhttpd-2.2.31]# ls /usr/local/apache2

bin  build cgi-bin  conf  error htdocs  icons  include lib  logs  man manual  modules

安装完毕

安装教程可以参考:

问题?怎么确认apache安装成功了?

转载本文请联系原作者获取授权,同时请注明本文来自郭会强科学网博客。

链接地址:http://blog.sciencenet.cn/blog-575910-914696.html

上一篇:linux_centos 第24次课 LAMP的搭建之一:MySQL的安装

下一篇:linux_centos第24_3次课php的安装

linux apache24 使用,科学网—linux_centos第24_2次课Apache的安装 - 郭会强的博文相关推荐

  1. nvidia显卡linux 7.2,科学网—悲喜录:服务器 CentOS 7.2 安装Nvidia显卡驱动(64bit) - 袁伟的博文...

    先来一段网络上的安装步骤: ---------------------------------------------------------------- CentOS 7.0 Nvidia显卡安装 ...

  2. linux 后台计算,科学网-如何在Linux中做批处理和后台计算-张彦的博文

    单个计算任务的提交 How to compute by Gaussian 03? 1. Upload "xxx.gjf" to your folder. 2. Perform &q ...

  3. linux bsd命令,科学网—Linux/BSD下join命令使数据以tab为分隔符的方法 - 李雷廷的博文...

    [join命令可以通过-t $'t'来把分隔符设为tab字符] 默认情况下,Linux/BSD下的join命令以空格为分隔符.即使你的输入文件是以tab为分隔符的,输出文件也会变成以一个空格为分隔的文 ...

  4. linux 调整shmmax,科学网—Ubuntu 9.10 中更改 linux kernal 中的shmmax大小 - 孙鹏的博文...

    最近让Postmaster增加一个启动的辅助进程,这样子在启动Postmaster的时候申请的共享内存就增加了一些,这增加的一点点发现,Postmaster竟然启动不起来了,错误消息表明Postmas ...

  5. linux基因组文件,科学网-NGS基础 - 参考基因组和基因注释文件-陈同的博文

    NGS基础 - 参考基因组和基因注释文件 同步滚动:关 参考基因组和基因注释文件获取 通常测序生成的reads要与参考基因组或参考转录组进行比对,或Pseudo-alignment.所以首先需要获取参 ...

  6. linux下kegg注释软件,科学网—生物信息——kegg分析的kobas软件的安装与使用 - 孙朋川的博文...

    关于kegg的ko和K的分析,本以为可以通过interproscan来获取,谁知跑出来的结果只涉及新陈代谢,不能使用.最终还是使用北大开发的kobas做的kegg分析. 关于kobas的简介,这里有网 ...

  7. linux内核 gpu,科学网—Intel GPU虚拟化方案 KVMGT 正式进入Linux 内核 4.10 - 戚正伟的博文...

    Linus Torvalds 在内核邮件列表上宣布释出 Linux 4.10.Linux 4.10 的主要特性包括:加入了 GPU虚拟化方案 Intel GVT-g for KVM (a.k.a. K ...

  8. linux编译blas,科学网—Linux下安装blas和lapack包小记 - 徐博伦的博文

    系统是centOS6.5,机器上已有gfortran编译器 从网上搜索下载blas.cblas.lapack的tar压缩文件包 1.编译blas 先解压文件 tar xvf blas.tgz cd b ...

  9. linux 后台进程管理,科学网—linux相关操作之后台进程管理 - 郗强的博文

    目录: 1.查找后台进程 2.杀死后台进程 3.启动后台进程 1.查找后台进程 ps 命令是相当强大地进程查看命令.运用该命令可以确定有哪些进程正在运行及其运行状态. 进程是否结束.进程有没有僵死.哪 ...

最新文章

  1. 性能测试---商场模型分析
  2. 揭秘TensorFlow:Google开源到底开的是什么?
  3. wxWidgets:wxChoicebook类用法
  4. 你写的 Python 代码可以更“瘦”
  5. 练习利用LSTM实现手写数字分类任务
  6. Python中字典(dict)详解
  7. Sublime Text 3 设置
  8. 是时候“抛弃”谷歌 BERT 模型了!新型预训练语言模型问世
  9. hdu 1018 Big Number(n!求位数)
  10. 祖传CMOS走出家门,佳能将在传感器供应圈中决战索尼
  11. 频谱分析仪二次开发|频谱分析仪程控软件NS-Analyzer
  12. Delphi IdHTTP1下载文件防止假死 ( - 大悟还俗
  13. Unity3D 异步加载
  14. 相对位置编码与绝对位置编码
  15. 【题解】codeforces786A Berzerk
  16. 华为手机大变?余承东被传离职转岗,进军美国受阻惹的祸?
  17. 云适配陈本峰谈前端:移动端浏览器很快就会赶上PC浏览器
  18. 如何在团队合作中寻找自己的角色
  19. UE5 自定义编辑器主题
  20. 简单入侵收费电影网站

热门文章

  1. 此时无足够的可用内存,无法满足操作的预期要求,可能是由于虚拟地址随便造成的。请稍候重试。 .
  2. 开箱一个docker
  3. css p 文本不换行,超出文字显示省略号
  4. sign check fail: check Sign and Data Fail解决方案
  5. 下拉列表项过多会导致浏览器卡死
  6. eclipse中git解决冲突
  7. 【Git、GitHub、GitLab】三 Git基本命令之创建仓库并向仓库中添加文件
  8. 【数据结构与算法-java实现】三 Java数组类实现
  9. 研发中会使用到的工具
  10. Oracle存储过程procedure in、out、in out 模式参数【不发布,纯转】