无为清净楼资源网 Design By www.qnjia.com
1.安装Apache
将httpd-2.2.4.tar.gz拷贝至/usr/local/src目录中
tar -zxvf httpd-2.2.4.tar.gz
cd httpd-2.2.4
./configure --prefix=/usr/local/apache2 --enable-so --enable-vhost-alias --enable-rewrite --enable-deflate --enable-mods-shared=all --with-mpm=worker
make && make install
2.安装php
安装freetype-2.3.5.tar.gz
tar zxvf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure --prefix=/usr/local/phpsyslib/freetype-2.3.5
make && make install
mkdir /usr/local/phpsyslib/freetype-2.3.5/include/freetype2/freetype/internal(如果报错需要)
安装jpeg
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --prefix=/usr/local/phpsyslib/jpeg-6b --enable-shared 必须加后面这个参数,不然不能生成那个共享库
根据报错信息自己创建相应目录
cp libjpeg.a /usr/local/lib(如果安装gd不成功的话)
安装zlib
tar zxvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure --prefix=/usr/local/phpsyslib/zlib-1.2.3
安装openssl-0.9.8e
tar zxvf openssl-0.9.8e.tar.gz
cd openssl-0.9.8e
./config shared zlib
make
make test
make install
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
配置库文件搜索路径
#echo "/usr/local/ssl/lib" /etc/ld.so.conf
#ldconfig -v
安装libpng
tar zxvf libpng-1.2.23.tar.gz
cd libpng-1.2.23
cp scripts/makefile.linux makefile
安装GD库(如果失败先安装libtool和gettext)
tar zxvf gd-2.0.35.tar.gz
cd gd-2.0.35
./configure --prefix=/usr/local/phpsyslib/gd-2.0.35 --with-jpeg=/usr/local/phpsyslib/jpeg-6b --with-png=/usr/local/ --with-zlib=/usr/local/phpsyslib/zlib-1.2.3 --with-freetype=/usr/local/phpsyslib/freetype-2.3.5/
make && make install
安装gettext(如果失败先安装 libtool)
tar zxvf gettext-0.17.tar.gz
cd gettext-0.17
./configure --prefix=/usrmake && make install 安装libtool
tar zxvf libtool-2.2.tar.gz
cd libtool-2.2
./configure --prefix=/usrmake && make installcp /usr/lib/libattr.la /lib/
安装curl
tar zxvf curl-7.17.1.tar.gz
cd curl-7.17.1
./configure --prefix=/usr/local/phpsyslib/curl-7.17.1
make && make install
3.安装mysql
# tar zxvf mysql-5.0.77-linux-i686-icc-glibc23.tar.gz
cp mysql-5.0.77-linux-i686-icc-glibc23 /usr/local/mysql
cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql ---mysql自启动
cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
groupadd mysql
useradd -g mysql mysql
chown -R root /usr/local/mysql
chgrp -R mysql /usr/local/mysql
上面两句可用(chown -R root:mysql /usr/local/mysql)
chown -R mysql /usr/local/mysql/data
/usr/local/mysql/scripts/mysql_install_db --user=mysql&
/usr/local/mysql/bin/safe_mysqld --user=mysql&
安装php
./configure --prefix=/usr/local/php5.2.8 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir=/usr/share/doc/libxml2-2.6.16 --with-gd=/usr/local/phpsyslib/gd-2.0.35 --enable-gd-native-ttf --with-jpeg-dir=/usr/local/jpeg-6b --with-png-dir --with-freetype-dir=/usr/local/phpsyslib/freetype-2.3.5 --with-iconv-dir --with-zlib=/usr/local/phpsyslib/zlib-1.2.3 --enable-mbstring --disable-ipv6 --with-openssl-dir=/usr/local/ssl --with-curl=/usr/local/phpsyslib/curl-7.17.1 --with-mime-magic=/usr/share/file/magic.mime
Mysql日常用法
mysqldump –uXXX –hXXX -p samp_db >/usr/archives/mysql/samp_db.1999-10-02 备份
mysql 数据库名 <文件路径 用户名和密码(如果有) 导入
建立用户:
grant all on redflag.* to 用户名@"%" identified by "密码";
flush privileges;
将httpd-2.2.4.tar.gz拷贝至/usr/local/src目录中
tar -zxvf httpd-2.2.4.tar.gz
cd httpd-2.2.4
./configure --prefix=/usr/local/apache2 --enable-so --enable-vhost-alias --enable-rewrite --enable-deflate --enable-mods-shared=all --with-mpm=worker
make && make install
2.安装php
安装freetype-2.3.5.tar.gz
tar zxvf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure --prefix=/usr/local/phpsyslib/freetype-2.3.5
make && make install
mkdir /usr/local/phpsyslib/freetype-2.3.5/include/freetype2/freetype/internal(如果报错需要)
安装jpeg
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --prefix=/usr/local/phpsyslib/jpeg-6b --enable-shared 必须加后面这个参数,不然不能生成那个共享库
根据报错信息自己创建相应目录
cp libjpeg.a /usr/local/lib(如果安装gd不成功的话)
安装zlib
tar zxvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure --prefix=/usr/local/phpsyslib/zlib-1.2.3
安装openssl-0.9.8e
tar zxvf openssl-0.9.8e.tar.gz
cd openssl-0.9.8e
./config shared zlib
make
make test
make install
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
配置库文件搜索路径
#echo "/usr/local/ssl/lib" /etc/ld.so.conf
#ldconfig -v
安装libpng
tar zxvf libpng-1.2.23.tar.gz
cd libpng-1.2.23
cp scripts/makefile.linux makefile
安装GD库(如果失败先安装libtool和gettext)
tar zxvf gd-2.0.35.tar.gz
cd gd-2.0.35
./configure --prefix=/usr/local/phpsyslib/gd-2.0.35 --with-jpeg=/usr/local/phpsyslib/jpeg-6b --with-png=/usr/local/ --with-zlib=/usr/local/phpsyslib/zlib-1.2.3 --with-freetype=/usr/local/phpsyslib/freetype-2.3.5/
make && make install
安装gettext(如果失败先安装 libtool)
tar zxvf gettext-0.17.tar.gz
cd gettext-0.17
./configure --prefix=/usrmake && make install 安装libtool
tar zxvf libtool-2.2.tar.gz
cd libtool-2.2
./configure --prefix=/usrmake && make installcp /usr/lib/libattr.la /lib/
安装curl
tar zxvf curl-7.17.1.tar.gz
cd curl-7.17.1
./configure --prefix=/usr/local/phpsyslib/curl-7.17.1
make && make install
3.安装mysql
# tar zxvf mysql-5.0.77-linux-i686-icc-glibc23.tar.gz
cp mysql-5.0.77-linux-i686-icc-glibc23 /usr/local/mysql
cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql ---mysql自启动
cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
groupadd mysql
useradd -g mysql mysql
chown -R root /usr/local/mysql
chgrp -R mysql /usr/local/mysql
上面两句可用(chown -R root:mysql /usr/local/mysql)
chown -R mysql /usr/local/mysql/data
/usr/local/mysql/scripts/mysql_install_db --user=mysql&
/usr/local/mysql/bin/safe_mysqld --user=mysql&
安装php
./configure --prefix=/usr/local/php5.2.8 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir=/usr/share/doc/libxml2-2.6.16 --with-gd=/usr/local/phpsyslib/gd-2.0.35 --enable-gd-native-ttf --with-jpeg-dir=/usr/local/jpeg-6b --with-png-dir --with-freetype-dir=/usr/local/phpsyslib/freetype-2.3.5 --with-iconv-dir --with-zlib=/usr/local/phpsyslib/zlib-1.2.3 --enable-mbstring --disable-ipv6 --with-openssl-dir=/usr/local/ssl --with-curl=/usr/local/phpsyslib/curl-7.17.1 --with-mime-magic=/usr/share/file/magic.mime
Mysql日常用法
mysqldump –uXXX –hXXX -p samp_db >/usr/archives/mysql/samp_db.1999-10-02 备份
mysql 数据库名 <文件路径 用户名和密码(如果有) 导入
建立用户:
grant all on redflag.* to 用户名@"%" identified by "密码";
flush privileges;
无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com
暂无评论...
更新日志
2024年11月15日
2024年11月15日
- 黄乙玲1988-无稳定的爱心肝乱糟糟[日本东芝1M版][WAV+CUE]
- 群星《我们的歌第六季 第3期》[320K/MP3][70.68MB]
- 群星《我们的歌第六季 第3期》[FLAC/分轨][369.48MB]
- 群星《燃!沙排少女 影视原声带》[320K/MP3][175.61MB]
- 乱斗海盗瞎6胜卡组推荐一览 深暗领域乱斗海盗瞎卡组分享
- 炉石传说乱斗6胜卡组分享一览 深暗领域乱斗6胜卡组代码推荐
- 炉石传说乱斗本周卡组合集 乱斗模式卡组最新推荐
- 佟妍.2015-七窍玲珑心【万马旦】【WAV+CUE】
- 叶振棠陈晓慧.1986-龙的心·俘虏你(2006复黑限量版)【永恒】【WAV+CUE】
- 陈慧琳.1998-爱我不爱(国)【福茂】【WAV+CUE】
- 咪咕快游豪礼放送,百元京东卡、海量欢乐豆就在咪咕咪粉节!
- 双11百吋大屏焕新“热”,海信AI画质电视成最大赢家
- 海信电视E8N Ultra:真正的百吋,不止是大!
- 曾庆瑜1990-曾庆瑜历年精选[派森][WAV+CUE]
- 叶玉卿1999-深情之选[飞图][WAV+CUE]