Wednesday, September 10, 2008

OpenLDAP Setup and Configuration

I need to setup a OpenLDAP server that can be used with our email system.

I want Horde IMP, Postfix and Dovecot to used the OpenLDAP.

There are many ways of doing this. How we can populate the LDAP data.

I will used pam_ldap as the example but I'm not going to set the Linux to used it. I just need the right format for my data inside LDAP. In this example object class is posixAccount.

I will use the PADL migrating script for /etc/passwd and /etc/shadow for migrating any data. The data need to be in the same format as /etc/passwd and /etc/shadow

More example here

Friday, September 05, 2008

Pear Pecl Install phpize Not Found Problem

If you are trying to install with pecl and hit with the errors below.

running: phpize
sh: phpize: command not found
ERROR: `phpize' failed
just do the upgrade

pear upgrade PEAR
pear upgrade-all

This for my Centos 5.2 with PHP 5.1.6

--- Part 2

I'm still hit with the same problem. Look like I need to install php-pear-devel and make package to resolved this issue.

Tunning Mysql For Me

Tunning Mysql For Me

Sometime it's hard to tune the mysql setting inside /etc/my.cnf

This is only for first time mysql setup for your server without any database. *** WARNING ***

(1) I will copy my.cnf example for small memory. For Centos 5 it will reside in /usr/share/doc/mysql-server-5.0.45 9 (depend on mysql version you installed)

cd /usr/share/doc/mysql-server-5.0.45 9
cp my-small.cnf /etc/my.cnf

Start or restart mysqld

(2) Download Mysqltuner

Run it and follow the advices.

Today Notes Blog About Linux Open Source Computer Internet

comments powered by Disqus

Popular Posts