{"id":7428,"date":"2018-01-26T15:00:39","date_gmt":"2018-01-26T14:00:39","guid":{"rendered":"https:\/\/nzbusenet.com\/?p=7428"},"modified":"2023-07-22T14:04:25","modified_gmt":"2023-07-22T12:04:25","slug":"install-cardigann-ubuntu-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/install-cardigann-ubuntu-command-line\/","title":{"rendered":"Install Cardigann Ubuntu via command line"},"content":{"rendered":"\n<p>In this Ubuntu install cardigans tutorial via the command line. I&#8217;ll explain how to install Cardigann. On a Ubuntu computer. Via the command line.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"cardigann-installeren-ubuntu\">Install Cardigann Ubuntu<\/h2>\n\n<p>First we need to Create a folder for Cardigann.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>mkdir .\/cardigann<\/p>\n<\/blockquote>\n\n<p>We must now put the rights right. On this folder. Beware! User must be your own Ubuntu username.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chown -R <b>yourusername<\/b>:<b>yourusername<\/b> .\/cardigann<\/p>\n<\/blockquote>\n\n<p>We are now going to download the latest version of Cardigan for 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>You can find the latest version at: <b>https:\/\/dl.equinox.io\/cardigann\/cardigann\/stable.<\/b> Copy the link from the Lunix version. and paste the link after <b>wget<\/b>. So as an example.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>wget https:\/\/bin.equinox.io\/c\/3u8U4iwUn6o\/cardigann-stable-linux-amd64.tgz<\/p>\n<\/blockquote>\n\n<p>We are now going to unpack cardigann. And then we install Cardigann in the hidden folder cardigann.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>tar -xf cardigann-stable-linux-amd64.tgz -C .\/cardigann<\/p>\n<\/blockquote>\n\n<p>We are going to open the Cardigann folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd .\/cardigann<\/p>\n<\/blockquote>\n\n<p>You can now start Cardigann. With the following command.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>.\/cardigann server &#8211;bind=&#8221;0.0.0.0&#8243; &#8211;port=&#8221;5060&#8243;<\/p>\n<\/blockquote>\n\n<p>You can now access Cardigann via your browser by surfing to http:\/\/je-ip.adres:5060<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"cardigann-autostart-ubuntu\">Cardigann Auto Start Ubuntu<\/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>Of course it is also very useful when cardigann is started During the startup of Ubuntu. I&#8217;m going to explain here how to do thatt.<\/p>\n\n<p>When you have started Cardigann. Then press <b>Ctrl + C <\/b>key. So Cardigann. Shuts down again.<\/p>\n\n<p>We are now going to create a cardigans 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\/cardigann.service<\/p>\n<\/blockquote>\n\n<p>Copy and paste the text below. Beware! Customize the user name. To that of your own Ubuntu user name.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Unit]<br \/>Description=Cardigann Daemon<br \/>[Service]<br \/>User=yourusername<br \/>Group=Groep<br \/>Type=simple<br \/>GuessMainPID=no<br \/>ExecStart=.\/cardigann\/cardigann server &#8211;bind=&#8221;0.0.0.0&#8243; &#8211;port=&#8221;5060&#8243; &#8211;passphrase=&#8221;wachtwoord&#8221;<br \/>Restart=always<br \/>RestartSec=120<\/p>\n\n\n\n<p>[Install]<br \/>WantedBy=multi-user.target<\/p>\n<\/blockquote>\n\n<p>Now press the <b>Ctrl <\/b>+ <b>X<\/b> keys. And then the <b>Y<\/b> key. To save this file.<\/p>\n\n<p>Now we are going to activate Cardigans Systemd service.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo systemctl enable cardigann<\/p>\n<\/blockquote>\n\n<p>Now we start Cardigann.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo service cardigann start<\/p>\n<\/blockquote>\n\n<p>You can also stop. or restart. For example<b>sudo service cardigann stop<\/b>.<\/p>\n\n<p>The installation of Cardigann is now ready.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this Ubuntu install cardigans tutorial via the command line. I&#8217;ll explain how to install Cardigann. On a Ubuntu computer. Via the command line. Install Cardigann Ubuntu First we need to Create a folder for <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/install-cardigann-ubuntu-command-line\/\" title=\"Install Cardigann Ubuntu via command line\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49524,"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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[231],"tags":[],"class_list":{"0":"post-7428","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ubuntu-system-tutorials"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2018\/01\/Cardigann-installeren-Ubuntu.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7428","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=7428"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7428\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49524"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=7428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=7428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=7428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}