Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to create Symbolic links for Dispatcher

Avatar

Level 4

HI,

 

I need to create Symlinks in my Enabled farm and vhost folder as part of my code repository for Cloud Manager.

Previously I used to create them after deployment right in the AEM box by issuing commands:

 

sudo /bin/ln -s /etc/httpd/conf.d/available_vhosts/* /etc/httpd/conf.d/enabled_vhosts/
sudo /bin/ln -s /etc/httpd/conf.dispatcher.d/available_farms/* /etc/httpd/conf.dispatcher.d/enabled_farms/

 

But as per Cloud Manager requirement, I need to create and push the Symlinks as part of the code Repo itself. Any suggestion how to do it locally using IDE like Eclipse/VSCode..?

1 Accepted Solution

Avatar

Correct answer by
Level 4

I can use same command in my terminal do create locally as well...So that should work for me as well..

 

https://apple.stackexchange.com/questions/115646/how-can-i-create-a-symbolic-link-in-terminal

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

I can use same command in my terminal do create locally as well...So that should work for me as well..

 

https://apple.stackexchange.com/questions/115646/how-can-i-create-a-symbolic-link-in-terminal

Avatar

Level 1
This worked for me, however after running a mvn clean install, the files are missing from the zip