user95678: I want to install a command line-only full node bitcoind on a mini PC with 4GB RAM and Ubuntu. What are the steps to do it and how can I check if it works?

user95678: 
useradd bitcoin and passwd bitcoin
link /home/bitcoin/.bitcoin to external HDD with chown -R bitcoin:bitcoin
git clone bitcoin core in /home/USER/GitStuff
add bitcoin ppa repository
sudo apt install libdb4.8-dev && sudo apt install libdb4.8++-dev
/autogen.sh in /home/USER/GitStuff/bitcoin
/configure --withoug gui
make
make install
10 su bitcoin
start bitcoind (as user bitcoin)
curl -sL https://bitnodes.earn.com/api/v1/nodes/me-8333 | jq


user100807: Dependencies
To get add-apt-repository, which we will use later to add the bitcoin PPA:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
Configuration
Before starting bitcointd you'll want to create directory and the bitcoin.conf configuration file:
cd ~/
mkdir .bitcoin
cd .bitcoin
vim bitcoin.conf or nano bitcoin.conf
In bitcoin.conf these content are important:
server=1
testnet=1
rpcuser=UNIQUE_RPC_USERNAME
rpcpassword=UNIQUE_RPC_PASSWORD

If you wish to use this installation on the regular bitcoin network, remove testnet=1

user136567: The custom apt repository now states it is unmaintained, and to use the snap found here:
https://github.com/bitcoin-core/packaging/tree/main/snap
sudo snap install bitcoin-core

Config file wants to live at: /home/yourusername/snap/bitcoin-core/common/.bitcoin/bitcoin.conf

95678: <p>I want to install a command line-only full node <code>bitcoind</code> on a mini PC with 4GB RAM and Ubuntu. What are the steps to do it and how can I check if it works?</p>
 95678: <ol>
<li><code>useradd bitcoin</code> and <code>passwd bitcoin</code></li>
<li>link <code>/home/bitcoin/.bitcoin</code> to external HDD with <code>chown -R bitcoin:bitcoin</code></li>
<li><code>git clone bitcoin core</code> in <code>/home/USER/GitStuff</code></li>
<li>add bitcoin ppa repository</li>
<li><code>sudo apt install libdb4.8-dev &amp;&amp; sudo apt install libdb4.8++-dev</code></li>
<li><code>/autogen.sh</code> in <code>/home/USER/GitStuff/bitcoin</code></li>
<li><code>/configure --withoug gui</code></li>
<li><code>make</code></li>
<li><code>make install</code>
10 <code>su bitcoin</code></li>
<li>start <code>bitcoind</code> (as user <code>bitcoin</code>)</li>
<li><code>curl -sL https://bitnodes.earn.com/api/v1/nodes/me-8333 | jq</code></li>
</ol>
 100807: <p><strong>Dependencies</strong></p>

<p>To get add-apt-repository, which we will use later to add the bitcoin PPA:</p>

<p><code>sudo add-apt-repository ppa:bitcoin/bitcoin</code></p>

<p><code>sudo apt-get update</code></p>

<p><code>sudo apt-get install bitcoind</code></p>

<p><strong>Configuration</strong></p>

<p>Before starting bitcointd you'll want to create directory and the bitcoin.conf configuration file:</p>

<p><code>cd ~/</code></p>

<p><code>mkdir .bitcoin</code></p>

<p><code>cd .bitcoin</code></p>

<p><code>vim bitcoin.conf</code> or <code>nano bitcoin.conf</code></p>

<p><strong>In bitcoin.conf these content are important:</strong></p>

<pre><code>server=1
testnet=1
rpcuser=UNIQUE_RPC_USERNAME
rpcpassword=UNIQUE_RPC_PASSWORD
</code></pre>

<p>If you wish to use this installation on the regular bitcoin network, remove <code>testnet=1</code></p>
 136567: <p>The custom apt repository now states it is unmaintained, and to use the snap found here:
<a href="https://github.com/bitcoin-core/packaging/tree/main/snap" rel="nofollow noreferrer">https://github.com/bitcoin-core/packaging/tree/main/snap</a></p>
<pre><code>sudo snap install bitcoin-core
</code></pre>
<p>Config file wants to live at: <code>/home/yourusername/snap/bitcoin-core/common/.bitcoin/bitcoin.conf</code></p>
