{"id":22247,"date":"2024-09-17T18:18:24","date_gmt":"2024-09-17T16:18:24","guid":{"rendered":"https:\/\/contabo.com\/blog\/kb\/103000283113-can-you-provide-more-information-on-contabo-s-horizen-node-image\/"},"modified":"2025-04-10T18:08:22","modified_gmt":"2025-04-10T16:08:22","slug":"103000283113-can-you-provide-more-information-on-contabo-s-horizen-node-image","status":"publish","type":"kb","link":"https:\/\/contabo.com\/blog\/kb\/103000283113-can-you-provide-more-information-on-contabo-s-horizen-node-image\/","title":{"rendered":"Can You Provide More Information On Contabo&#8217;s Horizen Node Image?"},"content":{"rendered":"<h4><strong dir=\"ltr\">Can you provide more information on Contabo&#8217;s Horizen Node image?<\/strong><\/h4>\n<p dir=\"ltr\">Contabo&#8217;s Horizen Node image is based on the Zen (<u><a href=\"https:\/\/github.com\/HorizenOfficial\/zen\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\">https:\/\/github.com\/HorizenOfficial\/zen<\/a><\/u>).<\/p>\n<p><\/p>\n<p dir=\"ltr\">The image contains all the necessary dependencies to set up your Horizen node for staking.<\/p>\n<p dir=\"ltr\"><\/p>\n<h4><strong dir=\"ltr\">How do I switch to the Horizen user?<\/strong><\/h4>\n<p dir=\"ltr\">You can use the command below to log in as the Horizen user. We recommend using this user as it was created for security reasons.<\/p>\n<p><\/p>\n<pre dir=\"ltr\">su horizen<\/pre>\n<h4 dir=\"ltr\"><strong>How do I run Zen-CLI commands?<\/strong><\/h4>\n<p>P2P Network info: zen-cli getnetworkinfo<\/p>\n<p>Request sync status: zen-cli getblockchaininfo<\/p>\n<p>&nbsp;<\/p>\n<h4 dir=\"ltr\"><strong>How do I&nbsp;<\/strong><strong>setup my node for staking?<\/strong><\/h4>\n<p dir=\"ltr\"><strong>To note the following commands should be executed as the root user (or user with sudo privileges).&nbsp;<\/strong><\/p>\n<p dir=\"ltr\"><strong><br \/><\/strong><\/p>\n<h4 class=\"anchor anchorWithStickyNavbar_LWe7\" dir=\"ltr\"><strong>How do I disable Apache to avoid port conflicts?<\/strong><\/h4>\n<p dir=\"ltr\">You can run the following commands:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">sudo systemctl disable apache2\nsudo systemctl stop apache2<\/pre>\n<h4 dir=\"ltr\"><strong>How do I install Certbot for SSL?<\/strong><\/h4>\n<p dir=\"ltr\">You can run the following command:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">sudo certbot certonly --preferred-chain \"ISRG Root X1\" --key-type rsa -n --agree-tos --register-unsafely-without-email --standalone -d $FQDN<\/pre>\n<h4 dir=\"ltr\"><strong><strong>How do I setup certificates for Horizen node?<\/strong><\/strong><\/h4>\n<p dir=\"ltr\">You can run the following commands:<\/p>\n<pre dir=\"ltr\">sudo chown -R horizen:horizen \/etc\/letsencrypt\/\n\nsudo chmod -R 750 \/etc\/letsencrypt\/\n\nsudo csplit -s -z -f \/usr\/local\/share\/ca-certificates\/intermediate-cert- \/etc\/letsencrypt\/live\/$FQDN\/chain.pem '\/-----BEGIN CERTIFICATE-----\/' '{*}' --suffix-format='%02d.crt'\n\nsudo update-ca-certificates --fresh<\/pre>\n<h4 dir=\"ltr\"><strong>How do I write out the certificates to the config file?<\/strong><\/h4>\n<p dir=\"ltr\">You can run the following command:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">echo \"tlscertpath=\/etc\/letsencrypt\/live\/$FQDN\/cert.pem\" &gt;&gt; \/home\/horizen\/.zen\/zen.conf\necho \"tlskeypath=\/etc\/letsencrypt\/live\/$FQDN\/privkey.pem\" &gt;&gt; \/home\/horizen\/.zen\/zen.conf\n\nexport IPV4=$(ip -4 addr show eth0 | grep -oP '(?&lt;=inets)d+(.d+){3}')\n\necho \"externalip=$IPV4\" &gt;&gt; \/home\/horizen\/.zen\/zen.conf\n\necho \"port=9033\" &gt;&gt; \/home\/horizen\/.zen\/zen.conf<\/pre>\n<h4 dir=\"ltr\"><strong dir=\"ltr\">How do I restart the Zen node?<\/strong><\/h4>\n<p dir=\"ltr\">To note this step should be executed by the horizen user then switch back to the root user to finish the setup.<\/p>\n<p dir=\"ltr\">You can run the following command to restart the Zen node:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">zen-cli stop &amp;&amp; sleep 60 &amp;&amp; zend &amp;&amp; sleep 30<\/pre>\n<h4 dir=\"ltr\"><strong dir=\"ltr\">How do I install the Node Tracker?<\/strong><\/h4>\n<p dir=\"ltr\">Nodetracker is an application which manages your staking.<\/p>\n<p dir=\"ltr\"><\/p>\n<p dir=\"ltr\">You can install it by running the below command:<\/p>\n<pre dir=\"ltr\">sudo apt-get update\nsudo apt-get install -y ca-certificates curl gnupg\nsudo mkdir -p \/etc\/apt\/keyrings\ncurl -fsSL https:\/\/deb.nodesource.com\/gpgkey\/nodesource-repo.gpg.key | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/nodesource.gpg\n\nNODE_MAJOR=18\necho \"deb [signed-by=\/etc\/apt\/keyrings\/nodesource.gpg] https:\/\/deb.nodesource.com\/node_$NODE_MAJOR.x nodistro main\" | sudo tee \/etc\/apt\/sources.list.d\/nodesource.list\n\nsudo apt-get update\nsudo apt-get install nodejs -y\n\ncd ~\/ &amp;&amp; git clone https:\/\/github.com\/HorizenOfficial\/nodetracker.git\n\ncd nodetracker<\/pre>\n<h4 dir=\"ltr\"><strong dir=\"ltr\">How do I setup the Node Tracker?<\/strong><\/h4>\n<p>You can run the following command:<\/p>\n<pre dir=\"ltr\">ZENCONF=\/home\/horizen\/.zen\/zen.conf ZEN_HOME=\/home\/horizen\/.zen\/zen.conf node setup.js<\/pre>\n<p>If you would like to setup a testing version of the Node Tracker you can run the following command:<\/p>\n<pre>ZENCONF=\/home\/horizen\/.zen\/zen.conf ZEN_HOME=\/home\/horizen\/.zen\/zen.conf node app.js<\/pre>\n<h4 dir=\"ltr\"><strong>How do I start the Node Tracker with PM2 for auto-restart?<\/strong><\/h4>\n<p dir=\"ltr\">You can run the following command:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">npm install pm2@latest -g\n\nZENCONF=\/home\/horizen\/.zen\/zen.conf ZEN_HOME=\/home\/horizen\/.zen\/zen.conf pm2 start app.js --name nodetracker<\/pre>\n<h4 dir=\"ltr\"><strong dir=\"ltr\">How do I read logs for Node Tracker?<\/strong><\/h4>\n<p dir=\"ltr\">You can run the following command:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\">pm2 logs nodetracker<\/pre>\n<h4><strong dir=\"ltr\">Official Horizen Documentation:<\/strong><\/h4>\n<p>You can find the official Horizen documentation <u><a href=\"https:\/\/horizenofficial.atlassian.net\/wiki\/spaces\/ZEN\/pages\/136872141\/Secure+and+Super+Nodes\" rel=\"noreferrer nofollow noopener nofollow\" target=\"_blank\"><u>here<\/u><\/a><\/u> with more information.<\/p>\n<\/p>\n<p><span class=\"ast-load-more active\"><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000283113-can-you-provide-more-information-on-contabo-s-horizen-node-image-\" rel=\"nofollow\">Details&#8230;<\/a> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can you provide more information on Contabo&#8217;s Horizen Node image? Contabo&#8217;s Horizen Node image is based on the Zen (https:\/\/github.com\/HorizenOfficial\/zen). The image contains all the necessary dependencies to set up your Horizen node for staking. How do I switch to the Horizen user? You can use the command below to log in as the Horizen [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2067],"tags":[],"class_list":["post-22247","kb","type-kb","status-publish","hentry","category-kb"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Contabo Web","author_link":"https:\/\/contabo.com\/blog\/author\/julius-nalivaiko\/"},"uagb_comment_info":0,"uagb_excerpt":"Can you provide more information on Contabo&#8217;s Horizen Node image? Contabo&#8217;s Horizen Node image is based on the Zen (https:\/\/github.com\/HorizenOfficial\/zen). The image contains all the necessary dependencies to set up your Horizen node for staking. How do I switch to the Horizen user? You can use the command below to log in as the Horizen&hellip;","_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"version-history":[{"count":1,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22247\/revisions"}],"predecessor-version":[{"id":22936,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22247\/revisions\/22936"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=22247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=22247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=22247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}