Sunday, November 26, 2017

Start Apache Sling environment on CentOS

1. Download latest Sling version from:
https://sling.apache.org/downloads.cgi

2. Copy jar file to your desired location on CentOS

3. Start Apache Sling using the following command:
java -jar org.apache.sling.launchpad-8.jar

4. You'll get starting status right on the screen:



5. Also you get logs under:
/slinghome/sling/logs

Here you can properly tail error.log to see what's going on:
tail -500f error.log

6. As you can see from step 4, Sling by default starts on port 8080. As for that you can launch IP:8080 and get Sling Welcome Page:

 



7. Admin Console is also accessible at IP:8080/system/console. Please be aware that default user/pass is admin/admin:

 




No comments:

Post a Comment