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 13:23: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 (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" >This wrapper allows ApacheDS to run
as a standard native service using the system&#39;s routines to start/stop the server
at boot time. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Generating installers <br>
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >It will take a little while to install
everything. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Then, it will be required to create
a few <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">symbolique</span>
<span class="diff-added-words"style="background-color: #dfd;">symbolic</span>
links to please the package complilers. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>Run the following commands:
<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-Generatinginstallers"></a>Generating installers</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 xxxx /usr/bin/xxx</pre>
</div></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo ln -s xxxx /usr/bin/xxx</pre>
</div></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo ln -s xxxx /usr/bin/xxx</pre>
</div></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ sudo ln -s xxxx /usr/bin/xxx</pre>
</div></div>
    </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=8&originalVersion=7">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message