Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > 新手入门之Redhat EL4+Apache
【标  题】:新手入门之Redhat EL4+Apache
【关键字】:Redhat,EL4+Apache
【来  源】:http://www.cublog.cn/u/5486/showart.php?id=138067

新手入门之Redhat EL4+Apache

Your Ad Here

新手入门之Redhat EL4+Apache
http://enjoy48.cublog.cn

1、查看环境
#rpm -qa|grep httpd
得知系统默认没有安装httpd服务
2.安装程序
插入光盘2
#mount /dev/cdrom
#cd /media/cdrom/RedHat/RPMS
# rpm -ivh httpd-2.0.52-19.ent.i386.rpm
warning: httpd-2.0.52-19.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd-suexec is needed by httpd-2.0.52-19.ent.i386
        libaprutil-0.so.0 is needed by httpd-2.0.52-19.ent.i386
    Suggested resolutions:
        apr-util-0.9.4-21.i386.rpm
        httpd-suexec-2.0.52-19.ent.i386.rpm
系统提示需要先装httpd-suexec-2.0.52-19.ent.i386.rpm
# rpm -ivh httpd-suexec-2.0.52-19.ent.i386.rpm
warning: httpd-suexec-2.0.52-19.ent.i386.rpm: V3 DSA signature: NOKEY, key ID de
error: Failed dependencies:
        httpd = 2.0.52-19.ent is needed by httpd-suexec-2.0.52-19.ent.i386
    Suggested resolutions:
        httpd-2.0.52-19.ent.i386.rpm
系统又提示需要先装httpd-2.0.52-19.ent.i386.rpm
不管那么多,加上aid参数(add suggested packages to transaction)总算安装成功:
#rpm -ivh --aid httpd-2.0.52-19.ent.i386.rpm
再装上手册:
#rpm -ivh httpd-manual-2.0.52-19.ent.i386.rpm
3、配置
#vi /etc/httpd/conf/httpd.conf
找到"Listen"这节,将其改为:
Listen 192.168.1.1:80
#Listen 80
4、运行
#service httpd start
Starting httpd:   OK  ]
此时可在Windows下浏览http://192.168.1.1,如无意外则应该出现Red Hat Enterprise Linux Test Page,表明Apache正常运行。
文件: apache.rar
大小: 0KB
下载: 下载
新手入门之Redhat EL4+PHP:【上一篇】
新手入门之Redhat EL4+MYSQL:【下一篇】
【相关文章】
  • 新手入门之Redhat EL4+PHP
  • [转载] RedHat Linux常见的日志文件和常用命令
  • 在RedHat Enterprise Linux AS 4 安装小企鹅输入法fcitx
  • redhat,开源,cygwin,gnu狂想
  • redhat as3+oracle 9i 安装脚本
  • [配置]RedHatAS4下Apache2+MySQL+Php+Tomcat整合及虚拟主机
  • redhat as 4 制作各种RAID和LVM的使用
  • Redhat Linux AS 4.0 安装Oracle9.2.0.4手记
  • 设置RedHat Linux控制台
  • Redhat自动化任务设置指南
  • 【随机文章】
  • Repairing or Restoring an Inconsistent OCR in RAC
  • Suse10下一些系统脚本的设置
  • [收藏] FreeBSD 目录结构
  • C#SQL数据库操作类
  • 架构设计中的方法学(5)——简单设计(1)
  • 解析动态联编(下篇)
  • Apache Rewrite
  • 遍历树所有节点
  • 在 linux 下使用 金山词霸2003(wine 20030408)
  • 可以获得键值的Applet
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.