{"id":9364,"date":"2019-01-07T15:02:40","date_gmt":"2019-01-07T14:02:40","guid":{"rendered":"https:\/\/nzbusenet.com\/install-sickrage-debian-via-command-line\/"},"modified":"2023-07-22T13:57:16","modified_gmt":"2023-07-22T11:57:16","slug":"install-sickrage-debian-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/install-sickrage-debian-command-line\/","title":{"rendered":"Installing SickRage Debian via command line for tv series"},"content":{"rendered":"\n<p>In This SickRage install Debian tutorial. We are going to install SickRage via the command line. Next, we&#8217;ll configure SickRage. To download tv shows from the newsgroups.<\/p>\n\n<h2 class=\"wp-block-heading\">Install required software for SickRage<\/h2>\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>First we nee to do an update. Do an update.<\/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>Next, we are going to update all software.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get upgrade -y<\/p>\n<\/blockquote>\n\n<p>We will now install the requirements for SickRage. So as Python.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install python-pip python-dev git-core libssl-dev libxslt1-dev libxslt1.1 libxml2-dev libxml2 libssl-dev libffi-dev -y<\/p>\n<\/blockquote>\n\n<p>We are now going to install PIP.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo pip install pyopenssl<\/p>\n<\/blockquote>\n\n<p>Now we only have to install the Unrar program.<\/p>\n\n<h2 class=\"wp-block-heading\">Unrar Install for Debian<\/h2>\n\n<p>We need Unrar. To extract the downloaded files.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install build-essential -y<\/p>\n<\/blockquote>\n\n<p>We are now going to download Unrar. You can find the latest version on https:\/\/rarlab.com\/download.htm. Adjust this, if necessary.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>wget http:\/\/rarlab.com\/rar\/unrarsrc-5.2.7.tar.gz<\/p>\n<\/blockquote>\n\n<p>Now we are going to extract Unrar.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>tar -xvf unrarsrc-5.2.7.tar.gz<\/p>\n<\/blockquote>\n\n<p>Then. We go to the Unrar folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd unrar<\/p>\n<\/blockquote>\n\n<p>We will now create the file.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo make -f makefile<\/p>\n<\/blockquote>\n\n<p>We are now going to install Unrar.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo install -v -m755 unrar \/usr\/bin<\/p>\n<\/blockquote>\n\n<p>Unrar installation. Is now complete.<\/p>\n\n<h2 class=\"wp-block-heading\">Install SickRage Debian<\/h2>\n\n<p>We are now going to download and install SickRage. We do this in the hidden folder &#8220;sickrage&#8221;.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo git clone https:\/\/github.com\/SickRage\/SickRage.git \/sickrage<\/p>\n<\/blockquote>\n\n<p>Now we need to change the map rights. Beware! Customize the user name. To your own user name.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chown -R username:username \/sickrage<\/p>\n<\/blockquote>\n\n<p>Now we have to check if it has gone well. So now we start SickRage. We do this in the following way.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>python .\/sickrage\/SickBeard.py -d<\/p>\n<\/blockquote>\n\n<p>The installation of SickRage, is now ready.<\/p>\n\n<h2 class=\"wp-block-heading\">Start SickRage automatically<\/h2>\n\n<p>It is of course very useful. That SickRage starts automatically, during the boot process. Before we can do this. You need to know which Debian version you are using.<\/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>You do this by executing the command below.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo stat \/proc\/1\/exe<\/p>\n<\/blockquote>\n\n<p>If you are using Debian <strong>Jessie.<\/strong> or higher. Then you should use the <strong>systemd<\/strong> script.<\/p>\n\n<p>If you are using Debian <strong>Wheezy<\/strong>. Then you must. use the <strong>init. D<\/strong> script.<\/p>\n\n<h3 class=\"wp-block-heading\">Systemd script<\/h3>\n\n<p>Create the default file for SickRage.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/default\/sickrage<\/p>\n<\/blockquote>\n\n<p>Onderstaande hierin plakken. and copy. Beware! Customize the user name.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>SR_USER=username<br \/>SR_HOME=.\/sickrage<br \/>SR_DATA=.\/sickrage<br \/>SR_PIDFILE=\/home\/user\/.sickrage.pid<\/p>\n<\/blockquote>\n\n<p>Now press the <strong>CTRL + X<\/strong> key. and <strong>y<\/strong> to confirm.<\/p>\n\n<p>Now we are going to copy the script.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo cp \/.\/sickrage\/runscripts\/init.ubuntu \/etc\/init.d\/sickrage<\/p>\n<\/blockquote>\n\n<p>Now we have to make the script executable.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chmod +x \/etc\/init.d\/sickrage<\/p>\n<\/blockquote>\n\n<p>Default value of SickRage script update<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo update-rc.d sickrage defaults<\/p>\n<\/blockquote>\n\n<p>Now you can start Sickrage. In the following way.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo service sickrage start<\/p>\n<\/blockquote>\n\n<p>You&#8217;re done now. SickRage will now start automatically. During the boot process.<\/p>\n\n<h3 class=\"wp-block-heading\">Init.d script<\/h3>\n\n<p>Now we need to create a standard file.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/systemd\/system\/sickrage.service<\/p>\n<\/blockquote>\n\n<p>Copy and paste. Beware! Change the user name here. To your own user name.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Unit]<br \/>Description=SickRage Daemon<\/p>\n\n\n\n<p>[Service]<br \/>User=yourusername<br \/>Group = your user Name<br \/>Type=forking<br \/>GuessMainPID=no<br \/>ExecStart=\/usr\/bin\/python .\/sickrage\/SickBeard.py -q &#8211;daemon &#8211;nolaunch &#8211;datadir=.\/sickrage<\/p>\n\n\n\n<p>[Install]<br \/>WantedBy=multi-user.target<\/p>\n<\/blockquote>\n\n<p>Press the <strong>CTRL + X<\/strong> key. And then press the<strong> y<\/strong> key. To save this file.<\/p>\n\n<p>Now we need to activate the script.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Enable the SickRage systemd script<\/p>\n<\/blockquote>\n\n<p>Now you can SickRage. in the following way.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo service sickrage start<\/p>\n<\/blockquote>\n\n<p>SickRage will now start automatically. During the Debian startup process.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In This SickRage install Debian tutorial. We are going to install SickRage via the command line. Next, we&#8217;ll configure SickRage. To download tv shows from the newsgroups. Install required software for SickRage First we nee <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/install-sickrage-debian-command-line\/\" title=\"Installing SickRage Debian via command line for tv series\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49498,"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":[728],"tags":[],"class_list":{"0":"post-9364","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-sickrage-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2018\/01\/SickRage-installeren-Debian.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/9364","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=9364"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/9364\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49498"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=9364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=9364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=9364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}