{"id":196,"date":"2024-02-17T03:14:57","date_gmt":"2024-02-17T03:14:57","guid":{"rendered":"https:\/\/www.wavelayer.com\/blog\/?p=196"},"modified":"2024-02-17T04:20:22","modified_gmt":"2024-02-17T04:20:22","slug":"how-to-install-and-run-a-bitcoin-node-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.wavelayer.com\/blog\/how-to-install-and-run-a-bitcoin-node-on-ubuntu-22-04\/","title":{"rendered":"How to Install and Run a Bitcoin Node on Ubuntu 22.04"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"196\" class=\"elementor elementor-196\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4629d1e e-flex e-con-boxed e-con e-parent\" data-id=\"4629d1e\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-624513b elementor-widget elementor-widget-text-editor\" data-id=\"624513b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>Maintaining a Bitcoin node gives you more protection and privacy while utilizing Bitcoin transactions in addition to being a means to support the decentralized structure of the network. We&#8217;ll guide you through setting up and operating a Bitcoin node on Ubuntu 22.04, the most recent Long-Term Support version of Ubuntu, in this tutorial.<\/p><p>In order to install and run Bitcoin Node in Ubuntu 22.04, there are several requirements that you must fulfill first:<\/p><p>\u00a0<\/p><p><strong>Hardware Requirements:<\/strong><\/p><ul><li>Sufficient Disk Space: At least 500 GB of disk space<\/li><li>Sufficient RAM: At least 2 GB of RAM<\/li><li>Stable internet connection for downloading and synchronizing the blockchain and for communication with other nodes on the network<\/li><\/ul><p>\u00a0<\/p><p><strong>Software Requirements:<\/strong><\/p><ul><li>Ubuntu 22.04 LTS: Bitcoin Core is compatible with Ubuntu, and Ubuntu 22.04 LTS is the latest Long-Term Support release.<\/li><li>Basic Linux Knowledge: For Linux Command Line interface<\/li><li>Software dependencies: A number of software dependencies are needed for Bitcoin Core to function, such as libraries like Boost, Berkeley DB, and OpenSSL; these dependencies are typically installed automatically during the installation process of Bitcoin Core using package management tools like <strong>`apt`.<\/strong><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7716694 elementor-widget elementor-widget-heading\" data-id=\"7716694\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Here\u2019s the the step-by-step process of installing Bitcoin Node on Ubuntu 22.04: <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f8e93b8 elementor-widget elementor-widget-text-editor\" data-id=\"f8e93b8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>1) Update System Packages.<\/strong><\/p><p>It is recommended to update the system&#8217;s package repository and upgrade any outdated packages before installing any new software<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-862ead2 elementor-widget elementor-widget-code-highlight\" data-id=\"862ead2\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>sudo apt update<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-47a397d elementor-widget elementor-widget-code-highlight\" data-id=\"47a397d\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>sudo apt upgrade<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b1f136 elementor-widget elementor-widget-text-editor\" data-id=\"5b1f136\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>2) Install Bitcoin Core.<\/strong><\/p><p>Bitcoin Core may be installed straight from the Ubuntu repository by using the <strong>`apt`<\/strong> command. You may also install it from the official Bitcoin Core PPA (Personal Package Archive), which is managed by the Bitcoin developers.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e4f87de elementor-widget elementor-widget-code-highlight\" data-id=\"e4f87de\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>sudo add-apt-repository ppa:bitcoin\/bitcoin\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ef9fd94 elementor-widget elementor-widget-code-highlight\" data-id=\"ef9fd94\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>sudo apt update<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2b3012f elementor-widget elementor-widget-code-highlight\" data-id=\"2b3012f\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>sudo apt install bitcoin<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-644d1cc elementor-widget elementor-widget-text-editor\" data-id=\"644d1cc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>3) Check Version.<\/strong><\/p><p>After the installation is finished, you may check the version of Bitcoin Core to make sure it was installed successfully:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-924bfee elementor-widget elementor-widget-code-highlight\" data-id=\"924bfee\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>bitcoin-cli --version<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2fb5b37 elementor-widget elementor-widget-text-editor\" data-id=\"2fb5b37\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>4) Configure Bitcoin Core.<\/strong><\/p><p>Bitcoin Core stores configuration files and blockchain data in the <strong>`~\/.bitcoin\/` <\/strong>directory.<\/p><p>You can customize the configuration by editing the<\/p><p><strong>`bitcoin.conf` <\/strong>file.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ecb76bc elementor-widget elementor-widget-code-highlight\" data-id=\"ecb76bc\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>mkdir ~\/.bitcoin\/<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fe4f516 elementor-widget elementor-widget-code-highlight\" data-id=\"fe4f516\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>nano ~\/.bitcoin\/bitcoin.conf<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-276e9e8 elementor-widget elementor-widget-text-editor\" data-id=\"276e9e8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Add the following lines to the <strong>`bitcoin.conf`<\/strong> file:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6265758 elementor-widget elementor-widget-code-highlight\" data-id=\"6265758\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp># Set your RPC username and password\nrpcuser=your_username\nrpcpassword=your_password\n\n# Enable RPC server\nserver=1\n\n# Listen for incoming connections\nlisten=1\n\n# Maximum number of inbound+outbound connections\nmaxconnections=100<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-469ec29 elementor-widget elementor-widget-text-editor\" data-id=\"469ec29\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Replace <strong>`your_username`<\/strong> and <strong>`your_password`<\/strong> with your desired RPC username and password.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-994f219 elementor-widget elementor-widget-text-editor\" data-id=\"994f219\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>5) Start the Bitcoin Core daemon.<\/strong><\/p><p>Once Bitcoin Core is configured, you can launch the daemon.<\/p><p>\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9549253 elementor-widget elementor-widget-code-highlight\" data-id=\"9549253\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>bitcoind<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e202787 elementor-widget elementor-widget-text-editor\" data-id=\"e202787\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The full Bitcoin blockchain will be downloaded and verified as a result, starting the Bitcoin Core process. A few hours or even days may pass during this procedure, depending on your hardware and internet connection.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-582311d elementor-widget elementor-widget-text-editor\" data-id=\"582311d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>6) Monitor the Bitcoin Core.<\/strong><\/p><p>Monitor the synchronization progress using the <strong>`bitcoin-cli`<\/strong> command<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a91ce71 elementor-widget elementor-widget-code-highlight\" data-id=\"a91ce71\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-typescript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-typescript\">\n\t\t\t\t\t<xmp>bitcoin-cli getblockchaininfo<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ef41d40 elementor-widget elementor-widget-text-editor\" data-id=\"ef41d40\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This will display information about the current blockchain synchronization status.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-47cdc4b elementor-widget elementor-widget-text-editor\" data-id=\"47cdc4b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>7) Use Bitcoin Core.<\/strong><\/p><p>After Bitcoin Core has synchronized with the network, you can use<strong> `bitcoin-cli`<\/strong> to interact with it or integrate it with your own programs to use one of the many commands available.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4a5a345 elementor-widget elementor-widget-heading\" data-id=\"4a5a345\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Conclusion<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-caddf32 elementor-widget elementor-widget-text-editor\" data-id=\"caddf32\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Maintaining a Bitcoin node improves your personal privacy and control over your transactions while also helping the network&#8217;s security and decentralization. Keep your Bitcoin Node with the most recent security patches and adhere to recommended procedures to safeguard your Bitcoin node and money. You should also monitor the health of your node and take appropriate actions if any issues arise.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Maintaining a Bitcoin node gives you more protection and privacy while utilizing Bitcoin transactions in addition to being a means to support the decentralized structure of the network. We&#8217;ll guide you through setting up and operating a Bitcoin node on Ubuntu 22.04, the most recent Long-Term Support version of Ubuntu, in this tutorial. In order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":291,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial"],"_links":{"self":[{"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":55,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/posts\/196\/revisions\/290"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/media\/291"}],"wp:attachment":[{"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wavelayer.com\/blog\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}