- 浏览: 65966 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
zhangheng54321:
[b][/b][i][/i][u][/u]引用 ...
基于HTTP协议的轻量级开源简单队列服务:HTTPSQS -
relic6:
十分感谢。。rhel5成功yum了!!
RHEL5配置YUM源
apache2+PHP4.4.1+Mysql4.1.18+GD2+ZendOptimizer
安装前准备
所有软件目录:/soft/lapm
工作目录: /soft/dotmp
安装后的程序工作目录: /httpd
package list:
freetype-2.1.10.tar.gz
gd-2.0.33.tar.gz
httpd-2.0.54.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.8-config.tar.gz
mysql-4.1.18.tar.gz
php-4.4.1.tar.gz
ZendOptimizer-2.6.0-Linux_glibc21-i386.tar.gz
zlib-1.2.3.tar.gz
1. 安装zlib (安装libpng和gd前需要先安装zlib)
# tar zxvf zlib-1.2.3.tar.gz
# cd zlib-1.2.3
# ./configure
# make
# make install
2. 安装libpng
# tar zxvf libpng-1.2.8-config.tar.gz
# cd libpng-1.2.8-config
# ./configure
# make
# make install
3. 安装freetype
# tar zxvf freetype-2.1.10.tar.gz
# cd freetype-2.1.10
# ./configure --prefix=/httpd/freetype
# make
# make install
4. 安装jpeg
# tar zxvf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# mkdir /httpd/jpeg
# mkdir /httpd/jpeg/bin
# mkdir /httpd/jpeg/lib
# mkdir /httpd/jpeg/include
# mkdir /httpd/jpeg/man
# mkdir /httpd/jpeg/man/man1
# ./configure --prefix=/httpd/jpeg --enable-shared --enable-static
#make
#make install
5. 安装gd
修改 freetype.h
#cd /httpd/freetype/include/freetype2/freetype/freetype.h
#vi freetyp.h
注释掉下面的
//#ifndef FT_FREETYPE_H
//#error "`ft2build.h' hasn't been included yet!"
//#error "Please always use macros to include FreeType header files."
//#error "Example:"
//#error " #include <ft2build.h>"
//#error " #include FT_FREETYPE_H"
//#endif
加入这一句
#include "/httpd/freetype/include/ft2build.h"
# tar zxvf gd-2.0.33.tar.gz
# cd gd-2.0.33
# ./configure --prefix=/httpd/gd --with-jpeg=/httpd/jpeg --with-freetype=/httpd/freetype --with-png --with-zlib
//编译过程中会看到如下信息
** Configuration summary for gd 2.0.33:
Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
//可以看到png 、 jpeg 、 freetype都已经安装上了
# make
# make install
6. 安装mysql
# tar zxvf mysql-4.0.24.tar.gz
# cd mysql-4.0.24
# ./configure --prefix=/httpd/mysql --sysconfdir=/httpd/mysql --enable-assembler --with-unix-socket-path=/tmp/mysql.sock --with-mysqld-user=mysql --with-mysqld-ldflags=-all-static --with-innodb --with-extra-charsets=all --with-charset=gb2312 --with-collation=gb2312_chinese_ci --enable-thread-safe-client
# groupadd mysql
# useradd mysql -g mysql
#make
#make install
#cp support-files/my-medium.cnf /etc/my.cnf
# ./scripts/mysql_install_db --user=mysql
# cd /httpd/mysql
# chown -R root .
# chown -R mysql var
# chown -R mysql var/.
# chown -R mysql var/mysql/.
# chgrp -R mysql .
#cp support-files/mysql.server /etc/
#chmod +x /etc/mysql.server
#chkconfig --del mysql
#chkconfig --add mysql
#/etc/mysql.server start
# /httpd/mysql/bin/mysqld_safe --user=mysql &
# /httpd/mysql/bin/mysqladmin -u root password 'new-password'
或修改密码
mysql>;GRANT USAGE ON *.* TO root@"localhost" IDENTIFIED BY 'new-password';
7. 安装apache2
# tar zxvf httpd-2.0.33.tar.gz
# cd httpd-2.0.54
# ./configure --prefix=/httpd/apache --enable-so --enable-track-vars--enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker
# make
# make install
/*********************************************
svn的:
./configure --prefix=/httpd/apache --enable-so --enable-track-vars--enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker --enable-dav --enable-dav=share --enable-dav-fs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
**********************************************/
8. 安装php
# tar zxvf php-4.3.11.tar.gz
# cd php-4.3.11
# ./configure --prefix=/httpd/php4 --with-config-file-path=/httpd/apache/conf --with-apxs2=/httpd/apache/bin/apxs --with-gd=/httpd/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/httpd/jpeg --with-png --with-ttf --with-zlib --with-freetype-dir=/httpd/freetype --enable-magic-quotes --with-mysql=/httpd/mysql --with-mysql-sock=/tmp/mysql.sock --with-iconv --with-mbstring --enable-mbstring=all --enable-track-vars --enable-force-cgi-redirect --enable-short-tags --disable-debug --enable-safe-mode --enable-trans-sid --with-xml
# cp php.ini-dist /httpd/apache/conf/php.ini
/****************************************************
php5的:
./configure --prefix=/httpd/php5 --with-config-file-path=/httpd/apache/conf --with-apxs2=/httpd/apache/bin/apxs --with-gd=/httpd/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/httpd/jpeg --with-png --with-ttf --with-zlib --with-freetype-dir=/httpd/freetype --enable-magic-quotes --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir=/usr/local/libxml2 --with-expat-dir=/usr/lib --enable-soap --with-xsl=/usr/local/libxslt --enable-xslt --enable-sqlite-utf8 --with-iconv --with-mbstring --enable-mbstring=all --enable-track-vars --enable-force-cgi-redirect --enable-short-tags --disable-debug --enable-safe-mode --enable-trans-sid --with-xml
****************************************************/
配置apache
ServerName 168.1.1.199 :80
AddType application/x-httpd-php .php
LoadModule php4_module modules/libphp4.so
9. 安装ZendOptimizer
# tar zxvf ZendOptimizer-2.5.7-Linux_glibc21-i386.tar.gz
# cd ZendOptimizer-2.5.7-Linux_glibc21-i386
# ./install.php
安装操作: [ok] ->; [EXIT] ->; [YES] ->; [/httpd/zend] ->; [/httpd/apache/conf] ->; [yes] ->; [/httpd/apache/bin/apachectl] ->; [OK] ->; [OK] ->; [NO]
安装svn
安装前准备
所有软件目录:/soft/lapm
工作目录: /soft/dotmp
安装后的程序工作目录: /httpd
package list:
freetype-2.1.10.tar.gz
gd-2.0.33.tar.gz
httpd-2.0.54.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.8-config.tar.gz
mysql-4.1.18.tar.gz
php-4.4.1.tar.gz
ZendOptimizer-2.6.0-Linux_glibc21-i386.tar.gz
zlib-1.2.3.tar.gz
1. 安装zlib (安装libpng和gd前需要先安装zlib)
# tar zxvf zlib-1.2.3.tar.gz
# cd zlib-1.2.3
# ./configure
# make
# make install
2. 安装libpng
# tar zxvf libpng-1.2.8-config.tar.gz
# cd libpng-1.2.8-config
# ./configure
# make
# make install
3. 安装freetype
# tar zxvf freetype-2.1.10.tar.gz
# cd freetype-2.1.10
# ./configure --prefix=/httpd/freetype
# make
# make install
4. 安装jpeg
# tar zxvf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# mkdir /httpd/jpeg
# mkdir /httpd/jpeg/bin
# mkdir /httpd/jpeg/lib
# mkdir /httpd/jpeg/include
# mkdir /httpd/jpeg/man
# mkdir /httpd/jpeg/man/man1
# ./configure --prefix=/httpd/jpeg --enable-shared --enable-static
#make
#make install
5. 安装gd
修改 freetype.h
#cd /httpd/freetype/include/freetype2/freetype/freetype.h
#vi freetyp.h
注释掉下面的
//#ifndef FT_FREETYPE_H
//#error "`ft2build.h' hasn't been included yet!"
//#error "Please always use macros to include FreeType header files."
//#error "Example:"
//#error " #include <ft2build.h>"
//#error " #include FT_FREETYPE_H"
//#endif
加入这一句
#include "/httpd/freetype/include/ft2build.h"
# tar zxvf gd-2.0.33.tar.gz
# cd gd-2.0.33
# ./configure --prefix=/httpd/gd --with-jpeg=/httpd/jpeg --with-freetype=/httpd/freetype --with-png --with-zlib
//编译过程中会看到如下信息
** Configuration summary for gd 2.0.33:
Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
//可以看到png 、 jpeg 、 freetype都已经安装上了
# make
# make install
6. 安装mysql
# tar zxvf mysql-4.0.24.tar.gz
# cd mysql-4.0.24
# ./configure --prefix=/httpd/mysql --sysconfdir=/httpd/mysql --enable-assembler --with-unix-socket-path=/tmp/mysql.sock --with-mysqld-user=mysql --with-mysqld-ldflags=-all-static --with-innodb --with-extra-charsets=all --with-charset=gb2312 --with-collation=gb2312_chinese_ci --enable-thread-safe-client
# groupadd mysql
# useradd mysql -g mysql
#make
#make install
#cp support-files/my-medium.cnf /etc/my.cnf
# ./scripts/mysql_install_db --user=mysql
# cd /httpd/mysql
# chown -R root .
# chown -R mysql var
# chown -R mysql var/.
# chown -R mysql var/mysql/.
# chgrp -R mysql .
#cp support-files/mysql.server /etc/
#chmod +x /etc/mysql.server
#chkconfig --del mysql
#chkconfig --add mysql
#/etc/mysql.server start
# /httpd/mysql/bin/mysqld_safe --user=mysql &
# /httpd/mysql/bin/mysqladmin -u root password 'new-password'
或修改密码
mysql>;GRANT USAGE ON *.* TO root@"localhost" IDENTIFIED BY 'new-password';
7. 安装apache2
# tar zxvf httpd-2.0.33.tar.gz
# cd httpd-2.0.54
# ./configure --prefix=/httpd/apache --enable-so --enable-track-vars--enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker
# make
# make install
/*********************************************
svn的:
./configure --prefix=/httpd/apache --enable-so --enable-track-vars--enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker --enable-dav --enable-dav=share --enable-dav-fs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
**********************************************/
8. 安装php
# tar zxvf php-4.3.11.tar.gz
# cd php-4.3.11
# ./configure --prefix=/httpd/php4 --with-config-file-path=/httpd/apache/conf --with-apxs2=/httpd/apache/bin/apxs --with-gd=/httpd/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/httpd/jpeg --with-png --with-ttf --with-zlib --with-freetype-dir=/httpd/freetype --enable-magic-quotes --with-mysql=/httpd/mysql --with-mysql-sock=/tmp/mysql.sock --with-iconv --with-mbstring --enable-mbstring=all --enable-track-vars --enable-force-cgi-redirect --enable-short-tags --disable-debug --enable-safe-mode --enable-trans-sid --with-xml
# cp php.ini-dist /httpd/apache/conf/php.ini
/****************************************************
php5的:
./configure --prefix=/httpd/php5 --with-config-file-path=/httpd/apache/conf --with-apxs2=/httpd/apache/bin/apxs --with-gd=/httpd/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/httpd/jpeg --with-png --with-ttf --with-zlib --with-freetype-dir=/httpd/freetype --enable-magic-quotes --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir=/usr/local/libxml2 --with-expat-dir=/usr/lib --enable-soap --with-xsl=/usr/local/libxslt --enable-xslt --enable-sqlite-utf8 --with-iconv --with-mbstring --enable-mbstring=all --enable-track-vars --enable-force-cgi-redirect --enable-short-tags --disable-debug --enable-safe-mode --enable-trans-sid --with-xml
****************************************************/
配置apache
ServerName 168.1.1.199 :80
AddType application/x-httpd-php .php
LoadModule php4_module modules/libphp4.so
9. 安装ZendOptimizer
# tar zxvf ZendOptimizer-2.5.7-Linux_glibc21-i386.tar.gz
# cd ZendOptimizer-2.5.7-Linux_glibc21-i386
# ./install.php
安装操作: [ok] ->; [EXIT] ->; [YES] ->; [/httpd/zend] ->; [/httpd/apache/conf] ->; [yes] ->; [/httpd/apache/bin/apachectl] ->; [OK] ->; [OK] ->; [NO]
安装svn
发表评论
-
五种常见的 PHP 设计模式
2011-05-11 09:18 686http://www.ibm.com/developerwor ... -
谈技术人员研究方向
2011-04-02 11:12 849(转载) http://timyang.net/categor ... -
做卓有成效的程序员
2011-04-02 11:03 828(转载)http://timyang.net/misc/pro ... -
web2.0图形设计样式指南
2010-05-07 17:20 736http://bbs.mycgs.cn/viewthread. ... -
Discuz!全局变量列表
2010-05-06 13:15 1781http://blog.fufuok.com/Article/ ... -
深入理解C语言指针的奥秘
2010-04-30 17:44 710来源:http://community.csdn.net/Ex ... -
字符,字节和编码
2010-04-30 17:40 707本文来自 http://blog.csdn.n ... -
推荐介绍几款小巧的Web Server程序
2010-04-30 17:37 1700本文来自 http://blog.csdn.n ... -
Linux字符集的修改方法
2010-04-27 12:17 1402用export LANG=zh_CN.UTF-8这样只下次重起 ... -
yum来安装lamp 实站
2010-04-27 10:25 1136apache yum install httpd httpd- ... -
CentOS 关闭 SELinux
2010-04-23 10:41 5635方法1 使用文本编辑工具打开 /etc/selinux/con ... -
rhel 使用 centos yum 源 实站
2010-04-22 14:23 1411wget centos.ustc.edu.cn/CentOS- ... -
中国科技大学 yum 源
2010-04-22 13:54 1950rpm --import http://mirrors.shl ... -
RHEL 5的yum源的设置
2010-04-22 11:11 1846RHEL 5的yum源的设置 我们市面上买的rhel好多是盗版 ... -
Windows下的Memcache安装
2010-04-22 09:46 2470Windows下的Memcache安装 很多phper不知道如 ... -
RHEL5配置YUM源
2010-04-21 16:27 2367RHEL5 配置YUM源 cd /etc/yum.rep ... -
RedHat 5.3配置YUM 从centos5源与光盘源更新软件
2010-04-20 15:22 2358YUM顾名思义,Yellow Dog Up ... -
checkbox 多选
2010-04-19 12:09 976<!DOCTYPE HTML PUBLIC " ... -
mysql 常用命令集合
2010-04-16 08:45 9591、MySQL常用命令 oracle create d ... -
JS的正则表达式
2010-04-15 14:20 661JS的正则表达式 //校验是否全由数字组成 代码 fu ...
相关推荐
2. **面向切面编程(Aspect-Oriented Programming, AOP)**:Spring 提供了AOP支持,允许你在应用程序中定义横切关注点,如日志、事务管理等,这些关注点可以被模块化并独立于业务逻辑。 3. **Spring MVC**:作为...
最近学习Apache2+PHP4.4.1+MySQL5.0,页面显示中文全为”???…..”,在网上找了好多资料,简单解决! 数据库连接的PHP脚本内容: config.inc.php <?php //配置mysql数据库连接参数 $db = mysql_connect(...
8. **开发环境搭建**:在Windows上部署PHP 4.4.1通常需要与Apache或IIS等Web服务器集成,并配置相应的PHP.ini文件以设置环境变量和扩展。 9. **社区资源**:虽然官方不再提供支持,但在互联网上仍能找到一些关于PHP...
可能有人需要使用qwt的库来画图,但是网上关于qwt库的配置多种多样,但是有的qwt控件不出现,有的无法编译,本人使用vs2010+qt5.5.0+qtcreator4.4.1+qwt6.1.4来配置,过程清晰简单。
"【WordPress主题】2022年最新版完整功能demo+插件v4.4.1 Tattoo Studio - Responsive WordPress Theme 纹身工作室 - 响应WordPress主题" ---------- 泰森云每天更新发布最新WordPress主题、HTML主题、WordPress...
赠送jar包:httpclient-4.4.1.jar; 赠送原API文档:httpclient-4.4.1-javadoc.jar; 赠送源代码:httpclient-4.4.1-sources.jar; 赠送Maven依赖信息文件:httpclient-4.4.1.pom; 包含翻译后的API文档:httpclient...
点击Eclipse的Help->Install New Software,在Work With一栏点击Add,把下载的包ModelGoon-4.4.1-site.zip添加进去(不要解压),然后就出现了ModelGoon的可选安装包,一路Next,Accept,OK就安装成功了。 在Eclipse...
《PHP开发:开源WordPress 4.4.1详解》 WordPress,这个由PHP语言构建的开源内容管理系统(CMS),在全球范围内被广泛应用于博客、企业网站、电商网站等各类平台的搭建。WordPress 4.4.1是其历史版本中的一个重要...
Apache出品的HttpClient4.4.1版本的API。供大家学习,使用。
**httpclient-4.4.1.jar** Apache HttpClient 4.4.1 是HttpClient库的一个版本,它包含了处理HTTP请求和响应的核心功能。这个版本提供了一些关键特性,如支持HTTP/1.1协议,支持多种认证机制,包括基本认证、摘要...
亲测可用,VTK5.10.0+ITK4.4.1+VS2010
### Apache+Tomcat集群、优化配置 #### 一、文档目的 本文档旨在提供详细的步骤指导,帮助读者在本地环境中成功搭建Apache与Tomcat的服务集群,并进行必要的性能优化。通过这种方式,可以有效地测试项目的性能,...
我本人做的两个算例,分别包括ABAQUS+fluent+MPCCI非定常流固热双向耦合仿真,以及ABAQUS自带的流固耦合仿真,文档中详细写了操作流程,同时包含源文件,使用ABAQUS6.14-3+fluent16.0+MPCCI4.4.1进行仿真;
赠送jar包:httpclient-4.4.1.jar; 赠送原API文档:httpclient-4.4.1-javadoc.jar; 赠送源代码:httpclient-4.4.1-sources.jar; 赠送Maven依赖信息文件:httpclient-4.4.1.pom; 包含翻译后的API文档:httpclient...
《php和mysql web开发(原书第4版)》:开发人员专业技术丛书。 目录 读者反馈 译者序 前言 作者简介 第一篇 使用PHP 第1章 PHP快速入门教程 1.1 开始之前:了解PHP 1.2 创建一个示例应用:Bob汽车零部件商店 ...
4.4.1免费版是该软件的一个版本,提供给用户无需付费即可使用的基本功能。 在"autojs4.4.1免费版及配套打包插件"中,我们可以找到两个主要的文件: 1. **AutoJs-4.1.1a.Alpha2-armeabi-v7a-release.apk**:这是...
赠送jar包:httpcore-4.4.1.jar; 赠送原API文档:httpcore-4.4.1-javadoc.jar; 赠送源代码:httpcore-4.4.1-sources.jar; 赠送Maven依赖信息文件:httpcore-4.4.1.pom; 包含翻译后的API文档:...
4.4.1版本是对前一版本的优化和增强,旨在提高性能、稳定性和兼容性。它支持HTTP/1.0和HTTP/1.1协议,并且具备了非阻塞I/O的能力,适应于高并发的网络环境。 二、主要特性 1. **连接管理**:HTTPCore 4.4.1提供了...
R-4.4.1-win.exe
wireshark4.4.1