incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Sling > Karaf installation
Date Mon, 13 Feb 2012 16:28:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=SLING&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/SLING/Karaf+installation">Karaf
installation</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~ricker@jeffreyricker.com">Jeffrey
Ricker</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <p>It is easy to install Sling in <a href="http://karaf.apache.org" class="external-link"
rel="nofollow">Apache Karaf</a>. Note that Karaf and Felix are completely compatible.
This installation provides an OSGi-pure application without the need for the standalone launcher
jar. </p>

<ol>
	<li>Download Karaf from <a href="http://karaf.apache.org/index/community/download.html"
class="external-link" rel="nofollow">http://karaf.apache.org/index/community/download.html</a></li>
	<li>Unzip Karaf where you want to run the application.</li>
	<li>Launch Karaf with<br/>
 <tt>bin/karaf.bat</tt> or <tt>bin/karaf.sh</tt></li>
	<li>Install the webconsole. From the Karaf shell, type<br/>
 <tt>features:install webconsole</tt></li>
	<li>Add the Sling feature<br/>
 <tt>features:addurl mvn:org.apache.sling/org.apache.sling.launchpad/6/xml/features</tt></li>
	<li>Install Sling<br/>
 <tt>features:install sling</tt></li>
</ol>


<p>That's it. If you point to <tt><a href="http://localhost:8181" class="external-link"
rel="nofollow">http://localhost:8181</a></tt> you should see the Sling home
page. </p>

<p>As an added bonus, you now have the <tt>deploy</tt> directory. Just drag
bundles into the directory to have them installed.</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/SLING/Karaf+installation">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/SLING/Karaf+installation?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message