directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Directory Server v1.5 > 1.3. Installing and starting the server
Date Wed, 20 Jul 2011 06:30:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=DIRxSRVx11&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/DIRxSRVx11/1.3.+Installing+and+starting+the+server">1.3.
Installing and starting the server</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~elecharny">Emmanuel
L├ęcharny</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{code}sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist{code}
<br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">If
you want to disable the automatic startup of the server, just modify the plist file : <br>
<br>{code} <br>       &lt;key&gt;Disabled&lt;/key&gt; <br>
      &lt;false/&gt; <br>{code} <br> <br>should be replaced by <br>
<br>{code} <br>       &lt;key&gt;Disabled&lt;/key&gt; <br>
      &lt;true/&gt; <br>{code} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Installation on Linux and Solaris
<br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <div class='panelMacro'><table class='noteMacro'><colgroup><col
width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Work
in progress</b><br />This site is in the process of being reviewed and updated.</td></tr></table></div>
<style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/DIRxSRVx11/1.2.+Some+Background.+Directories%2C+directory+services+and+LDAP"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/DIRxSRVx11/1.2.+Some+Background.+Directories%2C+directory+services+and+LDAP">1.2.
Some Background. Directories, directory services and LDAP</a>&nbsp;</td><td
width='33%' class='ScrollbarParent'><sup><a href="/confluence/display/DIRxSRVx11/1.+How+to+begin"><img
border='0' align='middle' src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/DIRxSRVx11/1.+How+to+begin">1. How to begin</a></td><td
width='33%' class='ScrollbarNextName'>&nbsp;<a href="/confluence/display/DIRxSRVx11/1.4.+Basic+configuration+tasks">1.4.
Basic configuration tasks</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/DIRxSRVx11/1.4.+Basic+configuration+tasks"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<h1><a name="1.3.Installingandstartingtheserver-Installingandstartingtheserver"></a>Installing
and starting the server</h1>

<p>This section describes how ApacheDS can be installed and started on different platforms.</p>

<div>
<ul>
    <li><a href='#1.3.Installingandstartingtheserver-Prerequisites'>Prerequisites</a></li>
    <li><a href='#1.3.Installingandstartingtheserver-Downloadaserverinstaller'>Download
a server installer</a></li>
    <li><a href='#1.3.Installingandstartingtheserver-InstallationonWindows'>Installation
on Windows</a></li>
    <li><a href='#1.3.Installingandstartingtheserver-InstallationonMacOSX'>Installation
on Mac OS X</a></li>
    <li><a href='#1.3.Installingandstartingtheserver-InstallationonLinuxandSolaris'>Installation
on Linux and Solaris</a></li>
</ul></div>

<h2><a name="1.3.Installingandstartingtheserver-Prerequisites"></a>Prerequisites</h2>

<ul>
	<li><b>Java 5.0</b>. We recommend using <a href="http://java.sun.com/javase/downloads/index.jsp"
class="external-link" rel="nofollow">Sun's JDK</a> , but the server has also been
successfully tested with JRockit 5.0 and with IBM Java 5.0.<br/>
You can check your java installation with:
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>java -version
</pre>
</div></div>
<p>this should response something like:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
</pre>
</div></div></li>
	<li>using Linux: you must have a X11 graphical interface</li>
	<li><b>384 MB RAM</b> for the JVM. That's the default setting, how to change
that is described <a href="/confluence/display/DIRxSRVx11/1.4.+Basic+configuration+tasks#1.4.Basicconfigurationtasks-MemoryAllocation">here</a></li>
</ul>



<h2><a name="1.3.Installingandstartingtheserver-Downloadaserverinstaller"></a>Download
a server installer</h2>

<p>We provide native installers for several platforms:</p>

<ul>
	<li>Windows (exe)</li>
	<li>Mac OS X (dmg)</li>
	<li>Solaris x86 and SPARC (pkg)</li>
	<li>Debian package (deb)</li>
	<li>RPM package (rpm)</li>
	<li>Linux Binary (bin)</li>
</ul>


<p>Additional we provide an zip and tar.gz archive suitable for any platform.</p>

<p>You can download them from <a href="http://directory.apache.org/apacheds/1.5/downloads.html"
title="Apache Directory Server 1.5 Downloads" class="external-link" rel="nofollow">here</a>.</p>

<p>An option for people familiar with tools like Subversion and Maven is to built the
server from the sources on their own. This is described  <a href="http://directory.apache.org/community&amp;resources/sources.html"
title="Sources" class="external-link" rel="nofollow">here</a>.</p>


<h2><a name="1.3.Installingandstartingtheserver-InstallationonWindows"></a>Installation
on Windows</h2>

<p>Installing can be easily done using the Windows installer. Its interface and functionality
is similar to other wizard based installers.</p>

<p><span class="image-wrap" style="display: block; text-align: center"><img
src="/confluence/download/attachments/55102/Windows_Installer.png?version=1&amp;modificationDate=1268832504000"
style="border: 0px solid black" /></span></p>

<p>To install the ApacheDS as Windows service you need <b>Administrator</b>
privileges.</p>

<h3><a name="1.3.Installingandstartingtheserver-Startingandstoppingtheserver"></a>Starting
and stopping the server</h3>

<p>The server can be started and stopped with Windows Services manager (<b>Control
Panel &gt; Administrative Tools &gt; Services</b>). You must be admin to do
this.</p>

<p>From there, you can easily start, stop and restart Apache DS.</p>

<h2><a name="1.3.Installingandstartingtheserver-InstallationonMacOSX"></a>Installation
on Mac OS X</h2>

<p>To install Apache DS on Mac OS X, simply open the downloaded DMG file and then the
"Apache Directory Server Installer.pkg" in it.</p>

<p><span class="image-wrap" style="display: block; text-align: center"><img
src="/confluence/download/attachments/55102/MacOSX_Installer.png?version=1&amp;modificationDate=1268832153000"
style="border: 0px solid black" /></span></p>

<p>From there, you will be guided to install Apache DS on your system.</p>

<h3><a name="1.3.Installingandstartingtheserver-Startingandstoppingtheserver"></a>Starting
and stopping the server</h3>

<p>On Mac OS X, Apache DS is installed as a <a href="http://developer.apple.com/macosx/launchd.html"
class="external-link" rel="nofollow">launchd</a> service and is loaded at startup
time (and upon successful installation).</p>

<p>You can stop the server by unloading the launchd service with the following command
line:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist</pre>
</div></div>

<p>You can start the server by loading the launchd service with the following command
line:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist</pre>
</div></div>

<p>If you want to disable the automatic startup of the server, just modify the plist
file :</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
       &lt;key&gt;Disabled&lt;/key&gt;
       &lt;<span class="code-keyword">false</span>/&gt;
</pre>
</div></div>

<p>should be replaced by</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
       &lt;key&gt;Disabled&lt;/key&gt;
       &lt;<span class="code-keyword">true</span>/&gt;
</pre>
</div></div>

<h2><a name="1.3.Installingandstartingtheserver-InstallationonLinuxandSolaris"></a>Installation
on Linux and Solaris</h2>

<p>The installation for different installers is described on the <a href="http://directory.apache.org/apacheds/1.5/downloads.html"
title="Apache Directory Server 1.5 Downloads" class="external-link" rel="nofollow">Apache
Directory Server 1.5 Downloads</a> page.</p>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/DIRxSRVx11/1.3.+Installing+and+starting+the+server">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=55102&revisedVersion=12&originalVersion=11">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message