- 浏览: 63711 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
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 632http://www.ibm.com/developerwor ... -
谈技术人员研究方向
2011-04-02 11:12 820(转载) http://timyang.net/categor ... -
做卓有成效的程序员
2011-04-02 11:03 767(转载)http://timyang.net/misc/pro ... -
web2.0图形设计样式指南
2010-05-07 17:20 682http://bbs.mycgs.cn/viewthread. ... -
Discuz!全局变量列表
2010-05-06 13:15 1720http://blog.fufuok.com/Article/ ... -
深入理解C语言指针的奥秘
2010-04-30 17:44 666来源:http://community.csdn.net/Ex ... -
字符,字节和编码
2010-04-30 17:40 657本文来自 http://blog.csdn.n ... -
推荐介绍几款小巧的Web Server程序
2010-04-30 17:37 1639本文来自 http://blog.csdn.n ... -
Linux字符集的修改方法
2010-04-27 12:17 1367用export LANG=zh_CN.UTF-8这样只下次重起 ... -
yum来安装lamp 实站
2010-04-27 10:25 1102apache yum install httpd httpd- ... -
CentOS 关闭 SELinux
2010-04-23 10:41 5584方法1 使用文本编辑工具打开 /etc/selinux/con ... -
rhel 使用 centos yum 源 实站
2010-04-22 14:23 1378wget centos.ustc.edu.cn/CentOS- ... -
中国科技大学 yum 源
2010-04-22 13:54 1908rpm --import http://mirrors.shl ... -
RHEL 5的yum源的设置
2010-04-22 11:11 1817RHEL 5的yum源的设置 我们市面上买的rhel好多是盗版 ... -
Windows下的Memcache安装
2010-04-22 09:46 2429Windows下的Memcache安装 很多phper不知道如 ... -
RHEL5配置YUM源
2010-04-21 16:27 2328RHEL5 配置YUM源 cd /etc/yum.rep ... -
RedHat 5.3配置YUM 从centos5源与光盘源更新软件
2010-04-20 15:22 2296YUM顾名思义,Yellow Dog Up ... -
checkbox 多选
2010-04-19 12:09 932<!DOCTYPE HTML PUBLIC " ... -
mysql 常用命令集合
2010-04-16 08:45 9281、MySQL常用命令 oracle create d ... -
JS的正则表达式
2010-04-15 14:20 610JS的正则表达式 //校验是否全由数字组成 代码 fu ...
相关推荐
java Spring5.0.14源码+git安装包+JDK1.8.331+gradle4.4.1
最近学习Apache2+PHP4.4.1+MySQL5.0,页面显示中文全为”???…..”,在网上找了好多资料,简单解决! 数据库连接的PHP脚本内容: config.inc.php <?php //配置mysql数据库连接参数 $db = mysql_connect(...
Centos7安装Zabbix4.4.1+PHP7.1+Mysql5.7,最新zabbix监控+mysql分区优化
可能有人需要使用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...
php-4.4.1-Win32php-4.4.1-Win32
点击Eclipse的Help->Install New Software,在Work With一栏点击Add,把下载的包ModelGoon-4.4.1-site.zip添加进去(不要解压),然后就出现了ModelGoon的可选安装包,一路Next,Accept,OK就安装成功了。 在Eclipse...
赠送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...
Apache出品的HttpClient4.4.1版本的API。供大家学习,使用。
php开发 开源wordpress4.4.1
亲测可用,VTK5.10.0+ITK4.4.1+VS2010
2 读者对象 4 3 网络拓扑图 4 4 具体步骤 4 4.1 需要事先下载的文件 4 4.2 安装 4 4.2.1 安装jdk、Tomcat 4 4.2.2 安装Apache 4 4.2.2.1 上传文件 4 4.2.2.2 安装Apache 4 4.3 配置、优化Apache 5 4.3.1 配置web容器...
Apache出品的HttpClient 4.4.1(2015年6月最新) 码源文件。
赠送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...
我本人做的两个算例,分别包括ABAQUS+fluent+MPCCI非定常流固热双向耦合仿真,以及ABAQUS自带的流固耦合仿真,文档中详细写了操作流程,同时包含源文件,使用ABAQUS6.14-3+fluent16.0+MPCCI4.4.1进行仿真;
赠送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文档:...
autojs4.4.1免费版及配套打包插件
赠送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文档:...
《php和mysql web开发(原书第4版)》:开发人员专业技术丛书。 目录 读者反馈 译者序 前言 作者简介 第一篇 使用PHP 第1章 PHP快速入门教程 1.1 开始之前:了解PHP 1.2 创建一个示例应用:Bob汽车零部件商店 ...
https:ldy.uyfcqguwe.comskcqcxrlqckkwpvk_220729_4.4.1+625.apk.exe