Postfix Cyrus Web cyradm HOWTO
3.7.2. Installing
tar xvzf pam_mysql 0.5.tar.gz
cd pam_mysql
If you have compiled mysql by yourself, check the
Makefile
and enter the correct
path to your mysql libs and add the compiler flag
CFLAGS
I/path/to/mysql/include
.
ifndef FULL_LINUX_PAM_SOURCE_TREE
export DYNAMIC= DPAM_DYNAMIC
export CC=gcc
export CFLAGS= O2 Dlinux DLINUX_PAM \
ansi D_POSIX_SOURCE Wall Wwrite strings \
Wpointer arith Wcast qual Wcast align Wtraditional \
Wstrict prototypes Wmissing prototypes Wnested externs Winline \
Wshadow pedantic fPIC I/usr/local/mysql/include
export MKDIR=mkdir p
export LD_D=gcc shared Xlinker x L/usr/local/mysql/lib/mysql lz
endif
After customizing that file you an go ahead with the pam_mysql compile.
make
cp pam_mysql.so /lib/security
[[ ! d /var/lib/mysql ]] && mkdir /var/lib/mysql
ln s /tmp/mysql.sock /var/lib/mysql/mysql.sock
3.8. Getting and installing Web cyradm
3.8.1. Download
Origin Site: http://www.web cyradm.org
3.8.2. Installing
cd /usr/local/apache/htdocs
tar xvzf web cyradm 0.5.4.tar.gz
19
MySQL Web Hosting Postfix-Cyrus-Web-cyradm MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |