You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2015/01/02 14:47:07 UTC

svn commit: r934783 - in /websites/staging/directory/trunk/content: ./ apacheds/advanced-ug/2.2.1-debian-instance-layout.html

Author: buildbot
Date: Fri Jan  2 13:47:07 2015
New Revision: 934783

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/advanced-ug/2.2.1-debian-instance-layout.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jan  2 13:47:07 2015
@@ -1 +1 @@
-1649026
+1649030

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/2.2.1-debian-instance-layout.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/2.2.1-debian-instance-layout.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/2.2.1-debian-instance-layout.html Fri Jan  2 13:47:07 2015
@@ -164,7 +164,7 @@
 
 
 <h1 id="221-debian-instance-layout">2.2.1 - <img alt="debian" src="images/debian.png" /> Debian Instance Layout</h1>
-<p>When you run the installer ( <em>sudo dpkg -i apacheds-&lt;version&gt;-&lit;arch&gt;.deb</em> ) on your debian system, it will install the server on your disk, using this layout :</p>
+<p>When you run the installer ( <em>sudo dpkg -i apacheds-&lt;version&gt;-&lt;arch&gt;.deb</em> ) on your debian system, it will install the server on your disk, using this layout :</p>
 <div class="codehilite"><pre> <span class="o">/</span>
  <span class="o">|</span>
  <span class="o">+--</span> <span class="n">etc</span><span class="o">/</span>
@@ -245,7 +245,7 @@
 
 
 <h2 id="defining-an-instance">Defining an instance</h2>
-<p>The default installation comes with a default instance (aka <em>default</em>). It's possible to define more instances, it's just enough to copy the directory <em>/var/lib/apacheds-&lt;version&gt;/&lt;instances;gt;/default</em> and give it the name of the new instance. Then, be sure to remove everything under the <em>run/</em>, <em>partitions/</em>, <em>log/</em> and <em>cache/</em> directory to create a blank new instance. Here, we have created a blank <em>test</em> instance :</p>
+<p>The default installation comes with a default instance (aka <em>'default'</em>). It's possible to define more instances, it's just enough to copy the directory <em>/var/lib/apacheds-&lt;version&gt;/&lt;instances&gt;/default</em> and give it the name of the new instance. Then, be sure to remove everything under the <em>run/</em>, <em>partitions/</em>, <em>log/</em> and <em>cache/</em> directories to create a blank new instance. Here, we have created a blank <em>test</em> instance :</p>
 <div class="codehilite"><pre> <span class="o">/</span>
  <span class="o">|</span>
  <span class="o">+--</span> <span class="n">var</span><span class="o">/</span>
@@ -277,13 +277,13 @@
 <p>The next step is to be sure that the config.ldif file is modified to not conflict with any other instance of the server : it's just a mater to change the port used by the server.</p>
 <p>When the newly created instance will be created, the partitions will be created.</p>
 <h2 id="starting-the-server">Starting the server</h2>
-<p>As we can have more than one instance, we have more than one directory in <em>/var/lib/apacheds&lt;version&gt;</em> that can be installed. Each one of these instance can be started using the <em>/etc/init.d/apacheds</em> daemon, passing the instance as a parameter :</p>
+<p>As we can have more than one instance, we have more than one instance in <em>/var/lib/apacheds&lt;version&gt;/&lt;instances&gt;</em> that can be installed. Each one of these instance can be started using the <em>/etc/init.d/apacheds</em> daemon, passing the instance as a parameter :</p>
 <div class="codehilite"><pre>$ <span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="p">.</span><span class="n">d</span><span class="o">/</span><span class="n">apacheds</span><span class="o">-&lt;</span><span class="n">version</span><span class="o">&gt;</span> <span class="n">start</span> <span class="p">[</span><span class="o">&lt;</span><span class="n">instance</span><span class="o">&gt;</span><span class="p">]</span>
 </pre></div>
 
 
 <p>The default instance name is 'default'.</p>
-<p>All the data for a given instance are stored into this <em>/var/lib/apacheds-&lt;version&gt;/instances/&lt;instance-name&gt;<em> directory.</p>
+<p>All the data for a given instance are stored into this <em>/var/lib/apacheds-&lt;version&gt;/instances/&lt;instance-name&gt;</em> directory.</p>
 <h2 id="stopping-the-server">Stopping the server</h2>
 <p>Stopping the server is done using the same command, with a different parameter :</p>
 <div class="codehilite"><pre>$ <span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="p">.</span><span class="n">d</span><span class="o">/</span><span class="n">apacheds</span><span class="o">-&lt;</span><span class="n">version</span><span class="o">&gt;</span> <span class="n">stop</span> <span class="p">[</span><span class="o">&lt;</span><span class="n">instance</span><span class="o">&gt;</span><span class="p">]</span>
@@ -358,7 +358,7 @@ log4j.logger.org.apache.mina=FATAL
 
 
 <h3 id="jvm-setting">JVM setting</h3>
-<p>Were you to change the memory you want to use for a given instance, you will have to modify the <em>/var/lib/apacheds-&lt;version&gt;/&lt;instance&gt;/&lt;conf&gt;/wrapper-instance.conf</em> file. Here are the parameter you can configure in this file :</p>
+<p>Were you to change the memory you want to use for a given instance, you will have to modify the <em>/var/lib/apacheds-&lt;version&gt;/&lt;instances&gt;/&lt;conf&gt;/wrapper-instance.conf</em> file. Here are the parameter you can configure in this file :</p>
 <div class="codehilite"><pre><span class="c">##</span>
 <span class="c">## In this file you can override parameters specified in the default</span>
 <span class="c">## Apache Directory Server config file which is usually at</span>