Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing large packages in aem

Tags:

aem

I need to install large-sized packages in a new instance I am configuring. I am using package-manager for this but it is taking very long time for installation. Is there some other way this can be done? Additionally, it would be helpful if I can get information about physical location where DAM packages are stored. (Example: is there some way I can find path of DAM packages on my localhost?)

Thanks in advance!

like image 240
Mayur Desai Avatar asked Dec 03 '25 23:12

Mayur Desai


1 Answers

To install large content packages we always use curl. The largest packages we installed so far were about 15GB but it should also work with larger packages.

The curlcommand looks like this:

curl -u <user>:<password> \
    -F file=@"name of zip file" \
    -F name="name of package" \ 
    -F force=true \
    -F install=true \
    http://localhost:4502/crx/packmgr/service.jsp

There are a lot more helpful curl commands. Just google for "AEM curl commands" and you will find a lot of cheat sheets like the following:

https://gist.github.com/joemaffia/dd55e4c43a24c4948e8d

like image 94
Jens Avatar answered Dec 07 '25 01:12

Jens