Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ 2018

[Repository] Useful Oak oak-run Commands

Start a Java UI to explore the AEM Repository and determine which tar file contains which piece of content java -Xmx4g -jar oak-run-1.6.0.jar explore --segment=true G:\AEM_6.2\Author\crx-quickstart\repository\segmentstore Perform a consistency check (details here ) (AEM should be shut down) java -Xmx4g -jar oak-run-1.6.0.jar check --segment=true --path G:\AEM_6.2\Author\crx-quickstart\repository\segmentstore --bin -1 --deep 0 AEM 6.4 java -Xmx8g -jar oak-run-1.8.2.jar check G:\AEM_6.4\author\crx-quickstart\repository\segmentstore Debug the repository (AEM should be shut down) java -Xmx4g -jar oak-run-1.6.0.jar debug --segment=true G:\AEM_6.2\Author\crx-quickstart\repository\segmentstore AEM 6.4 java -Xmx8g -jar oak-run-1.8.2.jar debug G:\AEM_6.4\author\crx-quickstart\repository\segmentstore List checkpoints java -Xmx4g -jar oak-run-1.6.0.jar checkpoints --segment=true G:\AEM_6.2\Author\crx-quickstart\repository\segmentstore

[USER] disable user

How to disable AEM user? Disable: curl -u user:pass -F "disableUser=Not required" http://localhost:4502/home/users/path/to/user.rw.html Enable: curl -u  user:pass -F "disableUser=" http://localhost:4502/home/users/path/to/user.rw.html