{"id":7157,"date":"2017-12-11T20:25:52","date_gmt":"2017-12-11T19:25:52","guid":{"rendered":"https:\/\/nzbusenet.com\/?p=7157"},"modified":"2023-07-22T14:12:42","modified_gmt":"2023-07-22T12:12:42","slug":"htpc-manager-install-ubuntu","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/htpc-manager-install-ubuntu\/","title":{"rendered":"Install, Htpc Manager Ubuntu"},"content":{"rendered":"\n<p>in this tutorial Install Htpc Manager Ubuntu. We are going to install Htpc Manager on a computer with Ubuntu. We do this via the command line.<\/p>\n\n<h2 class=\"wp-block-heading\">Ubuntu Install Manager Htpc <\/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>Install all requirements for HTPC Manger.<\/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 git python-imaging python-dev python-setuptools python-pip python-cherrypy vnstat -y<\/p>\n<\/blockquote>\n\n<p>This piece of software is needed to read your computer information. For example, CPU and computer memory.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo pip install psutil<\/p>\n<\/blockquote>\n\n<p>We will now download and install Htpc Manager.<\/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\/Hellowlol\/HTPC-Manager \/.HTPCManager<\/p>\n<\/blockquote>\n\n<p>Properly set permissions on the Htpc Manager folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chown -R gebruikersnaam:user \/.HTPCManager<\/p>\n<\/blockquote>\n\n<p>Now we are going to start HTPC Manager.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>python \/opt\/HTPCManager\/Htpc.py &#8211;daemon<\/p>\n<\/blockquote>\n\n<p>Htpc Manager is now installed.<\/p>\n\n<h2 class=\"wp-block-heading\">Auto-start Ubuntu<\/h2>\n\n<p>Now we are going to add Htpc Manager to the startup of Ubuntu.<\/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>Now add it to the startup.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo cp \/.HTPCManager\/initscripts\/initd \/etc\/init.d\/htpcmanager<\/p>\n<\/blockquote>\n\n<p>We are now going to edit the script.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/init.d\/htpcmanager<\/p>\n<\/blockquote>\n\n<p>Adjust below. Otherwise your script won&#8217;t work.<\/p>\n\n<blockquote><h6>######### Edit me ################## #<\/h6><p>path to app APP_PATH=.\/HTPCManager<\/p><\/blockquote>\n\n<p>Now 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\/htpcmanager<\/p>\n<\/blockquote>\n\n<p>Update the script during startup.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo update-rc.d htpcmanager defaults<\/p>\n<\/blockquote>\n\n<p>Now we are going to install Upstart.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install upstart<\/p>\n<\/blockquote>\n\n<p>Type <strong>Yes<\/strong>. If requested.<\/p>\n\n<p>We will now create the startup script.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/init\/htpcmanager.conf<\/p>\n<\/blockquote>\n\n<p>Copy And paste this in. And then adjust your <strong>user<\/strong>.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>#description &#8220;Upstart Script to run HTPCManager as a service on Ubuntu\/Debian based systems&#8221;<\/p>\n\n\n\n<p>#Enter your username below!<br \/>setuid gebruiker<br \/>setgid gebruiker<\/p>\n\n\n\n<p>start on runlevel  [2345]<br \/>stop on runlevel  [016]<\/p>\n\n\n\n<p>respawn<\/p>\n\n\n\n<p>exec \/ \/.HTPCManager\/Htpc.py &#8211;daemon<\/p>\n<\/blockquote>\n\n<p>Now press <strong>Ctrl + X<\/strong>, and then <strong>Y<\/strong> to save this file.<\/p>\n\n<p>You are now done with the installation! If you restart your computer with Ubuntu. Then Htpc manager is started automatically.<\/p>\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>in this tutorial Install Htpc Manager Ubuntu. We are going to install Htpc Manager on a computer with Ubuntu. We do this via the command line. Ubuntu Install Manager Htpc Install all requirements for HTPC <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/htpc-manager-install-ubuntu\/\" title=\"Install, Htpc Manager Ubuntu\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49592,"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":[712],"tags":[],"class_list":{"0":"post-7157","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-htpc-manager-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/10\/Htpc-Manager-installeren-Ubuntu.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7157","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=7157"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7157\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49592"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=7157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=7157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=7157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}