Overview# I attempted to install Alfresco Governance Services Community Edition, referring to the following manual, so here are my notes.
https://support.hyland.com/r/Alfresco/Alfresco-Governance-Services-Community-Edition/23.4/Alfresco-Governance-Services-Community-Edition
References# As a similar effort, the following is available. Please refer to it as well.
https://irisawadojo.blogspot.com/2020/11/72alfresco2.html
Virtual Machine# The following machine was created as an Azure virtual machine.
Image: Ubuntu Server 24.04 LTS - Gen2 VM Architecture: x64 Size: Standard D2ads v6 (2 vcpus, 8 GiB memory) Open port 8080 for use.
Installing Docker# Install Docker.
s s # s c s # e s # s # s n # d u u u u u c u u u e o d d A d r d A h " $ d I d R d w V c o o d o l o d o d ( o n o u o g e k d d e l s n r r e a a i - c b s a t a u p i r p p D n f h D b p a p D s f t t o s s m o [ _ t l t o e d y r - - c t S o c a r - l - c r o u g g k a L d k r e g g k m c D n e e e l e c l e D e e o k o t t r l h a r h e t o t r d e c h ' t + = a c r k e u i s - t r r $ s u k i w - e l p n m p e ( e p e n i a r l d s o s / p d d r s t G o a t f 0 : e o p - a t h i - t a f 7 / t s k c t a o d n w e l i 5 / c i g s e l u o s o l c 5 d t ) l t c t r i a o k a l - a - w p r - s - s e l d y l d n t y p t y u r l l r a d a c G / k i b d o $ t a P e a e n l o U i - G t d y t e c S o c c . r - " k E n e k d i a e R r e a o n r | r t y p c g c - i t k s h s c f / e / i u e i k r d t d c e . o e o d a y c c c o t r o k t t c e i m e u e k s n / r r e e g l . e r c s i a ) / - u n s e c r u c s t e l x i c - / g / c g u n a l n b e p i u u d t p n - / c g t b s o u y o n / = u t g / r a p e c i g t e n c s e | / . r a l d s p i . u t s i d / t o o k . e d d t y / o e r d c e i o k n c e / g k r e s e - t / r b c d . u / o l i a c i l p k s d t e t x / r - k . > p e a l y s / u r c d g i ] e i n v n g h / s t n d / t u o d p l c o s l k c : e k / r e / - r d c . o o a w m s n p c l o o s > a e d - / . p d d l e o u v c g / k i n e n u r l . l c o m / l i n u x / u b u n t u \ Installation# Use “Install using Docker Compose” as described below.
https://support.hyland.com/r/Alfresco/Alfresco-Governance-Services-Community-Edition/23.4/Alfresco-Governance-Services-Community-Edition/Install/Install-using-Docker-Compose
Start with the following.
g c i d t a c c l s o - n d e e p h l t o t y p m s e : n / t / / g d i o t c h k u e b r . - c c o o m m / p A o l s f e r e s c o / a c s - d e p l o y m e n t
Edit the community-compose.yaml file found here. Change the following two lines. The manual says quay.io/alfresco/alfresco-governance-repository-community:23.x.x, but specify docker.io.
# i # i m m i a i a m g m g a e a e g : g : e e : d : d o o d c d c o k o k c e c e k r k r e . e . r i r i . o . o i i a a / l / l a f a f l r l r f e f e r s r s e c e c s o s o c c a a / l / l a f a f l r l r f e f e r s r s e c e c s o s o c - c - o g o g - o - o c v s v o e h e n r a r t n r n e a e a n n : n t c 2 c - e 3 e r - . - e r 4 s p e . h o p 0 a s o r i s e t i - o t c r o o y r m - y m c - u o c n m o i m m t u m y n u : i n 2 t i 3 y t . : y 4 2 : . 3 2 0 . 3 4 . . 4 0 . 0 Then, start the containers with the following.
d o c k e r c o m p o s e - f c o m m u n i t y - c o m p o s e . y a m l u p
For example, it can be accessed at http://locahost:8080/share .
Custom Domain Configuration# Try assigning a custom domain using Amazon Route 53 or similar. Here, the following is used as an example.
alfresco-demo.aws.ldas.jp
At this point, accessing http://alfresco-demo.aws.ldas.jp:8080/share/ displayed the following after login.
To address this, make the following changes.
s h a # i m e r m e n e i a m v # C # C : m g _ i S S a e l r C R C R g : i o S F S F e m n R _ R _ : d i m F F F F o t e _ I _ I d c : n F L F L o k t I T I T c e 1 : L E L E k r g T R T R e . E _ E _ r i R O R R . o _ R _ E i O I R F a R G E E / l I I F R a f G N E E l r I : R R f e N E : r s : h R e c t : h s o h t t c t p h t a t : t p / l p / t : a f : p / l r a : f e / l a r s l f / l e c o r l f s o c e o r c - a s c e o g l c a s - o h o l c s v o - h o h e s d o - a r t e s d r n : m t e e a 8 o : m : n 0 . 8 o 2 c 8 a 0 . 3 e 0 w 8 a . - s 0 w 4 s . / s . h l s . 0 a d h l r a a d e s r a - . e s c j / . o p . j m : * p m 8 : u 0 8 n 8 0 i 0 8 t 0 y / : s 2 h 3 a . r 4 e . / 0 . * As a result, the error was avoided even when accessing with the custom domain.
Accessing on Port 80# Next, let’s make it accessible on port 80. Mainly by changing the traefik configuration, it became possible to access using a URL like http://alfresco-demo.aws.ldas.jp/share/ .
There are 4 places to change.
p o # # C # # C # - r # - S S t C C R C C R - " s - " S S F S S F - : 8 R R _ R R _ " - " 0 F F F F F F - e 8 : _ _ I _ _ I - n 0 8 F F L F F L e t 8 0 I I T I I T n r 0 " L L E L L E t y : T T R T T R r p 8 E E _ E E _ y o 0 R R O R R R p i 8 _ _ R _ _ E o n 0 O O I R R F i t " R R G E E E n s I I I F F R t . G G N E E E s w I I : R R R . e N N E E : w b : : h R R e . t : : h b a h h t t . d t t p h h t a d t t : t t p d r p p / t t : d e : : p p / r s / a : : e s / l / a s = l a f / l s : o l r l a f = 8 c f e o l r : 0 a r s c f e 8 " l e c a r s 0 h s o l e c 8 o c - h s o 0 s o d o c - " t - e s o d : d m t - e 8 e o : d m 0 m . 8 e o 8 o a 0 m . 0 . w 8 o a a s 0 . w w . a s s l s w . . d h s l l a a . d d s r l a a . e d s s j / a . . p . s j j * . p p j / : p s 8 : h 0 8 a 8 0 r 0 8 e 0 s h a r e / . * Accessing via HTTPS# Finally, modify it to allow access via HTTPS.
First, run the following.
m t c k o h d u m i c o r h d - 6 p / 0 l 0 e / t l s / e e l t n e s c t e r s n y e c p n r t c y / r p a y t c p m t e . a j c s m o e n . j s o n Then, make the following changes. Note the comments marked with HTTPS support.
l e l l l c p h s a n a a a o o e e o b - # - - - - - - - v # # # C # # # C b - # - - - - - - - b - # - - - - - - - - b - - - - - - - - - m - - # - - - - - - - - - - - - r # - - - a t i t r s c - l e i S S e e e m t l e n i e t u u l " - " " " " " " " r C C C R C C C R l " - " " " " " " " l " - " " " " " " " " l " " " " " " " " " a " " - " " " " " " " " " " " " s - " " " t s t m t a r l m s t t t t t t t t o S S S F S S S F s t t t t t t t t s t t t t t t t t t s t t t t t t t t t n - - - - - - - - - - - - - - : 8 4 8 h t e e r r i a e v / : r " r r r r r r r n R R R _ R R R _ : r " r r r r r r r : r " r r r r r r r r : r r r r r r r r r d - - " - - - - - - - - - - - - " 0 4 8 c : r o i t t b s a l a t a a a a a a a m F F F F F F F F a t a a a a a a a a t a a a a a a a a a a a a a a a a a : a p - e e a p p p c c c e e e 8 : 3 8 h v u e _ y e : r e e r e e e e e e e e _ _ _ I _ _ _ I e r e e e e e e e e r e e e e e e e e e e e e e e e e e p r - n n c r i i e e e n n n 0 8 : 8 e [ a t s p _ l / t f a f f f f f f f n F F F L F F F L f a f f f f f f f f a f f f f f f f f f f f f f f f f f i o e t t c o n n r r r t t t 8 0 4 : c " l : : e o = r s i e i i i i i i i t I I I T I I I T i e i i i i i i i i e i i i i i i i i i i i i i i i i i . v n r r e v g g t t t r r r 0 " 4 8 k C : r p d u e k f k k k k k k k : L L L E L L L E k f k k k k k k k k f k k k k k k k k k k k k k k k k k i i t y y s i . = i i i y y y : 3 8 : M 1 3 i t i n n . i . . . . . . . T T T R T T T R . i . . . . . . . . i . . . . . . . . . . . . . . . . . n d r p P s d e t f f f p p p 8 " 8 D 2 0 o : s / c e k h h h h h h h E E E _ E E E _ e k h h h h h h h e k h h h h h h h h e h h h h h h h h s e y o o l e n r i i i o o o 0 8 " 0 s d a d r n . t t t t t t t R R R O R R R R n . t t t t t t t n . t t t t t t t t n t t t t t t t t e r p i i o r t u c c c i i i 8 " , s : b o y a h t t t t t t t _ _ _ R _ _ _ E a h t t t t t t t a h t t t t t t t t a t t t t t t t t c s o n n g s r e a a a n n n 0 # l c p b t p p p p p p p O O O I R R R F b t p p p p p p p b t p p p p p p p p b p p p p p p p p u . i t t = . y " t t t t t t " " 1 e k t l t . . . . . . . R R R G E E E E l t . . . . . . . l t . . . . . . . . l . . . . . . . . r d n s s t d p e e e s s s H t 0 e : e p r s r m r r r I I I I F F F R e p r s r m r r r e p r m m m m r r r e r m m m m r r r e o t . . r o o s s s . . . T r s # r = . o e o i o o o G G G N E E E E = . o e o i o o o = . o i i i i o o o = o i i i i o o o = c s w t u c i r r r w w w T a . l t r u r u d u u u I I I : R R R R t r u r u d u u u t r u d d d d u u u t u d d d d u u u t k . e r e k n e e e e e e P e R s e r o t v t d t t t N N N E E E : r o t v t d t t t r o t d d d d t t t r t d d d d t t t r e w b a " e t s s s b b b S f e o t u u e i e l e e e : : : h R R R u u e i e l e e e u u e l l l l e e e u e l l l l e e e u r e . e r = o o o . . s i q c s e t r c r e r r r t : : : h e t r c r e r r r e t r e e e e r r r e r e e e e r r r e = b a f . w l l l h h e s k u k e " e s e s w s s s h h h t t " e s e s w s s s " e s w w w w s s s " s w w w w s s s " t . d i e e v v v t t c u " i : n r . s . a . . . t t t p h h h t r . s . a . . . r . a a a a . . . . a a a a . . . r a d k x b e e e t t u p , r / c s a . s r s a a t t t s t t t p s s . p r p s s s a r r r r a a a a r r r r a a a u d r . p " r r r p p r p e v r . l a o e o l l p p p : t t t s . h s r e r h h . c e e e e c c c c e e e e c c c e d e a o s s s . . e o " d a y a f l l s l f f : : : p p p : s a h o s o a a a a s s s s a a a c s s s s c c c " r s d s . . . r r . r h r p l r f r . r r r / : : : h r a x . x r r c . . . . . . . . . . . . . . . . e s d e m m m e e a t e f / t f e r a a a e e a / a e r i s i e e a r a a a a m e c r a a a a m e t s = r d y y y d d d a o r r s e p c p s s l a a l a r . e e h e . . . u c c c c i n e u c c c c i n l s : e B r r r i i d l r u e c s i s i c c o l l f l a a l e r . d a d e t r l a a a a d t r l c c c c d t s = 8 s y e e e r r r t n # s o c d f d o o c f f r o l l f . u l s r s n l u e r f f c d r t e r f f c d r . : 0 s D s s s e e e h a / c . o e a e . . a r r e c f f r r l o o e o t s l = o o o h l y r = o o o h l y c 8 " = e o o o c c s c c d H o r . n k n e t l e e s a r r e u e a l f l r . e H o r r a e p e P o r r a e p e 0 : f l l l t t s h c o T . u l y e y n l h s s c l e e s l = d r a r y c = o t c c i w o s a t c c i w o r 8 8 a v v v i i = e e c T r l o . a . t s o c c o h s s c e H b a k a p e P s . e e n a i o t . e e n a i t 0 8 u e e e o o : c s k P u e a r u m r . s o o - o c c o = o a p e p o r a t s s s . r n l h s s s . r n r " 8 l r r r n n 4 k s e S l = d u t i y c t - - d s o o - P s l i a i i t t ( t l l c e t v P t l l c e t e 8 t . . . s s 4 " i r e H b l h d p e : d d e t - - d a t a d u d n r h ` r a a h s s e r r a a h s s s " = a a a . . 3 , n . s = o a e . d o r 8 e e m : d d e t ( n e t e t e P a i s s a = = r e i s s a = = o f c c c e e " g s u P s l = b l i t 0 m m o 8 e e m h ` c n h n s s r l p h h i a w = f p h h i a w l a m m m n n " o p a t a P a e n r 8 o o . 0 m m o P a e y . y = o e f p . . n c e m i p . . n c e v l e e e t t - t c p t ( n a s w t e 0 . . a 8 o o . r l r . b . w l f r r r r . a b y x r r r . c b e s . . . r r # - h k o h ` c t i a s s a a w 0 . . a e f . r a m e v i e e e e m c s r ( e e e m c s r e h e s y y p e : r P a e h c r = o w w s a a w f r s u s i b e x s f d d i h e e ` f d d i h e = " t m t P P H i r t r l r R a e w l s s . s w w s i e e l i d s r ( c i i i d a c s / i i i d a c m t a o o o T n D o e f . e u s e v . . l h s s . x s r e c d e = ` x r r d i u o c x r r d i u y p i r i i T g o f r s g t = b e l l d a . . l ( c v = a l c m - . e e l n r l o . e e l n r r c l a n n P " c i e e e h a s r d d a r l l d ` e P u e u y c d p c c e @ e v n p c c e @ e e h = g t t S ] k x s r x . c e = a a s e d d a - r a t w r r o e r t t w d " e t r t t w d " s a [ e . . e ( c v p u s c m s s . / a a s s d . t h a e e n m e r r a o r r e r r a o o l x = t s s r ` e ( s f u y . . j . s s . h e p h . r " s t o f e e r c # " o f e e r c # l l x / o c u - r ` e a r r j j p * . . j a m o R u e o e . i g g e k l i g g e k v e x l = h p s ` d . ^ r k e e p p j j p r o r e s s # l n a x e e s e H # - x e e s e H e n @ e w e p o ) e p s e " s : p p e . t g e = v t w e x x = r T c e x x = r T r g e t e m o c " m a = a o 8 : s ` a = e r s H e - s s . . a " T H e s . . a " T " e x s b e r k o r l f u # l 0 8 s h ) w 8 x s h T r a . = r r c P T n = r r c P . a e s = t e . t f a t v 8 0 h a " s 0 p = a T " p l / e e a S T t / e e c S # e m n e h t a = r k h H e 0 8 a r . 8 ( f r P p d c g p f P e a g p f n p c c t w 8 e e @ T r 0 r e l 0 ` a e S # ` a o e l o s S r d e l o s H t l r u t o s 0 s : d T " / e d " ^ k f ) s n x a r u ` m x a r u T r e y r p n . 8 c " o P s a / e a s H " . t = c c p s ) i = c c p T y . p e s l 0 o c S # h s s : k u T j e ^ e e p u n ^ e e p P p o t " " S d " / k a . h " e p T p n ( m s o p , ( m s o S o r / e a ( e s H r j a a p P ` t . e l r p / . e l r i g a l s w r u T e p r u o S ) - * n a t o c * n a t s n ] c # # i . c " p T / ` e t r a / t s r P o / t s u t " m n j ) p P . ) / h t s & p c = h t a n ( = h p = e H H u p ? o S * p @ u & p o $ , t t a $ , p w # . T T x ` s r & r d p " n $ a h r d $ a o e j T T ) ( t s & o o p P t { c P o m { c r b N s P P e e u x c o a e 1 a r l i 1 c t " e o S S n & r p P y k r t n } r e - n } r e n a & v p a / e t h t / o f c | / o d " s s b i o t a r P - " o i e c " o # s u u l P c r h l " r a t x n o t p p e a e t P f e p " ( t n " H m # p p d t ) r r f p ` e t T o o o h ? e e i ) / r r T d H r r s P / f s x $ a " o P i T t t y r a i c ( $ d l S f T s e p x o ` " m - i P t f i ( ( / i c s c S e i / ` - c n e u a m x s / ( o ` n p t s s ( o s n n ) t p i u ` l h o t " e o o p / r a a e r r n p ` / r u n ) t o ) . e t t ) r " * ` h - $ # t $ ) | a $ # ` " f p " H ) e p T H " # e ` T T d ) P T H | " S P T a S T p # s P i u s S ) H p u ) T p p s ? T o p u / P r o p a S t r p p t o i s r / u t s p o p l o r r / t ` ) " This made it accessible at the following address.
https://alfresco-demo.aws.ldas.jp/share/
Summary# Initially, I tried a bulk find-and-replace of localhost and port 8080, but it did not work well, so I verified the behavior step by step as described above.
There are still many areas that have not been fully verified, and there may be some errors, but I hope this serves as a useful reference.