{"id":1597,"date":"2016-11-28T16:15:44","date_gmt":"2016-11-28T14:15:44","guid":{"rendered":"http:\/\/www.artifex.co.il\/he\/?p=1597"},"modified":"2016-11-29T16:58:34","modified_gmt":"2016-11-29T14:58:34","slug":"%d7%94%d7%aa%d7%a7%d7%a0%d7%aa-kopf-%d7%91%d7%a9%d7%a8%d7%aa-elasticsearch-5-0-1","status":"publish","type":"post","link":"https:\/\/www.artifex.co.il\/he\/?p=1597","title":{"rendered":"\u05d4\u05ea\u05e7\u05e0\u05ea Kopf \u05d1\u05e9\u05e8\u05ea Elasticsearch 5.0.1"},"content":{"rendered":"<p>\u05d4\u05d7\u05dc \u05de\u05d2\u05e8\u05e1\u05d4 5 \u05d7\u05d1\u05e8\u05ea Elastic <a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/plugins\/5.0\/intro.html\">\u05d4\u05d5\u05d3\u05d9\u05e2\u05d4<\/a> \u05e9\u05dc\u05d0 \u05d9\u05d4\u05d9\u05d4 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-Site Plugins \u05d5\u05dc\u05db\u05df \u05d4\u05ea\u05d5\u05e1\u05e3 \u05d4\u05de\u05e2\u05d5\u05dc\u05d4 <a href=\"https:\/\/github.com\/lmenezes\/elasticsearch-kopf\">Kopf<\/a> \u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05ea\u05e7\u05e0\u05d4 \u05db\u05e4\u05d9 \u05e9\u05d4\u05d9\u05d4 \u05d1\u05d2\u05e8\u05e1\u05d0\u05d5\u05ea \u05e7\u05d5\u05d3\u05de\u05d5\u05ea.<\/p>\n<p>\u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d4\u05ea\u05e7\u05d9\u05e0\u05d5 \u05d9\u05e9 \u05dc\u05d1\u05e6\u05e2 \u05d0\u05ea \u05d4\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea:<\/p>\n<p>1. \u05d4\u05ea\u05e7\u05e0\u05ea nginx (\u05d1\u05de\u05e2\u05e8\u05db\u05d5\u05ea Ubuntu \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e4\u05e2\u05dc\u05ea \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:\u00a0 sudo apt-get install nginx)<\/p>\n<p>2. \u05d4\u05d5\u05e8\u05d3\u05ea \u05d4\u05ea\u05d5\u05e1\u05e3 (\u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:\u00a0\u00a0wget https:\/\/github.com\/lmenezes\/elasticsearch-kopf\/archive\/v2.1.2.tar.gz) [\u05d0\u05e0\u05d9 \u05d4\u05d5\u05e8\u05d3\u05ea\u05d9 \u05d0\u05dc \u05d4\u05ea\u05d9\u05e7\u05d9\u05d4 \/var\/www\/kopf\/]<\/p>\n<p>3. \u05e2\u05e8\u05d9\u05db\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 kopf.js: \u05d9\u05e9 \u05dc\u05de\u05e6\u05d5\u05d0 \u05d0\u05ea \u05d4\u05e9\u05d5\u05e8\u05d4 \u05d4\u05de\u05ea\u05d9\u05d9\u05d7\u05e1\u05ea \u05dc\u05d2\u05e8\u05e1\u05ea Elasticsearch \u05d5\u05dc\u05e2\u05d3\u05db\u05df \u05d0\u05d5\u05ea\u05d4 \u05db\u05da \u05e9\u05ea\u05ea\u05d9\u05d9\u05d7\u05e1 \u05dc\u05d2\u05e8\u05e1\u05d4 5.0.1 (\u05d0\u05e6\u05dc\u05d9 \u05d4\u05d5\u05d0 \u05d1\u05de\u05e1\u05dc\u05d5\u05dc\u00a0\/var\/www\/kopf\/_site\/dist\/kopf.js)<\/p>\n<p>4. \u05d9\u05e6\u05d9\u05e8\u05ea \u05e7\u05d5\u05d1\u05e5 \u05e7\u05d5\u05e0\u05e4\u05d9\u05d2\u05d5\u05e8\u05e6\u05d9\u05d4 \u05dc-nginx (\u05dc\u05de\u05e9\u05dc \u05e7\u05d5\u05d1\u05e5 \u05d1\u05e9\u05dd kopf \u05ea\u05d7\u05ea \u05d4\u05ea\u05d9\u05e7\u05d9\u05d4 \/etc\/nginx\/sites-available) \u05e9\u05d9\u05d9\u05e8\u05d0\u05d4 \u05d1\u05e2\u05e8\u05da \u05db\u05da (\u05d0\u05e0\u05d9 \u05de\u05ea\u05db\u05d5\u05d5\u05df \u05dc\u05d4\u05e8\u05d9\u05e5 \u05d0\u05ea kopf \u05e2\u05dc \u05e4\u05d5\u05e8\u05d8 8080):<\/p>\n<p dir=\"ltr\">server {<br \/>\nlisten 8080 default_server;<br \/>\nlisten [::]:8080 default_server;<\/p>\n<p dir=\"ltr\">\u00a0 # SSL configuration<br \/>\n#<br \/>\n# listen 443 ssl default_server;<br \/>\n# listen [::]:443 ssl default_server;<br \/>\n#<br \/>\n# Note: You should disable gzip for SSL traffic.<br \/>\n# See: https:\/\/bugs.debian.org\/773332<br \/>\n#<br \/>\n# Read up on ssl_ciphers to ensure a secure configuration.<br \/>\n# See: https:\/\/bugs.debian.org\/765782<br \/>\n#<br \/>\n# Self signed certs generated by the ssl-cert package<br \/>\n# Don't use them in a production server!<br \/>\n#<br \/>\n# include snippets\/snakeoil.conf;<\/p>\n<p dir=\"ltr\">\u00a0 #root \/var\/www\/kopf\/_site;<\/p>\n<p dir=\"ltr\">\u00a0 # Add index.php to the list if you are using PHP<br \/>\nindex index.html index.htm index.nginx-debian.html;<\/p>\n<p dir=\"ltr\">\u00a0 server_name localhost;<br \/>\nlocation \/kopf {<br \/>\nalias \/var\/www\/kopf\/_site;<br \/>\n}<\/p>\n<p dir=\"ltr\">\u00a0 location \/ {<br \/>\nproxy_set_header Host $host;<br \/>\nproxy_set_header X-Real-IP $remote_addr;<br \/>\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\nproxy_set_header X-Forwarded-Proto $scheme;<br \/>\nproxy_pass http:\/\/localhost:9200;<br \/>\nproxy_read_timeout 90;<br \/>\nproxy_redirect http:\/\/localhost:9200 http:\/\/localhost:8080;<br \/>\n}<br \/>\n}<\/p>\n<p>5. \u05d9\u05e6\u05d9\u05e8\u05ea soft link \u05dc\u05e6\u05d5\u05e8\u05da \u05d4\u05e4\u05e2\u05dc\u05ea \u05d4\u05d3\u05e3:\u00a0(\u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:\u00a0\u00a0sudo ln -s \/etc\/nginx\/sites-available\/kopf \/etc\/nginx\/sites-enabled\/kopf)<\/p>\n<p>&nbsp;<\/p>\n<p>\u05d6\u05d4\u05d5. \u05d6\u05d4 \u05d0\u05de\u05d5\u05e8 \u05dc\u05d4\u05d9\u05d5\u05ea \u05de\u05d5\u05db\u05df.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05d4\u05d7\u05dc \u05de\u05d2\u05e8\u05e1\u05d4 5 \u05d7\u05d1\u05e8\u05ea Elastic \u05d4\u05d5\u05d3\u05d9\u05e2\u05d4 \u05e9\u05dc\u05d0 \u05d9\u05d4\u05d9\u05d4 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-Site Plugins \u05d5\u05dc\u05db\u05df \u05d4\u05ea\u05d5\u05e1\u05e3 \u05d4\u05de\u05e2\u05d5\u05dc\u05d4 Kopf \u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05ea\u05e7\u05e0\u05d4 \u05db\u05e4\u05d9 \u05e9\u05d4\u05d9\u05d4 \u05d1\u05d2\u05e8\u05e1\u05d0\u05d5\u05ea \u05e7\u05d5\u05d3\u05de\u05d5\u05ea. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d4\u05ea\u05e7\u05d9\u05e0\u05d5 \u05d9\u05e9 \u05dc\u05d1\u05e6\u05e2 \u05d0\u05ea \u05d4\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: 1. \u05d4\u05ea\u05e7\u05e0\u05ea nginx (\u05d1\u05de\u05e2\u05e8\u05db\u05d5\u05ea Ubuntu \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e4\u05e2\u05dc\u05ea \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:\u00a0 sudo apt-get install nginx) 2. \u05d4\u05d5\u05e8\u05d3\u05ea \u05d4\u05ea\u05d5\u05e1\u05e3 (\u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:\u00a0\u00a0wget &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[74],"tags":[],"class_list":["post-1597","post","type-post","status-publish","format-standard","hentry","category-elasticsearch-"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p785UE-pL","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/posts\/1597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1597"}],"version-history":[{"count":5,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/posts\/1597\/revisions"}],"predecessor-version":[{"id":1606,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=\/wp\/v2\/posts\/1597\/revisions\/1606"}],"wp:attachment":[{"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.artifex.co.il\/he\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}