{"id":946,"date":"2020-04-16T14:17:11","date_gmt":"2020-04-16T12:17:11","guid":{"rendered":"https:\/\/blog.mhasin.eu\/?p=946"},"modified":"2020-12-04T23:01:22","modified_gmt":"2020-12-04T22:01:22","slug":"apereo-debian-install","status":"publish","type":"post","link":"https:\/\/blog.mhasin.eu\/?p=946","title":{"rendered":"Apereo debian install"},"content":{"rendered":"\n<p>Instil\u00e1cia docker, git<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> apt install docker.io git<\/code><\/pre>\n\n\n\n<p>Stiahnutie instalacie CAS apaereo overlay<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone --branch 6.1 https:\/\/github.com\/apereo\/cas-overlay-template.git<\/code><\/pre>\n\n\n\n<p>Nastavenie gradle:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano build.gradle<\/code><\/pre>\n\n\n\n<p>Doplnenie nastavenia:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dependencies {\n    \/\/ Other CAS dependencies\/modules may be listed here...\n     compile \"org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}\"\n     compile \"org.apereo.cas:cas-server-support-ldap:${casServerVersion}\"\n}<\/code><\/pre>\n\n\n\n<p>vytvorenie projektu do docker kontajneru:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/docker-build.sh<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"70\" src=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-26.png\" alt=\"\" class=\"wp-image-951\" srcset=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-26.png 756w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-26-300x28.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/figure>\n\n\n\n<p>Spustenie kontajneru:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/docker-run.sh<\/code><\/pre>\n\n\n\n<p>zobrazenie LOG po spusteni<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27-1024x468.png\" alt=\"\" class=\"wp-image-953\" srcset=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27-1024x468.png 1024w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27-300x137.png 300w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27-768x351.png 768w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27-1536x702.png 1536w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-27.png 1907w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Server nacuva na porte:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;localhost:8443\/cas\nhttp:\/\/localhost:8080\/cas<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"393\" src=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-28-1024x393.png\" alt=\"\" class=\"wp-image-955\" srcset=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-28-1024x393.png 1024w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-28-300x115.png 300w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-28-768x295.png 768w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/04\/obr\u00e1zok-28.png 1142w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Defaul Username, PASSWORD:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Username:casuser\nPassword: Mellon<\/code><\/pre>\n\n\n\n<p>LDAP nastavenie:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano etc\/cas\/config\/cas.properties<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>cas.authn.accept.users=\n### Connexion LDAP\ncas.authn.ldap\\&#91;0\\].providerClass=org.ldaptive.provider.unboundid.UnboundIDProvider\ncas.authn.ldap\\&#91;0\\].type=AUTHENTICATED\ncas.authn.ldap\\&#91;0\\].useSsl=false\ncas.authn.ldap\\&#91;0\\].ldapUrl=ldap:\/\/192.168.207.161:389\ncas.authn.ldap\\&#91;0\\].baseDn=DC=lab1,DC=mhasin,DC=eu\ncas.authn.ldap\\&#91;0\\].subtreeSearch=true\ncas.authn.ldap\\&#91;0\\].searchFilter=sAMAccountName=\\{user\\}\ncas.authn.ldap\\&#91;0\\].principalAttributeList=cn,givenName,mail\n\n### Credential to connect to LDAP\ncas.authn.ldap\\&#91;0\\].bindDn=CN=Administrator,CN=Users,DC=lab1,DC=mhasin,DC=eu\ncas.authn.ldap\\&#91;0\\].bindCredential=heslo<\/code><\/pre>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLQUA\" \/><input type=\"hidden\" name=\"blogName\" value=\"c\/LxdwcA\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"szQxAwA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"cyxILUrNV0hJTcpMzFPIzCsuSczJAQA=\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLdW3L7C1NDEDAA==\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"y00syfcwNAIA\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwMtA1MNE1NFMwNLEyMLEyNAQA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"vVfbbuM2EH33VxBKsWgB6+a7vVEAI95tA2SToE7al\/SBliYSNzQpkJRjO8jH7Lfsj3UoOTfUThzYqB4s0hyeM5w5I41qh\/nRidCG8Z8\/YkZJIuNbUHWSMnPo50c1vA5zBSTmVOvIucvdCUcTN5YJOEeH9nZEaG4IQxDK+QrAY7KCKA0QScEK62hsGM1EYRis9tAYh8fDMcJQUCCJnIHidLE1PxLhuhRAXHeiqIgz0vFCkhmT64Hv43JWTLxYTn2aWwI\/ptpdkbgGpjmnBrwN7p5R9HEGAn1MFU04DLb2S1AhyaRgPPGqrevwRzLnooQXj0x0e4oEchAJCAyhJvc1gpfvk3OTgSpD+nLdn8qk4Gg3pQsyAcKZNpAQNAXP88q9BIOUMw7EkSr1qmh5GK2BjZgGhTFzdZHnUhn3u5ai\/I\/F4CpIEU0tBr\/co+m4tPwLlGZSPDgfhuYJzdcjPawL4WxhZlKVMcyV\/A63pkAZrpRIbqUw9LsAVWwfVs+vNrtV9nT2X9oblhZrUNiUpkA0W4LLqUotIpumhEuaMJFGDqfLhYNpQbhyTvVCxA65Y4nJIqfb7jiYEJZmBieBQ7SKI+dRyMiQetOMaiY8KHzkjPFsIIxf5JZA+42gEfhBy5cT9fPHUt66jY6Xi9QhlCOg88Lb0k+33w5LDg1mDzQE3b+rk51w3GYQzBu9Eg6Hd04ZS\/SZFkbWya9TOnfLYA0sWz7\/jYRBMEPWcuYQH3NUpebpeZMXqHMrjp2UoAqxVgf50RLdp8uS4fT8d5JLoleUTyxbioUwLAWz4OAuJV7Tj4knDBqtZ\/W0Or09yKfrWtQ5gr2jo+Z+dPSaj9jJjorqlooKm90nSe2K1+305s12WCm+09sZL2w3O\/Nu0KhOjJNdESugftB9q3psaF+UTzVdWz\/lIxjfTnExo3gj9hH9gbdgdZRPB63u5\/IHDSjPpDaDXqvVtO\/imjXBw75YCXqBXfmfHruvK6fZb+6hcnqVkhHsncpp76dyXvPto3J6VeWE7T1VTq+snEa\/vafKWT0iwlZjLzofwQ0tOLnCXkTQKdTJxXA8\/vv8z9H2Un\/ca3uaAse1C7S9kyoZkG\/AsUNd9\/o4HQ0vnnu\/j7aXYGJbKIgr8Dh26GEPhN0V9tdryuc9TLsfY5gJj8Yx5Mazx9BR7eDggBxLIWCOfRixLteeTW27dv3poB9+Dq7\/sfQzloA6Lmlss2fXDZvB05JXiIksRMIS76oanYwuVmsbcc0ih2h4dfnHl7PLk+Ph5ZfRRlN0eqx5dEO5ho1GdnaleFQ2m74f9hteiK+dRtDFezho9vobt06ohpGIRscRp5OwjvdKunYExcZtupgYBTAGquIsMqrY7Jwubb4ybkBFevhtGMcYJnOG4oqu721Srh\/eyADDhj+nfGiMYpPCwCk251Es6ilmQViQ+pQyXqvSqgA\/EPCjjBMjsUvHJMfGDt\/M8oSJBENwfBYNkykTtvmnRqo6\/mGrQNc\/GhwL+OxKlIHm8rV+\/wU=\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\" rel=\"nofollow\"><img src=\"https:\/\/blog.mhasin.eu\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/pdf_32x32.png\" alt=\"\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"Instil\u00e1cia docker, git Stiahnutie instalacie CAS apaereo overlay Nastavenie gradle: Doplnenie nastavenia: vytvorenie projektu do docker kontajneru: Spustenie kontajneru: zobrazenie LOG po spusteni Server nacuva na porte: Defaul Username, PASSWORD: LDAP nastavenie: &nbsp;&nbsp; Send article as PDF &nbsp;&nbsp;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"arc_restricted_post":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-946","post","type-post","status-publish","format-standard","hentry","category-apereo"],"_links":{"self":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=946"}],"version-history":[{"count":8,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions"}],"predecessor-version":[{"id":1770,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions\/1770"}],"wp:attachment":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}