Comments on CentOS Directory Server On CentOS 5.2
CentOS Directory Server On CentOS 5.2 The enterprise-class Open Source LDAP server for Linux. It is hardened by real-world use, is full-featured, supports multi-master replication, and already handles many of the largest LDAP deployments in the world. The Centos Directory Server (based on Fedora Directory Server) can be downloaded for free and set up in less than half an hour.
12 Comment(s)
Comments
Rather than modifying the contents of the /usr/bin directory, the java vm used can be specified simply by prepending the path to the desired java to the path, rather than appending it. To do this, enter the following comand (for bash):
export PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin:$PATH
This sets the appropriate Java directory to be searched first, before the rest of the PATH, so the desired java environment and jvm are used.
The less envasive method is using the tools redhat gives us....
Use the alternative system....
With it you can change the java system back and forward.
See the man page. In fact if you pick up a centos 5.2 base and install java 1.4 and 1.6, the 1.6 stays the default.
It would be interesting to see some pointers on shovelling all this into existing slapd nets, or does it all just do what it says on the tin?
Elaborate on "..shovelling all this into existing slapd nets.."Or are u refering to integrating it with this good ol' openldap ?
-
Oz
precisely
Step into the GUI. The import features isn in it somewhere. I remember seeing it. I suppose any fancy frontend, X.500 compliant, would be incomplete without this feature.
-Oz
I don't believe this HowTo is correct.
The test repo file provided doesn't work. The following error is reported when yum is executed:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=
hooo hoo,
Hold on to ur horses steve boy, lets not jump the gun here.
The test repo is listed at official wiki of centos ppl. Get hold of centos ppl it doesnt work. I've never said I maintained the centos repos.
And btw the http://dev.centos.org/centos/ is working. Plz do refrain from jumping to conclusions without double checking first with issues at ur end.
--
Oz
Note: Guys at centos.org, do accept my humble appreciation for all ur work. Never mind comments like these.
Will these instructions work for CentOS 4.7?
I doubt that, I checked their testing repo of centos 4 but it doesn´t seem to exist.
I think ur best bet is to get hold of .src.rpms, build them & then try some of instructions in this tutorial. But no guarantees
Good luck.
-0z
I found the following for installing a sample program:
alternatives --install /etc/alternatives/editor myeditor /usr/bin/kwrite 90
So for the above it would be something like:
alternatives --install /etc/alternatives/java java usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java 10
alternatives --install /etc/alternatives/javaws javaws usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/javaws 10
Then use the alternatives command to specify the new packages as the default.
(I really wish the packagers would automatically tell alternatives about the new java, most of the major distributions currently use it (alternatives))
I found to get the correct JDK version specificed in this guide you had to install the EPEL rep from Fedora; this is also referenced in the OpenJDK website it advises to use this repo for CENTOS5.x+
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm
Then you are able to 'yum install java-1.6.0-openjdk.i386'