
apache
snihcel
这个作者很懒,什么都没留下…
展开
-
httpd:unrecognized service 解决办法
service httpd restart 出现 httpd:unrecognized service 错误 #将apache注册为系统服务# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd#chmod 700 /etc/init.d/httpd#vi /etc/init.d/httpd转载 2014-08-26 10:08:30 · 6217 阅读 · 0 评论 -
CentOS下安装JDK6u21和设置环境变量
1.先通过SSH登录到Linux系统中,通过SSH文件管理工具把Linux的JDK安装包上传到/home/acm/JavaTools/JDK目录;2.进入/home/acm/JavaTools/JDK目录,用cp命令$cp ./jdk-6u21-linux-i586.bin /home/acm 把JDK安装文件jdk-6u21-linux-i586.bin 复制到acm用户的根目录下;转载 2014-09-02 15:51:39 · 917 阅读 · 0 评论 -
管理lnmp常用命令,lnmp重启,start|stop|reload|restart等命令
LNMP状态管理命令:LNMP状态管理: /root/lnmp {start|stop|reload|restart|kill|status}Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|转载 2014-09-10 10:25:09 · 5512 阅读 · 0 评论 -
Apache配置详解(最好的APACHE配置教程)
From: http://aiks.blog.com.cn/archives/2006/1748482.shtml Apache的配置 Apache的配置由httpd.conf文件配置,因此下面的配置指令都是在httpd.conf文件中修改。 主站点的配置(基本配置) (1) 基本配置: ServerRoot "/mnt/software/apache2" #你的a转载 2014-08-26 10:28:42 · 727 阅读 · 0 评论 -
编译Apache出现的问题:configure: error: APR not found .
今天编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation解决办法:1.下载所需软件包:wget http://archive.apache.org/dist/apr/转载 2014-08-26 09:28:35 · 1238 阅读 · 1 评论 -
Apache通过http_proxy配置Tomcat(负载均衡/端口转发)
[端口转发配置] 通过http_proxy做tomcat的端口转发: 描述:将远程服务器映射到本地服务器的URL空间 语法:ProxyPass [路径] !|url [键=值 键=值 ...]] [nocanon] 上下文: server config, virtual host, directory 状态:扩展转载 2014-08-26 10:41:26 · 3509 阅读 · 0 评论 -
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.168.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.168.27.180. Set the 'ServerName' directive globally to suppress this messagehttpd (pid 24484) already转载 2014-08-26 10:11:40 · 1677 阅读 · 0 评论 -
ubuntu下用service httpd restart重启apache .
service httpd restart 出现 httpd:unrecognized service 错误 #将apache注册为系统服务# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd#chmod 700 /etc/init.d/httpd#vi /etc/init.d/httpd转载 2014-08-26 10:07:47 · 1001 阅读 · 0 评论 -
Linux安装配置php
1.获取安装文件: http://www.php.net/downloads.php php-5.3.8.tar.gz 获取安装php需要的支持文件:http://download.youkuaiyun.com/download/netlong339/1351852 libxml2-2.6.32.tar.gz2.安装libxml21 tar zxvf libxml2-2.6转载 2014-08-26 14:45:12 · 537 阅读 · 0 评论 -
Apache HTTP Server 与 Tomcat 的三种连接方式介绍
首先我们先介绍一下为什么要让 Apache 与 Tomcat 之间进行连接。事实上 Tomcat 本身已经提供了 HTTP 服务,该服务默认的端口是 8080,装好 tomcat 后通过 8080 端口可以直接使用 Tomcat 所运行的应用程序,你也可以将该端口改为 80。既然 Tomcat 本身已经可以提供这样的服务,我们为什么还要引入 Apache 或者其他的一些专门的 HTTP 服务器转载 2014-08-26 10:36:50 · 548 阅读 · 0 评论 -
linux Apache安装
1. 下载apache, http://httpd.apache.org/download.cgi 通过这个官方网站,我们可以下到最新的版本。现在版本都是以这样的方式表达的:httpd-*.*.*.tar.gz2. 例如,你现在去官网下载的就是最新版本:httpd-2.2.9.tar.gz。3. 好了,下载到你的家目录/root里面。4.转载 2014-08-26 09:47:17 · 483 阅读 · 0 评论 -
解决编译apache出现的问题:configure: error: APR not found . Please read the documentation .
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation解决办法:1.下载所需软件包:wget http://archive.apache.org/dist/apr/转载 2014-08-26 09:27:07 · 652 阅读 · 0 评论 -
AH02432: Cannot find LB Method: byrequests
#to resolve the start failed issue:#AH02432: Cannot find LB Method: byrequests#AH01183: Cannot share balancer#AH00020: Configuration Failed, exiting LoadModule lbmethod_byrequests_module mod原创 2014-08-26 11:07:03 · 6001 阅读 · 0 评论 -
Failed to lookup provider 'shm' for 'slotmem': is mod_slotmem_shm loaded??
如果你遇到了服务无法启动的情况,也不报错的,查看logs下的日志,首次安装报错如下:AH01177: Failed to lookup provider 'shm' for 'slotmem': is mod_slotmem_shm loaded??我想日志已经说的很清楚了,这里编译安装后,配置文件conf/httpd.conf没有开启mod_slotmem_shm模块,编辑该文件,放开转载 2014-08-26 10:56:50 · 7124 阅读 · 0 评论 -
CentOS卸载默认JAVA并安装新的JDK .
[root@node1 node1]# java -versionjava version "1.5.0"gij (GNU libgcj) version 4.4.4 20100726 (Red Hat 4.4.4-13)Copyright (C) 2007 Free Software Foundation, Inc.This is free software; see t转载 2014-09-02 16:33:55 · 712 阅读 · 0 评论