Sunday, October 11, 2009

Procedure for installing 389.

Follow the procedure below. If anything bad happens, start over from 1.
0) Create unix user, make passwords, choose server and admin ports, etc.

1) IGNORE most of the wiki.

2) Stop running 389
service dirsrv-admin stop
service dirsrv stop


3) Use yum to uninstall old 389 packages.

4) Delete the old dirs:
rm -rf /usr/lib/dirsrv /usr/share/dirsrv /var/lib/dirsrv /var/lock/dirsrv

5) Use yum to install the new 389 packages

6) Run initial setup script:
/usr/sbin/setup-ds-admin.pl

7) To setup ssl, ensure that both servers are running, and execute:
/home/installerlocal/garage/setupssl2.sh /etc/dirsrv/slapd-trixter 11562

8) Restart servers with
service dirsrv-admin restart
service dirsrv restart


9) Start console with:
/usr/bin/389-console -u admin -w not3xch4n53 -a http://127.0.0.1:3407

No comments: