{"id":37258,"date":"2021-12-30T15:34:31","date_gmt":"2021-12-30T14:34:31","guid":{"rendered":"https:\/\/nzbusenet.com\/ubuntu-watcher-install-from-the-command-line\/"},"modified":"2023-07-21T11:22:52","modified_gmt":"2023-07-21T09:22:52","slug":"ubuntu-watcher-install-from-the-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/ubuntu-watcher-install-from-the-command-line\/","title":{"rendered":"Engels Install Ubuntu Watcher from the command line"},"content":{"rendered":"\n<p>In this Ubuntu Watcher installation tutorial we are going to install Watcher on an Ubuntu system via the command line. And we are going to make sure that Watcher is started automatically during the startup process.<\/p>\n\n<p>Watcher makes it possible to automatically download movies from the newsgroups. and via torrent files.<\/p>\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"256\" src=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo.png\" alt=\"Install Ubuntu Watcher logo\" class=\"wp-image-7214\" title=\"\" srcset=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo.png 256w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo-250x250.png 250w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo-100x100.png 100w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo-150x150.png 150w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/watcher-logo-75x75.png 75w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/figure>\n\n<h2 class=\"wp-block-heading\">Install Watcher<\/h2>\n\n<p>We need to 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>We need to install the supplies for Watcher. You may have installed all of these.<\/p>\n\n<p>Verify that Python version 3 is installed.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>python &#8211;version<\/p>\n<\/blockquote>\n\n<p>Add installation capability for python 3.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo add-apt-repository ppa:deadsnakes\/ppa<\/p>\n<\/blockquote>\n\n<p>Install Python 3<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt install python3.8<\/p>\n<\/blockquote>\n\n<p>Download Watcher. And install it in the hidden folder watcher.<\/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\/nosmokingbandit\/watcher .\/watcher<\/p>\n<\/blockquote>\n\n<p>Set the folder rights correctly. Beware! Customize the user name. to your own username.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chown -R <strong>Username<\/strong>:<strong>Username<\/strong> .\/watcher<\/p>\n<\/blockquote>\n\n<p>Go to the correct folder. And then launch Watcher.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd .\/watcher<br \/>python watcher.py<\/p>\n<\/blockquote>\n\n<p>You are now done. With the installation of Watcher. And you can now access it via http:\/\/ip-adres-vanje-ubuntu:9090<\/p>\n\n<h2 class=\"wp-block-heading\">Launch Ubuntu Watcher automatically <\/h2>\n\n<p>Now we&#8217;re going to make Watcher start up, during the Ubuntu boot process.<\/p>\n\n<p>We are going to create a systemd configuration 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\/watcher.service<\/p>\n<\/blockquote>\n\n<p>See below. Copy this text and paste it here. And adjust the <strong>user<\/strong>. To your own user name. Beware! You may need to adjust the Python version. It now says \/usr\/bin\/python3.8 <\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Unit]<br \/>Description=Watcher Daemon<br \/>[Service]<br \/>User=<strong>User<\/strong><br \/>Group=<strong>User<\/strong><br \/>Type=forking<br \/>GuessMainPID=no<br \/>ExecStart=\/usr\/bin\/python3.8 .\/watcher.py \u2013address 0.0.0.0 -d<br \/>Restart=no<\/p>\n\n\n\n<p>[Install]<br \/>WantedBy=multi-user.target<\/p>\n<\/blockquote>\n\n<p>Press <strong>Ctrl+X<\/strong>. And continue <strong>y<\/strong> key. To save and close the file.<\/p>\n\n<p>The systemd service, must be allowed for Watcher.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo systemctl enable watcher<\/p>\n<\/blockquote>\n\n<p>Now we are going to start the Watcher service.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo service watcher start<\/p>\n<\/blockquote>\n\n<p>Watcher is now started when Ubuntu is restarted. You can test this by doing a reboot.<\/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>You are now done installing Watcher on Ubuntu.<\/p>\n\n<p><strong>Ubuntu Watcher tutorial<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/nzbusenet.com\/en\/watcher3-tutorial\/\">Watcher3 tutorials<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/ubuntu-watcher-install-from-the-command-line\/\">Install Ubuntu Watcher <\/a>.<\/li>\n<\/ol>\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this Ubuntu Watcher installation tutorial we are going to install Watcher on an Ubuntu system via the command line. And we are going to make sure that Watcher is started automatically during the startup <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/ubuntu-watcher-install-from-the-command-line\/\" title=\"Engels Install Ubuntu Watcher from the command line\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":48475,"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":[736],"tags":[],"class_list":{"0":"post-37258","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-watcher3-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2021\/12\/Ubuntu-Watcher-installeren.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/37258","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=37258"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/37258\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/48475"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=37258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=37258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=37258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}