RedHat下安装httpd,php,elasticsearch
2015-07-31 10:53
591 查看
1.Download
Elasticsearch-0.90.10:
https://www.elastic.co/downloads/past-releases/elasticsearch-0-90-10
httpd-2.2.15:
http://archive.apache.org/dist/httpd/
php-5.3.25:
http://php.net/releases/
2.Install
1. tar xzvf httpd-2.2.15.tar.gz
2. cd httpd-2.2.15
3. ./configure--prefix=/usr/local/apache2
4. make
5. make install
6. cd /usr/local/apache2/bin
7. ./apachectl start
openthe browser and input “http://localhost/”,if it shows"It works",thatis installed successfully.
Look at the picturebelow:
9. cdphp-5.3.25
10. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. makeinstall
2. cd elasticsearch-1.1.1/bin
3. ./elasticsearch
open the browser and input “http://localhost:9200/”,ifit shows"’ok’:true,’Status’:200,…",that is installed successfully.
Look at the picturebelow:
Elasticsearch-0.90.10:
https://www.elastic.co/downloads/past-releases/elasticsearch-0-90-10
httpd-2.2.15:
http://archive.apache.org/dist/httpd/
php-5.3.25:
http://php.net/releases/
2.Install
a.installhttpd
Compile and install apache21. tar xzvf httpd-2.2.15.tar.gz
2. cd httpd-2.2.15
3. ./configure--prefix=/usr/local/apache2
4. make
5. make install
6. cd /usr/local/apache2/bin
7. ./apachectl start
openthe browser and input “http://localhost/”,if it shows"It works",thatis installed successfully.
Look at the picturebelow:
b.install php( httpd is Prerequisite)
8. tar –xzvfphp-5.3.25.tar.gz9. cdphp-5.3.25
10. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. makeinstall
c.install elasticsearch:
1. tar -xzvf elasticsearch-1.1.1.tar.gz2. cd elasticsearch-1.1.1/bin
3. ./elasticsearch
open the browser and input “http://localhost:9200/”,ifit shows"’ok’:true,’Status’:200,…",that is installed successfully.
Look at the picturebelow:
相关文章推荐
- 转自http://code4app.com/article/cocoapods-install-usage
- 经典makefile例子 http://blog.chinaunix.net/uid-25100840-id-2047826.html
- 通过持续Ping来检测网络质量
- gcc和g++的区别(很详细的描述) http://www.cnblogs.com/joeblackzqq/archive/2011/04/13/2014404.html
- Android端如何获取手机当前的网络状态,比如wifi还是3G, 还是2G, 电信还是联通,还是移动
- 使用httpclient对zip格式的响应数据解压
- CentOS下httpd与tomcat整合
- TCP和UDP之间的区别和联系
- 理解TCP为什么需要进行三次握手
- Android安卓获取网络状态
- web网络请求过程_PHP版(待更新...)
- android iptables 屏蔽某个app网络访问
- android 网络访问-图片处理优秀开源项目
- tcp ip协议笔记(2)——链路层
- Android 轮播图,网络图片,缓存
- http://blog.sina.com.cn/s/blog_4a5dbd380101f031.html
- 神经网络简史
- 4G网络技术及应用
- linux初学(十六)之linux网络基础配置(以失败而告终,下次再弄吧)
- Nginx的TCP负载均衡介绍