{"id":82,"date":"2016-04-20T18:58:51","date_gmt":"2016-04-20T18:58:51","guid":{"rendered":"https:\/\/pure-media.info\/?p=82"},"modified":"2017-04-06T03:52:07","modified_gmt":"2017-04-06T03:52:07","slug":"install-couchpotato-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/pure-media.info\/index.php\/2016\/04\/20\/install-couchpotato-on-ubuntu-14-04\/","title":{"rendered":"Install Couchpotato on Ubuntu 14.04+"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/5553470_2.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"83\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/04\/20\/install-couchpotato-on-ubuntu-14-04\/5553470_2\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/5553470_2.jpg?fit=1262%2C655&amp;ssl=1\" data-orig-size=\"1262,655\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"couchpotato\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/5553470_2.jpg?fit=300%2C156&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/5553470_2.jpg?fit=800%2C415&amp;ssl=1\" class=\"aligncenter wp-image-83\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/5553470_2.jpg?resize=536%2C278&#038;ssl=1\" alt=\"couchpotato\" width=\"536\" height=\"278\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>CouchPotato for Ubuntu 14.04 will get you all of the feature length media files you desire from a watchlist you have created. It can grab the media files from either usenet or torrents in your automated system.<\/h3>\n<p><strong>Let get the dependency and GIT installed&nbsp;<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">apt-get update &amp;&amp; apt-get install git-core libffi-dev libssl-dev zlib1g-dev libxslt1-dev libxml2-dev python python-pip python-dev build-essential -y<\/code><\/p>\n<p><strong>Now lets use GIT to clone the current release<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">git clone https:\/\/github.com\/RuudBurger\/CouchPotatoServer \/opt\/couchpotato<\/code><\/p>\n<p><strong>Change the ownership of the CouchPotato directory to your user<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">chown -R user:user \/opt\/couchpotato<\/code><\/p>\n<p><strong>&nbsp;Test if CouchPotato works<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">python \/opt\/couchpotato\/CouchPotato.py --daemon<\/code><\/p>\n<p><strong>You should be able to see the CouchPotato web interface on<\/strong> <code>http:\/\/ip.address:5050<\/code><\/p>\n<h2>Now Lets get Couchpotato to start on boot<\/h2>\n<p><strong>Copy the default CouchPotato init<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">cp \/opt\/couchpotato\/init\/ubuntu.default \/etc\/default\/couchpotato<\/code><\/p>\n<p><strong>Open the configuration file<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">nano \/etc\/default\/couchpotato<\/code><\/p>\n<p><strong>Add or change the following lines, &#8220;<code>username\"<\/code> is your log on user<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\"># COPY THIS FILE TO \/etc\/default\/couchpotato \r\n# OPTIONS: CP_HOME, CP_USER, CP_DATA, CP_PIDFILE, PYTHON_BIN, CP_OPTS, SSD_OPTS\r\n\r\nCP_HOME=\/opt\/couchpotato\r\nCP_DATA=\/opt\/couchpotato\r\nCP_USER=yourusername\r\nCP_PIDFILE=\/home\/yourusername\/.couchpotato.pid<\/pre>\n<p><strong>&nbsp;Press Ctrl+X, press Y&nbsp;and then Enter to save and leave nano.<\/strong><\/p>\n<p><strong>Copy the default CouchPotato init.d file<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">cp \/opt\/couchpotato\/init\/ubuntu \/etc\/init.d\/couchpotato<\/code><\/p>\n<p><strong>Make the file executable<\/strong><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">chmod +x \/etc\/init.d\/couchpotato<\/code><\/p>\n<p>Update so CouchPotato autostarts on boot<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">update-rc.d couchpotato defaults<\/code><\/p>\n<p><strong>&nbsp;Now your All set!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; CouchPotato for Ubuntu 14.04 will get you all of the feature length media files you desire from a watchlist<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":""},"categories":[85],"tags":[76,74,77,16,50,12,31,46,40,43,10,58,38,4,11,20,9,75,8,7,57],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-tech-tip","tag-14-04","tag-automated","tag-automatic","tag-command","tag-couchpotato","tag-create","tag-debian","tag-git","tag-guide","tag-how-to","tag-install","tag-nzb","tag-python","tag-server","tag-setup","tag-ssl","tag-tahr","tag-torrent","tag-trusty","tag-ubuntu","tag-usenet"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p7oBs4-1k","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":0,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"wp:attachment":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}