{"id":11889,"date":"2019-11-06T08:14:46","date_gmt":"2019-11-06T07:14:46","guid":{"rendered":"https:\/\/nzbusenet.com\/install-nzbget-ubuntu-via-the-command-line\/"},"modified":"2023-07-23T12:42:00","modified_gmt":"2023-07-23T10:42:00","slug":"install-nzbget-ubuntu-via-the-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/install-nzbget-ubuntu-via-the-command-line\/","title":{"rendered":"Ubuntu install NZBGet via command line to download"},"content":{"rendered":"\n<p>In this tutorial, install NZBGet Ubuntu. We discuss how we install NZBGet, on a computer with a Ubuntu operating system. Via the command line. We will then configure NZBGet to download from the newsgroups.<\/p>\n\n<figure class=\"wp-block-image is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"89\" src=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2016\/05\/nzbget-logo-250x89.png\" alt=\"nzbget logo NZBGet NZBGet install Ubuntu\" class=\"wp-image-4844\" title=\"\" srcset=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2016\/05\/nzbget-logo-250x89.png 250w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2016\/05\/nzbget-logo-150x53.png 150w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2016\/05\/nzbget-logo-369x131.png 369w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2016\/05\/nzbget-logo.png 400w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/figure>\n\n<h2 class=\"wp-block-heading\">Install NZBGet Ubuntu<\/h2>\n\n<p>We must first know for sure. That we can install NZBGet. We can see this by editing the sources.list.<br \/><div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/apt\/sources.list<\/p>\n<\/blockquote>\n\n<p>You must remove the # sign from the <strong>universe repository<\/strong>. We must then save this file. You do that with <strong>CTRL+X<\/strong>.<\/p>\n\n<p>And then <strong>y<\/strong> to confirm.<\/p>\n\n<p>When that is done. Let&#8217;s update Ubuntu.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get update<\/p>\n<\/blockquote>\n\n<p>Je kan nu NZBGet installeren via het volgende commando.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install nzbget<\/p>\n<\/blockquote>\n\n<p>The installation of NZBGet is now finished.<\/p>\n\n<h2 class=\"wp-block-heading\">Autostart NZBGet start when Ubuntu starts<\/h2>\n\n<p>It is of course very useful if NZBGet is started during the start-up of Ubuntu.<\/p>\n\n<p>We will create a Deamon for this in Ubuntu.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/init.d\/nzbget<\/p>\n<\/blockquote>\n\n<p>Paste the following script here. Beware! Enter your own Ubuntu username under username.<code><br \/>\n<\/code><\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>description &#8220;nzbget&#8221;<\/p>\n\n\n\n<p>#start on runlevel 2<\/p>\n\n\n\n<p>stop on runlevel [!2345]<\/p>\n\n\n\n<p>respawn<br \/>respawn limit 10 5<br \/>umask 022<\/p>\n\n\n\n<p>case &#8220;$1&#8221; in<br \/>start) echo -n &#8220;Start services: NZBget&#8221;<br \/>exec sudo -u rob nice -n 19 ionice -c3 \/usr\/local\/bin\/nzbget -D -c \/home\/username\/.nzbget\/nzbget.conf<br \/>;;<br \/>stop) echo -n &#8220;Stop services: NZBget&#8221;<br \/>exec sudo -u rob \/usr\/local\/bin\/nzbget -Q -c \/home\/username\/.nzbget\/nzbget.conf<br \/>;;<br \/>restart)<br \/>$0 stop<br \/>$0 start<br \/>;;<br \/>*) echo &#8220;Usage: $0 start|stop|restart&#8221;<br \/>exit 1<br \/>;;<br \/>esac<br \/>exit 0<\/p>\n<\/blockquote>\n\n<p>Now give the rights to the folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chmod 755 \/etc\/init.d\/nzbget<\/p>\n<\/blockquote>\n\n<p>And now make the default settings.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo update-rc.d nzbget defaults<\/p>\n<\/blockquote>\n\n<p>Do you want to test the script to be sure? Then do the following command<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo reboot<\/p>\n<\/blockquote>\n\n<p>Your Ubuntu will then restart.<\/p>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<p>When Ubuntu has restarted. Then you must be able to access NZBget via &#8220;http:\/\/your-ip-adress:6789&#8221;.<\/p>\n\n<p>You are now done with the tutorial Installing NZBGet Ubuntu.<\/p>\n\n<p><strong>install NZBGet Ubuntu from the command line<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/nzbusenet.com\/en\/nzbget-tutorial\/\">NZBGet tutorial<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/install-nzbget-ubuntu-via-the-command-line\/\">Installing NZBGet Ubuntu<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/nzbget-configure-ubuntu\/\">Configure Nzbget Ubuntu<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this tutorial, install NZBGet Ubuntu. We discuss how we install NZBGet, on a computer with a Ubuntu operating system. Via the command line. We will then configure NZBGet to download from the newsgroups. Install <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/install-nzbget-ubuntu-via-the-command-line\/\" title=\"Ubuntu install NZBGet via command line to download\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":50726,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":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":[721],"tags":[],"class_list":{"0":"post-11889","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-nzbget-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2014\/01\/NZBGet-installeren-Ubuntu.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/11889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/users\/12223"}],"replies":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/comments?post=11889"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/11889\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/50726"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=11889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=11889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=11889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}