linux下的web服务器搭建!.doc

上传人:ni****g 文档编号:542406323 上传时间:2023-06-14 格式:DOC 页数:4 大小:25KB
返回 下载 相关 举报
linux下的web服务器搭建!.doc_第1页
第1页 / 共4页
linux下的web服务器搭建!.doc_第2页
第2页 / 共4页
linux下的web服务器搭建!.doc_第3页
第3页 / 共4页
linux下的web服务器搭建!.doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《linux下的web服务器搭建!.doc》由会员分享,可在线阅读,更多相关《linux下的web服务器搭建!.doc(4页珍藏版)》请在金锄头文库上搜索。

1、linuxweb!.txt37linuxwebzlibtar zxvf zlib-1.2.3.tar.gzcd zlib-1.2.3./configure -prefix=/usr/local/zlib2makemake installlibpngtar zxvf libpng-1.2.10.tar.gzcd libpng-1.2.10./configure -prefix=/usr/local/libpngmakemake installfreetypetar zxvf freetype-2.3.5.tar.gzcd freetype-2.3.5./configure -prefix=/us

2、r/local/freetypemakemake installJpegmkdir /usr/local/jpeg6 mkdir /usr/local/jpeg6/bin mkdir /usr/local/jpeg6/lib mkdir /usr/local/jpeg6/include mkdir /usr/local/jpeg6/man mkdir /usr/local/jpeg6/man/man1 tar zxvf jpegsrc.v6b.tar.gzcd jpeg-6b./configure -prefix=/usr/local/jpeg6 -enable-sharedmakemake

3、installGDtar zxvf gd-2.0.35.tar.gzcd gd-2.0.35./configure -prefix=/usr/local/gd2 -with-zlib=/usr/local/zlib2/ -with-png=/usr/local/libpng/ -with-jpeg=/usr/local/jpeg6/ -with-freetype=/usr/local/freetype/make(makecd . & /bin/sh /root/gd-2.0.35/config/missing -run aclocal-1.9 -I configaclocal:configur

4、e.ac:64: warning: macro AM_ICONV not found in librarycd . & /bin/sh /root/gd-2.0.35/config/missing -run automake-1.9 -foreign cd . & /bin/sh /root/gd-2.0.35/config/missing -run autoconfconfigure.ac:64: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_p

5、attern_allow. See the Autoconf documentation.make: * configure Error 1configure.ac:64: error: possibly undefined macro: AM_ICONVgoogleBut you need to have gettextgettextyum install gettext make warning: macro AM_ICONV not found in library googlehttp:/ mysql / mysqluseradd mysql -g mysql /mysqlmysqlt

6、ar zxvf mysql-5.0.16.tar.gz /cd mysql-5.0.16 /./configure -prefix=/usr/local/mysql -with-charset=gbk -with-extra-charsets=gbk,gb2312 -enable-thread-safe-clientmakemake installcd scripts /./mysql_install_db -user=mysql /OKcd /usr/local/mysql /mysqlchown -R root . /root/usr/local/mysqlchown -R mysql v

7、ar /mysql/usr/local/mysql/var ,mysql./etc/fmysql_install_dbchown -R mysql var/ . /mysql/usr/local/mysql/var/mysql chgrp -R mysql . /mysql/usr/local/mysql# mysqlmysqlcd /usr/local/mysql/lib/mysql/ln -s libmysqlclient.so.15.0.0 libmysqlclient_r.socp /tmp/mysql-5.0.16/support-files/my-f /etc/fcp /tmp/m

8、ysql-5.0.16/support-files/mysql.server /etc/rc.d/init.d/mysqldchmod 700 /etc/rc.d/init.d/mysqldln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc3.d/mysqld/etc/rc.d/init.d/mysqld start /mysqlapachetar zxvf httpd-2.2.11.tar.gzcd httpd-2.2.11./configure -prefix=/usr/local/apache2 -enable-rewrite -enable-sslma

9、kemake install, APACHE /usr/local/apache2/bin/apachectl startPHPtar zxvf php-5.2.6.tar.gzcd php-5-2.6./configure -prefix=/usr/local/php -with-apxs2=/usr/local/apache2/bin/apxs -with-mysql=/usr/local/mysql -with-config-file-path=/usr/local/php/etc -with-jpeg-dir=/usr/local/jpeg6/ -with-png-dir=/usr/l

10、ocal/libpng/ -with-gd=/usr/local/gd2/ -with-freetype-dir=/usr/local/freetype/ -enable-trace-vars -with-zlib-dir=/usr/local/zlib2/ makemake installAPACHE .PHPAPACHEvi /var/apache/conf/httpd.confAddType AddType application/x-compress .ZAddType application/x-httpd-php .php .phtmlAddType application/x-h

11、ttpd-php-source .phpsapacherootmiix htdocs# apachectl -k restarthttpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission deniedselinuxchcon -t textrel_shlib_t libphp5.so

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号