{"id":1713,"date":"2017-01-04T22:22:29","date_gmt":"2017-01-04T13:22:29","guid":{"rendered":"http:\/\/doodlenote.net\/?p=1713"},"modified":"2017-01-04T22:22:29","modified_gmt":"2017-01-04T13:22:29","slug":"ubuntu16-04%e3%81%abjenkins","status":"publish","type":"post","link":"https:\/\/doodlenote.net\/?p=1713","title":{"rendered":"Ubuntu16.04\u306bJenkins"},"content":{"rendered":"<p>\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044RaspberryPi\u3067\u305f\u3066\u305f\u308f\u3051\u3060\u304c\u3001<br \/>\nJenkins\u3067\u3082\u5165\u308c\u3066\u4f55\u304b\u3059\u308b\u304b\u3001\u3001\u3001<br \/>\n\u3053\u308c\u3067DynamicDNS\u306e\u66f4\u65b0\u3067\u3082\u3059\u308b\u304b\u3002<\/p>\n<p>\u4e0b\u8a18\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066root\u3067\u5b9f\u884c\u3002<\/p>\n<p><%code%> <br \/>\n#!\/bin\/sh<\/p>\n<p>sudo apt-get install -y apache2 openjdk-8-jdk<br \/>\nwget -q -O &#8211; http:\/\/pkg.jenkins-ci.org\/debian\/jenkins-ci.org.key | sudo apt-key add &#8211;<br \/>\nsudo su -c &#8216;echo deb http:\/\/pkg.jenkins-ci.org\/debian binary\/ > \/etc\/apt\/sources.list.d\/jenkins.list&#8217;<br \/>\nsudo apt-get update -y<br \/>\nsudo apt-get install -y jenkins<br \/>\n\/etc\/default\/jenkins&#8217;<br \/>\nsudo service jenkins restart<br \/>\nsudo su -c &#8216;cat << EOF > \/etc\/apache2\/mods-enabled\/jenkins.conf<br \/>\nProxyPass           \/jenkins  http:\/\/localhost:8080<br \/>\nProxyPassReverse    \/jenkins  http:\/\/localhost:8080<br \/>\nProxyRequests       Off<br \/>\nAllowEncodedSlashes NoDecode<\/p>\n<p><Proxy http:\/\/localhost:8080><br \/>\n  Order deny,allow<br \/>\n  Allow from all<br \/>\n<\/Proxy><br \/>\nEOF&#8217;<br \/>\nsudo a2enmod proxy<br \/>\nsudo a2enmod proxy_http<br \/>\nsudo service apache2 restart<br \/>\n<%\/code%><\/p>\n<p>\u2026\u3068\u601d\u3063\u305f\u304c\u3001\u30a2\u30ab\u30f3\u306a\u305c\u304bJenkins\u81ea\u4f53\u306f\u7acb\u3061\u4e0a\u304c\u3063\u3066\u308b\u3063\u307d\u3044\u306e\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044<br \/>\n\u53c2\u8003<br \/>\nhttps:\/\/www.hiroom2.com\/2016\/05\/01\/ubuntu-16-04%E3%81%ABjenkins-apache2-%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044RaspberryPi\u3067\u305f\u3066\u305f\u308f\u3051\u3060\u304c\u3001 Jenkins\u3067\u3082\u5165\u308c\u3066\u4f55\u304b\u3059\u308b\u304b\u3001\u3001\u3001 \u3053\u308c\u3067DynamicDNS\u306e\u66f4\u65b0\u3067\u3082\u3059\u308b\u304b\u3002 \u4e0b\u8a18\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066root\u3067\u5b9f\u884c\u3002&hellip;<a href=\"https:\/\/doodlenote.net\/?p=1713\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ubuntu16.04\u306bJenkins<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[3],"class_list":["post-1713","post","type-post","status-publish","format-standard","hentry","category-server","tag-oldblog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu16.04\u306bJenkins - Memolog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/doodlenote.net\/?p=1713\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu16.04\u306bJenkins - Memolog\" \/>\n<meta property=\"og:description\" content=\"\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044RaspberryPi\u3067\u305f\u3066\u305f\u308f\u3051\u3060\u304c\u3001 Jenkins\u3067\u3082\u5165\u308c\u3066\u4f55\u304b\u3059\u308b\u304b\u3001\u3001\u3001 \u3053\u308c\u3067DynamicDNS\u306e\u66f4\u65b0\u3067\u3082\u3059\u308b\u304b\u3002 \u4e0b\u8a18\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066root\u3067\u5b9f\u884c\u3002&hellip;Continue reading Ubuntu16.04\u306bJenkins\" \/>\n<meta property=\"og:url\" content=\"https:\/\/doodlenote.net\/?p=1713\" \/>\n<meta property=\"og:site_name\" content=\"Memolog\" \/>\n<meta property=\"article:published_time\" content=\"-0001-11-30T00:00:00+00:00\" \/>\n<meta name=\"author\" content=\"\u4ffa\u69d8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4ffa\u69d8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/doodlenote.net\/?p=1713#article\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1713\"},\"author\":{\"name\":\"\u4ffa\u69d8\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"headline\":\"Ubuntu16.04\u306bJenkins\",\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1713\"},\"wordCount\":131,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"keywords\":[\"OldBlog\"],\"articleSection\":[\"\u30b5\u30fc\u30d0\u30fc\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/doodlenote.net\/?p=1713\",\"url\":\"https:\/\/doodlenote.net\/?p=1713\",\"name\":\"Ubuntu16.04\u306bJenkins - Memolog\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/#website\"},\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1713#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/doodlenote.net\/?p=1713\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/doodlenote.net\/?p=1713#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/doodlenote.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu16.04\u306bJenkins\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/doodlenote.net\/#website\",\"url\":\"https:\/\/doodlenote.net\/\",\"name\":\"Memolog\",\"description\":\"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e\",\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/doodlenote.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\",\"name\":\"\u4ffa\u69d8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"caption\":\"\u4ffa\u69d8\"},\"logo\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu16.04\u306bJenkins - Memolog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/doodlenote.net\/?p=1713","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu16.04\u306bJenkins - Memolog","og_description":"\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044RaspberryPi\u3067\u305f\u3066\u305f\u308f\u3051\u3060\u304c\u3001 Jenkins\u3067\u3082\u5165\u308c\u3066\u4f55\u304b\u3059\u308b\u304b\u3001\u3001\u3001 \u3053\u308c\u3067DynamicDNS\u306e\u66f4\u65b0\u3067\u3082\u3059\u308b\u304b\u3002 \u4e0b\u8a18\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066root\u3067\u5b9f\u884c\u3002&hellip;Continue reading Ubuntu16.04\u306bJenkins","og_url":"https:\/\/doodlenote.net\/?p=1713","og_site_name":"Memolog","article_published_time":"-0001-11-30T00:00:00+00:00","author":"\u4ffa\u69d8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u4ffa\u69d8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/doodlenote.net\/?p=1713#article","isPartOf":{"@id":"https:\/\/doodlenote.net\/?p=1713"},"author":{"name":"\u4ffa\u69d8","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"headline":"Ubuntu16.04\u306bJenkins","datePublished":"-0001-11-30T00:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/doodlenote.net\/?p=1713"},"wordCount":131,"commentCount":0,"publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"keywords":["OldBlog"],"articleSection":["\u30b5\u30fc\u30d0\u30fc"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/doodlenote.net\/?p=1713","url":"https:\/\/doodlenote.net\/?p=1713","name":"Ubuntu16.04\u306bJenkins - Memolog","isPartOf":{"@id":"https:\/\/doodlenote.net\/#website"},"datePublished":"-0001-11-30T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/doodlenote.net\/?p=1713#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/doodlenote.net\/?p=1713"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/doodlenote.net\/?p=1713#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/doodlenote.net\/"},{"@type":"ListItem","position":2,"name":"Ubuntu16.04\u306bJenkins"}]},{"@type":"WebSite","@id":"https:\/\/doodlenote.net\/#website","url":"https:\/\/doodlenote.net\/","name":"Memolog","description":"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e","publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/doodlenote.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1","name":"\u4ffa\u69d8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","caption":"\u4ffa\u69d8"},"logo":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1713"}],"version-history":[{"count":0,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1713\/revisions"}],"wp:attachment":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}