变态重口极致另类在线-波多久久夜色精品国产-波多野结衣在线观看一区-波多野结衣在线观看一区二区-污污的网站免费阅读-污污视频网址

當(dāng)前位置:首頁文章首頁 IT學(xué)院 IT技術(shù)

詳解Linux下的postfix安裝

作者:  來源:  發(fā)布時(shí)間:2012-2-16 17:16:05  點(diǎn)擊:
  ln: 正在創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so”的符號(hào)鏈接“/usr/lib/libsasl2.so”: 文件已存在

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so.2”的符號(hào)鏈接“/usr/lib/libsasl2.so.2”

  ln: 正在創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so.2”的符號(hào)鏈接“/usr/lib/libsasl2.so.2”: 文件已存在

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so.2.0.22”的符號(hào)鏈接“/usr/lib/libsasl2.so.2.0.22”

  創(chuàng)建指向“/usr/local/sasl2/lib/sasl2”的符號(hào)鏈接“/usr/lib/sasl2”

  [root@server250 ~]# ln -sv /usr/local/sasl2/lib/* /usr/local/lib

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.la”的符號(hào)鏈接“/usr/local/lib/libsasl2.la”

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so”的符號(hào)鏈接“/usr/local/lib/libsasl2.so”

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so.2”的符號(hào)鏈接“/usr/local/lib/libsasl2.so.2”

  創(chuàng)建指向“/usr/local/sasl2/lib/libsasl2.so.2.0.22”的符號(hào)鏈接“/usr/local/lib/libsasl2.so.2.0.22”

  創(chuàng)建指向“/usr/local/sasl2/lib/sasl2”的符號(hào)鏈接“/usr/local/lib/sasl2”

  [root@server250 ~]# ln -sv /usr/local/sasl2/include/sasl/* /usr/local/include/

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/hmac-md5.h”的符號(hào)鏈接“/usr/local/include/hmac-md5.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/md5global.h”的符號(hào)鏈接“/usr/local/include/md5global.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/md5.h”的符號(hào)鏈接“/usr/local/include/md5.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/prop.h”的符號(hào)鏈接“/usr/local/include/prop.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/sasl.h”的符號(hào)鏈接“/usr/local/include/sasl.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/saslplug.h”的符號(hào)鏈接“/usr/local/include/saslplug.h”

  創(chuàng)建指向“/usr/local/sasl2/include/sasl/saslutil.h”的符號(hào)鏈接“/usr/local/include/saslutil.h”

  啟動(dòng)

  /usr/local/sasl2/sbin/saslauthd -a shadow pam

  添加到庫文件

  [root@server250 local]# echo "/usr/local/sasl2/lib" >>/etc/ld.so.conf

  [root@server250 local]# echo "/usr/local/sasl2/lib/sasl2/" >> /etc/ld.so.conf

  [root@server250 local]#

  [root@server250 local]#

  [root@server250 local]#

  [root@server250 local]# ldconfig -v

  Ok

  第四編譯安裝apache

  完成以上后,開始安裝apache

  [root@server250 postfix]# tar jxvf httpd-2.2.21.tar.bz2

  [root@server250 postfix]# ./configure --prefix=/usr/local/apache --enable-so --enable-track-vars --enable-rewrite --with-zlib --enable-mods-shared=most --enable-suexec --with-suexec-caller=daemon

  Make makeinstall

  第五編譯安裝php

  [root@server250 postfix]# tar zxvf php-5.3.6.tar.gz

  [root@server250 php-5.3.6]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql -with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir --with-png-dir --with-jpeg-dir --with-zlib --with-freetype-dir --with-gd-dir --enable-mbstring=all

  [root@server250 ~]# ln -sv /usr/local/mysql/include/* /usr/local/mysql/include/mysql

  /usr/local/src/php-5.3.5/ext/mysqli/mysqli.c: In function 'zm_startup_mysqli':

  2/usr/local/src/php-5.3.5/ext/mysqli/mysqli.c:644: error: 'MYSQL_RPL_MASTER' undeclared (first use in this function)

  3/usr/local/src/php-5.3.5/ext/mysqli/mysqli.c:644: error: (Each undeclared identifier is reported only once

  4/usr/local/src/php-5.3.5/ext/mysqli/mysqli.c:644: error: for each function it appears in.)

  5/usr/local/src/php-5.3.5/ext/mysqli/mysqli.c:645: error: 'MYSQL_RPL_SLAVE' undeclared (first use in this function)

  6/usr/local/src/php-5.3.5/ext/mysqli/mysqli.c:646: error: 'MYSQL_RPL_ADMIN' undeclared (first use in this function)

  7make: *** [ext/mysqli/mysqli.lo] Error 1

  [root@server250 ~]# ln -sv /usr/local/mysql/include/* /usr/local/mysql/include/mysql

  [root@server250 php-5.3.6]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql -with-mysqli=/usr/local/mysql/bin/mysql_config --with-libxml-dir --with-png-dir --with-jpeg-dir --with-zlib --with-freetype-dir --with-gd-dir --enable-mbstring=all

  Make && make install

  第六,php+apache+mysql的整合

  Ok,安裝php之后,則是可以進(jìn)行修改http的文件,即是php+apache的整合

   AddType application/x-httpd-php .php

  AddType application/x-httpd-php-source .phps

  [root@localhost htdocs]# vi test.php

  

  phpinfo();

  ?>

  在directory 目錄處添加index。Php和index.html在一起

  之后測(cè)試

  http://ip/test.php

  如下所示是正確的

  

首頁 上一頁 [1] [2] [3] [4] [5]  下一頁 尾頁
上一篇:tar包的應(yīng)用 下一篇:

相關(guān)軟件

相關(guān)文章

文章評(píng)論

軟件按字母排列: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
主站蜘蛛池模板: 黄色录像a | 中文字幕亚洲精品日韩精品 | 三级黄色片a | 久久com| 国产制服 | 亚洲国产一级毛片 | 在线中文高清资源免费观看 | 最近韩国日本免费免费版 | 成人观看视频又黄又免费 | 天天曰天天射 | 热99re久久精品精品免费 | 亚洲欧美日韩天堂 | 亚洲激情小视频 | 天堂中文网 | 免费在线观看黄 | 国产aaa级一级毛片 国产aaa三级 | 久久91精品国产91久 | 99手机在线视频 | 日本中文字幕在线播放 | 日韩视频一区二区三区 | 青草草在线 | 手机看片一区二区 | 国内不卡1区2区 | 欧美成人久久一级c片免费 欧美成人看片 | 久草最新 | 老司机午夜在线视频 | 国产真实伦偷精品 | 特级深夜a级毛片免费观看 特级中国aaa毛片 | 日日操视频| 亚色污 | 国产成人a∨麻豆精品 | 国产日韩亚洲欧洲一区二区三区 | 亚色污 | 国产中文99视频在线观看 | 免费看v片网站 | 国产精品伦一区二区三级视频 | 国产福利微拍精品一区二区 | 国产成人精品视频频 | 国产精品成人网 | 很很在线视频观看 | 午夜剧场网站 |