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

當前位置:首頁文章首頁 IT學院 IT技術

詳解Linux下的postfix安裝

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

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

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

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

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

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

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

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

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

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

  創(chuàng)建指向“/usr/local/sasl2/lib/sasl2”的符號鏈接“/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”的符號鏈接“/usr/local/include/hmac-md5.h”

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

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

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

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

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

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

  啟動

  /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之后,則是可以進行修改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在一起

  之后測試

  http://ip/test.php

  如下所示是正確的

  

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

相關軟件

相關文章

文章評論

軟件按字母排列: 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
主站蜘蛛池模板: 成人一区视频 | 日本视频中文字幕一区二区 | 国产精品一区二区不卡的视频 | 阿v天堂2021在线观看 | 国产特级毛片aaaaaaa高清 | 一级做a免费视频观看网站 一男一女下面一进一出性视频 | 日韩欧美一区二区三区中文精品 | 最新日韩中文字幕 | 欧美日韩高清不卡一区二区三区 | 欧美日韩视频在线第一区 | 亚洲欧美精品久久 | 黄色一级片a | 一区二区不卡视频在线观看 | 欧美一级做一级做片性十三 | 在线观看91精品国产不卡免费 | 色永久| 中日韩视频在线看免费观看 | 成人免费视频在线观看 | 岛国毛片在线 | 最新亚洲一区二区三区四区 | 亚洲成成品网站有线 | 国产精品尹人在线观看免费 | 免费在线观看污污视频 | 午夜性刺激免费视频观看不卡专区 | a网站免费 | 欧美日韩精品一区二区三区不卡 | 免费一级特黄3大片视频 | 五月天婷婷缴情五月免费观看 | 色爱区综合激情五月综合色 | 国产麻豆入在线观看 | 日本夜夜操 | 日本三级香港三级人妇网站 | 国产1区2区在线观看 | 九九99靖品 | 中国一级特黄特色真人毛片 | 麻豆久久婷婷综合五月国产 | 精品午夜一区二区三区在线观看 | 99精品欧美一区二区三区美图 | 真正全免费视频a毛片 | 国产成人小视频在线观看 | 免费网站看v片在线播放器 免费无毒片在线观看 |