{"id":232,"date":"2022-10-31T15:56:27","date_gmt":"2022-10-31T15:56:27","guid":{"rendered":"https:\/\/vkrastev1blog.com\/?p=232"},"modified":"2022-10-31T15:58:54","modified_gmt":"2022-10-31T15:58:54","slug":"install-solr-8-under-windows-as-service","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2022\/10\/31\/install-solr-8-under-windows-as-service\/","title":{"rendered":"Instala\u00c8\u203ai Solr 8 sub Windows ca serviciu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Iat\u00c4\u0192 o scurt\u00c4\u0192 explica\u00c8\u203aie despre cum s\u00c4\u0192 instala\u00c8\u203ai Solr 8 ca serviciu Windows<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Desc\u00c4\u0192rca\u00c8\u203ai nssm de pe <a href=\"https:\/\/nssm.cc\/release\/nssm-2.24.zip\" rel=\"nofollow\">https:\/\/nssm.cc\/release\/nssm-2.24.zip<\/a> \u00c8\u2122i extrage\u00c8\u203ai-l \u00c3\u00aen C:\\Program Files\\nssm<\/li>\n\n\n\n<li>Desc\u00c4\u0192rca\u00c8\u203ai Solr 8 de pe <a href=\"https:\/\/dlcdn.apache.org\/lucene\/solr\/8.11.2\/solr-8.11.2.zip\" rel=\"nofollow\">https:\/\/dlcdn.apache.org\/lucene\/solr\/8.11.2\/solr-8.11.2.zip<\/a> \u00c8\u2122i extrage\u00c8\u203ai-l \u00c3\u00aen C:\\web\\solr<\/li>\n\n\n\n<li>Java Versiunea 8 sau o versiune ulterioar\u00c4\u0192 trebuie instalat\u00c4\u0192 \u00c8\u2122i variabila de mediu JAVA_HOME setat\u00c4\u0192<\/li>\n\n\n\n<li>Crea\u00c8\u203ai serviciul Windows solr8. \u00c3\u017dn consola Windows ca administrator, executa\u00c8\u203ai urm\u00c4\u0192toarele comenzi.<br><code>\"C:\\Program Files\\nssm\\win64\\nssm.exe\" install solr8 C:\\web\\solr\\bin\\solr.cmd \"start -f -p 8983 -Dsolr.ltr.enable=true\"<\/code><\/li>\n\n\n\n<li>Configura\u00c8\u203ai firewall<br><code>netsh advfirewall firewall add rule name=\"Solr 8983\/tcp\" dir=in action=allow protocol=TCP localport=8983<\/code><\/li>\n\n\n\n<li><code>\"C:\\Program Files\\nssm\\win64\\nssm.exe\" start solr8<\/code><\/li>\n\n\n\n<li>Dac\u00c4\u0192 dori\u00c8\u203ai s\u00c4\u0192 vede\u00c8\u203ai rezultatul de la Service<br><code>\"C:\\Program Files\\nssm\\win64\\nssm.exe\" set solr8 AppStdout C:\\web\\solr\\logs\\service.log<\/code><br><code>\"C:\\Program Files\\nssm\\win64\\nssm.exe\" set solr8 AppStderr C:\\web\\solr\\logs\\service-error.log<\/code><\/li>\n\n\n\n<li>Pentru a vedea tabloul de bord de administrare, accesa\u00c8\u203ai <a href=\"http:\/\/localhost:8983\/solr\/#\/\" rel=\"nofollow\">http:\/\/localhost:8983\/solr\/#\/<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Iat\u00c4\u0192 o scurt\u00c4\u0192 explica\u00c8\u203aie despre cum s\u00c4\u0192 instala\u00c8\u203ai Solr 8 ca serviciu Windows<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[559],"tags":[756735561,756735568],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-articole-pe-toate-celelalte-subiecte-care-nu-sunt-in-subiectele-principale","tag-slor8","tag-ferestre-solr"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-3K","jetpack-related-posts":[{"id":2,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system\/","url_meta":{"origin":232,"position":0},"title":"Cum s\u00c4\u0192 repara\u00c8\u203ai Bootloader dup\u00c4\u0192 instalarea Ubuntu pe un computer Windows preinstalat ca al doilea sistem de operare","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"I used this many times as the bootloader gone corrupted after the install and it was only possible to start in Linux but not in Windows after the Linux install. So you should do following to get it right. Execute following commands in Linux: ------------------------------------------------------------------------------------- sudo add-apt-repository ppa:yannubuntu\/boot-repair sudo apt-get\u2026","rel":"","context":"In &quot;Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale&quot;","block_context":{"text":"Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale","link":"https:\/\/vkrastev1blog.com\/category\/articole-pe-toate-celelalte-subiecte-care-nu-sunt-in-subiectele-principale\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":129,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/26\/new-gpu-bitcoin-miner-is-there-named-diamantminer-how-to-install-on-windows\/","url_meta":{"origin":232,"position":1},"title":"Noul GPU Bitcoin Miner este acolo numit DiamantMiner. Cum se instaleaz\u00c4\u0192 pe Windows","author":"vkrastev2014","date":"26.05.2014","format":false,"excerpt":"New GPU Bitcoin Miner is there named DiamantMiner. How to install on Windows I have tried the new bitcoin miner and I find it very good. What you should do to install it on Windows is described here. How to build and install DiamantMiner requires the SDK for Java Version\u2026","rel":"","context":"In &quot;Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale&quot;","block_context":{"text":"Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale","link":"https:\/\/vkrastev1blog.com\/category\/articole-pe-toate-celelalte-subiecte-care-nu-sunt-in-subiectele-principale\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":47,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/how-to-sign-jars-signing-jars-for-use-in-applets\/","url_meta":{"origin":232,"position":2},"title":"Cum s\u00c4\u0192 semnezi Borcane. Borcane de semnare pentru utilizare \u00c3\u00aen Applet-uri.","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"As the Browsers now want the Jars to be signed it happens oft that man have to sign a Jar himself. Here is a Manual how to sign a Jar. First you have to install Java SDK. http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html?ssSourceSiteId=otnjp Install the JDK from the list for the envitonment you use. This\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":232,"position":3},"title":"Comenzi importante de script Shell care sunt adesea utilizate","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale&quot;","block_context":{"text":"Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale","link":"https:\/\/vkrastev1blog.com\/category\/articole-pe-toate-celelalte-subiecte-care-nu-sunt-in-subiectele-principale\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":194,"url":"https:\/\/vkrastev1blog.com\/2022\/03\/30\/java-configure-log4j2-in-your-project\/","url_meta":{"origin":232,"position":4},"title":"Java configura\u00c8\u203ai Log4j2 \u00c3\u00aen proiectul dvs","author":"vkrastev2014","date":"30.03.2022","format":false,"excerpt":"Log4j2 and SLF4j Binding DependenciesTo make Log4j2 work with SLF4J, we need to include the following 3 dependencies. log4j-slf4j-impl.jar \u2013 Log4j 2 SLF4J binding. It allows applications coded to the SLF4J API to use Log4j2 as the implementation.log4j-api.jar \u2013 provides the adapter components required for implementers to create a logging\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":167,"url":"https:\/\/vkrastev1blog.com\/2022\/02\/01\/sql-developer-execute-big-sql-files-scripts-in-sql-developer\/","url_meta":{"origin":232,"position":5},"title":"SQL Developer &#8211; execut\u00c4\u0192 fi\u00c8\u2122iere\/script-uri .sql mari \u00c3\u00aen SQL Developer","author":"vkrastev2014","date":"01.02.2022","format":false,"excerpt":"SQL Developer - execute big .sql files\/scripts in SQL Developer Open SQL Developer than press Alt - F10 and it will show you a Choose Connection dialog. Choose a Connection and it opens a SQL Editor for that connection. Write in it just @C:\\Users\\KrastevV\\Project\\sql.sql Sign @ followed by the Path\u2026","rel":"","context":"In &quot;Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale&quot;","block_context":{"text":"Articole pe toate celelalte subiecte care nu sunt \u00c3\u00aen subiectele principale","link":"https:\/\/vkrastev1blog.com\/category\/articole-pe-toate-celelalte-subiecte-care-nu-sunt-in-subiectele-principale\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2022\/02\/bild.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":4,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":236,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/232\/revisions\/236"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}