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

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

詳解Linux下的postfix安裝

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

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

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

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

  創建指向“/usr/local/sasl2/lib/sasl2”的符號鏈接“/usr/lib/sasl2”

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

  創建指向“/usr/local/sasl2/lib/libsasl2.la”的符號鏈接“/usr/local/lib/libsasl2.la”

  創建指向“/usr/local/sasl2/lib/libsasl2.so”的符號鏈接“/usr/local/lib/libsasl2.so”

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

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

  創建指向“/usr/local/sasl2/lib/sasl2”的符號鏈接“/usr/local/lib/sasl2”

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

  創建指向“/usr/local/sasl2/include/sasl/hmac-md5.h”的符號鏈接“/usr/local/include/hmac-md5.h”

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

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

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

  創建指向“/usr/local/sasl2/include/sasl/sasl.h”的符號鏈接“/usr/local/include/sasl.h”

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

  創建指向“/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
主站蜘蛛池模板: 波多野结衣一区免费作品 | 久久久国产精品网站 | 色老头在线观看精品 | 97干婷婷| 综合558欧美成人永久网站 | 精品九九人人做人人爱 | 久99久爱精品免费观看视频 | xxxxxx日本处大片免费看 | 一级片免费在线观看视频 | 秋霞午夜鲁丝片午夜精品久 | 久久这里只精品99re免费 | 欧美日韩一区二区在线视频播放 | 天堂网视频 | 国产高清不卡一区二区 | 国产精品揄拍一区二区 | 成年人免费看片 | 天天爱天天操天天射 | 黄色一级视频免费观看 | 五月天丁香婷婷开心激情五月 | 日本人爱爱视频 | 亚洲 欧美 日韩 在线 香蕉 | a成人毛片免费观看 | 26uuu最新地址 | 国产精品久久久久影院色老大 | 免费看一级黄色片 | 日韩国产欧美一区二区三区 | 亚洲欧美另类日韩 | 午夜视频国产 | 日韩a在线看免费观看视频 日韩h片 | 欧美亚洲国产激情一区二区 | 91精品观看91久久久久久 | 夜色私人影院永久入口 | 中文字幕亚洲图片 | 夜夜爽一区二区三区精品 | 黄色免费网站在线播放 | sao虎视频在线精品永久 | 日韩欧美三区 | 欧美国产亚洲一区 | 久久成人国产精品免费 | 亚洲欧美人成人综合在线50p | 日批视频在线播放 |