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 > Installers
Date Mon, 04 Oct 2010 14:46:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/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/Installers">Installers</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~pamarcelot">Pierre-Arnaud
Marcelot</a>
    </h4>
        <br/>
                         <h4>Changes (46)</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" >h4. Starting the default instance
<br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist{noformat}
<br></td></tr>
            <tr><td class="diff-unchanged" >or <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo apacheds start default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo apacheds start default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" >or <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo /usr/local/apacheds-(version)/bin/apacheds start default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo /usr/local/apacheds-(version)/bin/apacheds start default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Stopping the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist{noformat}
<br></td></tr>
            <tr><td class="diff-unchanged" >or <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo apacheds stop default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo apacheds stop default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" >or <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">-
$ sudo /usr/local/apacheds-(version)}/bin/apacheds stop default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-
{noformat}$ sudo /usr/local/apacheds-(version)}/bin/apacheds stop default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Registration of the
default instance <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h4. Installation <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo rpm --install apacheds-(version)-(arch).rpm <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo rpm --install apacheds-(version)-(arch).rpm{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Uninstallation <br>
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo rpm --uninstall apacheds <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo rpm --uninstall apacheds{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Starting the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default start <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default start{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Stopping the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default stop <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default stop{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Registration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /sbin/chkconfig --add apacheds-(version)-default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /sbin/chkconfig --add apacheds-(version)-default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Unregistration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /sbin/chkconfig --del apacheds-(version)-default <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /sbin/chkconfig --del apacheds-(version)-default{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h4. Installation <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo dpkg --install apacheds-(version)-(arch).deb <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo dpkg --install apacheds-(version)-(arch).deb{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Uninstallation <br>
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo dpkg --uninstall apacheds <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo dpkg --uninstall apacheds{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Starting the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default start <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default start{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Stopping the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default stop <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default stop{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Registration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo update-rc.d apacheds-(version)-default defaults <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo update-rc.d apacheds-(version)-default defaults{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Unregistration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo update-rc.d -f apacheds-(version)-default remove <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo update-rc.d -f apacheds-(version)-default remove{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h4. Installation <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo ./apacheds-(version)-(arch).bin <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo ./apacheds-(version)-(arch).bin{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Uninstallation <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h4. Starting the default instance
<br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default start <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default start{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Stopping the default
instance <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">$
sudo /etc/init.d/apacheds-(version)-default stop <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat}$
sudo /etc/init.d/apacheds-(version)-default stop{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Registration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">$</span>
<span class="diff-added-words"style="background-color: #dfd;">{noformat}$</span>
sudo update-rc.d apacheds-(version)-default defaults (on Debian distributions) <br></td></tr>
            <tr><td class="diff-changed-lines" >$ sudo /sbin/chkconfig --add apacheds-(version)-default
(on Fedora <span class="diff-changed-words">distributions)<span class="diff-added-chars"style="background-color:
#dfd;">{noformat}</span></span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h4. Unregistration of the
default instance <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">$</span>
<span class="diff-added-words"style="background-color: #dfd;">{noformat}$</span>
sudo update-rc.d -f apacheds-(version)-default remove (on Debian distributions) <br></td></tr>
            <tr><td class="diff-changed-lines" >$ sudo /sbin/chkconfig --del apacheds-(version)-default
(on Fedora <span class="diff-changed-words">distributions)<span class="diff-added-chars"style="background-color:
#dfd;">{noformat}</span></span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. With the Archive <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Installers-Installers"></a>Installers</h1>


<h2><a name="Installers-Introduction%2FBackground"></a>Introduction/Background</h2>

<p>ApacheDS is provided to users as a set of native installers for various operating
systems, as well as archive-based distributions suitable for any operating system.</p>

<p>Here's the complete list of all the distributions:</p>
<ul class="alternate" type="square">
	<li>Windows .exe installer (32 bit only)</li>
	<li>Mac OS X .pkg installer package (32bit and 64bit)</li>
	<li>Linux binary .bin installer (32bit and 64bit)</li>
	<li>Linux Debian .deb installer package (32bit and 64bit)</li>
	<li>Linux Fedora .rpm installer package (32bit and 64bit)</li>
	<li>Archive distribution as zip and tar.gz</li>
</ul>


<p>Each distribution, except the archive-based distributions, bundles the specific version
(for the target operating system and architecture) of the <a href="http://wrapper.tanukisoftware.com"
class="external-link" rel="nofollow">Tanuki Service Wrapper</a>.<br/>
This wrapper allows ApacheDS to run as a standard native service using the system's routines
to start/stop the server at boot time.</p>


<h2><a name="Installers-InstallersGeneration"></a>Installers Generation</h2>

<h3><a name="Installers-Prerequisites"></a>Prerequisites</h3>

<p>Building all native installers requires that the machine on which the installers
will be built has all the needed tools and utilities.</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Installer </th>
<th class='confluenceTh'> Tools and Utilities </th>
</tr>
<tr>
<td class='confluenceTd'> Windows .exe installer </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>NSIS (/usr/bin/makensis)</li>
</ul>
</td>
</tr>
<tr>
<td class='confluenceTd'> Mac OS X .pkg installer package </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>PackageMaker.app (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker)</li>
	<li>HDIUtil (/usr/bin/hdiutil)</li>
</ul>
</td>
</tr>
<tr>
<td class='confluenceTd'> Linux binary .bin installer </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>SH (/bin/sh)</li>
</ul>
</td>
</tr>
<tr>
<td class='confluenceTd'> Linux Debian .deb installer package </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>DPKG (/usr/bin/dpkg)</li>
	<li>GNUTar (/usr/bin/tar)</li>
</ul>
</td>
</tr>
<tr>
<td class='confluenceTd'> Linux binary .rpm installer package </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>RPMBuild (/usr/bin/rpmbuild)</li>
</ul>
</td>
</tr>
<tr>
<td class='confluenceTd'> Archive distribution  </td>
<td class='confluenceTd'><ul class="alternate" type="square">
	<li>(none)</li>
</ul>
</td>
</tr>
</tbody></table>
</div>


<p>Building on a machine that does not have all the prerequisites will not fail the
build, targets with unavailable tools and utilities will be skipped gracefully.</p>

<p>Mac OS X is the only platform on which it is possible to build all installers.</p>

<p>The following section will describe how to install all prerequisites on a Mac OS
X system.</p>

<h4><a name="Installers-InstallingallprerequisitesonMacOSX"></a>Installing
all prerequisites on Mac OS X</h4>

<p>Installing all prerequisites on Mac OS X requires the following softwares to be installed:</p>
<ul class="alternate" type="square">
	<li>Apple Xcode tools (<a href="http://developer.apple.com/" class="external-link"
rel="nofollow">http://developer.apple.com/</a>)</li>
	<li>MacPorts (<a href="http://www.macports.org/" class="external-link" rel="nofollow">http://www.macports.org/</a>)</li>
</ul>


<p>Once those softwares are installed we need to install additional command line utilities
via Mac Ports (rpm, dpkg, gnutar)</p>

<p>To do so, run the following command in a terminal window:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo port install rpm dpkg gnutar</pre>
</div></div>

<p>It will take a little while to install everything.</p>

<p>Then, it will be required to create a few symbolic links to please the package complilers.</p>

<p>Run the following commands:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo ln -s /opt/local/bin/rpmbuild /usr/bin/rpmbuild
$ sudo ln -s /opt/local/bin/dpkg /usr/bin/dpkg
$ sudo ln -s /opt/local/bin/dpkg-deb /usr/bin/dpkg-deb
$ sudo rm /usr/bin/tar
$ sudo ln -s /opt/local/bin/gnutar /usr/bin/tar</pre>
</div></div>

<h3><a name="Installers-Generateinstallers"></a>Generate installers</h3>

<p>You can generate ApacheDS installers by building the ApacheDS subproject from the
root directory with the 'installers' profile activated.</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>mvn clean install -Pinstallers</pre>
</div></div>

<p>This 'installers' profile will add the two maven modules to the build:</p>
<ul class="alternate" type="square">
	<li>ApacheDS Installer Maven Plugin (artifactId='apacheds-installers-maven-plugin')</li>
	<li>ApacheDS Installer (artifactId='apacheds-installers')</li>
</ul>


<p>At the end of the execution of the build, all installers are located at: <b>[ApacheDS
subproject root]/installers/target/installers</b></p>


<h2><a name="Installers-Installing%2FUninstalling%2CRegistering%2FUnregisteringandStarting%2FStoppingtheApacheDSservice"></a>Installing/Uninstalling,
Registering/Unregistering and Starting/Stopping the ApacheDS service</h2>

<h3><a name="Installers-WiththeWindowsinstaller"></a>With the Windows installer</h3>

<h4><a name="Installers-Installation"></a>Installation</h4>

<p>Open the Windows installer and answer the questions asked in the installer.</p>

<h4><a name="Installers-Uninstallation"></a>Uninstallation</h4>

<p>Run the Uninstaller application (from the ApacheDS menu in the Start menu)</p>

<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<p>In the Services control panel (Configuration Panel &gt; Administrative Tasks
&gt; Services), right click on the ApacheDS service and choose "Start"</p>

<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<p>In the Services control panel (Configuration Panel &gt; Administrative Tasks
&gt; Services), right click on the ApacheDS service and choose "Stop" </p>


<h3><a name="Installers-WiththeMacOSX.pkginstallerpackage"></a>With the
Mac OS X .pkg installer package</h3>

<h4><a name="Installers-Installation"></a>Installation</h4>

<p>The Mac OS X .pkg installer package is distributed inside a disk image (.dmg file),
so this disk image has be to opened first and then the installer package itself.<br/>
Follow the instructions of the installer.</p>

<h4><a name="Installers-Uninstallation"></a>Uninstallation</h4>

<p>Unfortunately, there's no uninstallation process.<br/>
This task is manual:</p>
<ul class="alternate" type="square">
	<li>Shut down any running instance</li>
	<li>Remove folder '/usr/local/apacheds-(version)' and the launchd file '/Library/LaunchDaemons/org.apache.directory.server.plist'</li>
</ul>


<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<ul class="alternate" type="square">
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist</pre>
</div></div>
<p>or</p></li>
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo apacheds start default</pre>
</div></div>
<p>or</p></li>
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /usr/local/apacheds-(version)/bin/apacheds start default</pre>
</div></div></li>
</ul>


<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<ul class="alternate" type="square">
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist</pre>
</div></div>
<p>or</p></li>
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo apacheds stop default</pre>
</div></div>
<p>or</p></li>
	<li><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /usr/local/apacheds-(version)}/bin/apacheds stop default</pre>
</div></div></li>
</ul>


<h4><a name="Installers-Registrationofthedefaultinstance"></a>Registration
of the default instance</h4>

<p>Open /Library/LaunchDaemons/org.apache.directory.server.plist in your favorite text
editor and change the 'RunAtLoad' key to 'true'</p>

<h4><a name="Installers-Unregistrationofthedefaultinstance"></a>Unregistration
of the default instance</h4>

<p>Open /Library/LaunchDaemons/org.apache.directory.server.plist in your favorite text
editor and change the 'RunAtLoad' key to 'false'</p>


<h3><a name="Installers-WiththeLinux.rpminstallerpackage"></a>With the Linux
.rpm installer package</h3>

<h4><a name="Installers-Installation"></a>Installation</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo rpm --install apacheds-(version)-(arch).rpm</pre>
</div></div>

<h4><a name="Installers-Uninstallation"></a>Uninstallation</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo rpm --uninstall apacheds</pre>
</div></div>

<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default start</pre>
</div></div>

<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default stop</pre>
</div></div>

<h4><a name="Installers-Registrationofthedefaultinstance"></a>Registration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /sbin/chkconfig --add apacheds-(version)-default</pre>
</div></div>

<h4><a name="Installers-Unregistrationofthedefaultinstance"></a>Unregistration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /sbin/chkconfig --del apacheds-(version)-default</pre>
</div></div>


<h3><a name="Installers-WiththeLinux.debinstallerpackage"></a>With the Linux
.deb installer package</h3>

<h4><a name="Installers-Installation"></a>Installation</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo dpkg --install apacheds-(version)-(arch).deb</pre>
</div></div>

<h4><a name="Installers-Uninstallation"></a>Uninstallation</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo dpkg --uninstall apacheds</pre>
</div></div>

<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default start</pre>
</div></div>

<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default stop</pre>
</div></div>

<h4><a name="Installers-Registrationofthedefaultinstance"></a>Registration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo update-rc.d apacheds-(version)-default defaults</pre>
</div></div>

<h4><a name="Installers-Unregistrationofthedefaultinstance"></a>Unregistration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo update-rc.d -f apacheds-(version)-default remove</pre>
</div></div>


<h3><a name="Installers-WiththeLinux.bininstallerpackage"></a>With the Linux
.bin installer package</h3>

<h4><a name="Installers-Installation"></a>Installation</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo ./apacheds-(version)-(arch).bin</pre>
</div></div>

<h4><a name="Installers-Uninstallation"></a>Uninstallation</h4>

<p>Unfortunately, there's no uninstallation process.<br/>
This task is manual:</p>
<ul class="alternate" type="square">
	<li>Shut down any running instance</li>
	<li>Remove all installed paths and files</li>
</ul>


<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default start</pre>
</div></div>

<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo /etc/init.d/apacheds-(version)-default stop</pre>
</div></div>

<h4><a name="Installers-Registrationofthedefaultinstance"></a>Registration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo update-rc.d apacheds-(version)-default defaults (on Debian distributions)

$ sudo /sbin/chkconfig --add apacheds-(version)-default (on Fedora distributions)</pre>
</div></div>

<h4><a name="Installers-Unregistrationofthedefaultinstance"></a>Unregistration
of the default instance</h4>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo update-rc.d -f apacheds-(version)-default remove (on Debian distributions)

$ sudo /sbin/chkconfig --del apacheds-(version)-default (on Fedora distributions)</pre>
</div></div>


<h3><a name="Installers-WiththeArchive"></a>With the Archive</h3>

<h4><a name="Installers-Startingthedefaultinstance"></a>Starting the default
instance</h4>

<p>Run the apacheds.sh or apacheds.bat script in a terminal/console.</p>

<h4><a name="Installers-Stoppingthedefaultinstance"></a>Stopping the default
instance</h4>

<p>Kill (CTRL+C) the running server in the terminal/console.</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/Installers">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23339773&revisedVersion=20&originalVersion=19">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message