captjack on Nostr: 🐧 debian #ubuntu #bitcoinknots (this is better than bitcoind) nostr tip #linuxstr ...
🐧 debian #ubuntu #bitcoinknots (this is better than bitcoind) nostr tip #linuxstr amd64 arm (no riscv yet)
sudo add-apt-repository ppa:luke-jr/bitcoinknots
sudo apt update
sudp apt search - u see - "bitcoind/focal 26.1.knots20240513-focal1 amd64"
sudo apt install bitcoind
auto start as ubuntu systemd service
nano /etc/systemd/system/bitcoind.service
Unit]
Description=lncr deamon start
After=network.target
StartLimitIntervalSec=20
[Service]
User=noderunner
Group=noderunner
Type=forking
PIDFile=/wherever/btc/bitcoin.pid
ExecStart=/wherever/btc/bitcoind -daemon -datadir=/wherever/btc/ -conf=/wherever/btc/bitcoin.conf
ExecStop=/wherever/btc/bitcoin-cli -datadir=/wherever/btc/ -conf=/wherever/btc/bitcoin.conf stop
[Install]
WantedBy=multi-user.target
usually best run LVM disk - mount in /etc/fstab as /wherever/ (choose ur own name)
UUID=76b3e08b-0764-45c6-8e44-432863307aaa /wherever ext4 errors=remount-ro,noatime,commit=120 0 1
lsblk -f (to ser UID)
Published at
2024-07-24 16:28:07Event JSON
{
"id": "3030e6be9199c4c4fc089979a9abaae915a3728b2e9ac47a078bc2c500174391",
"pubkey": "5e5fc1434c928bcdcba6f801859d5238341093291980fd36e33b7416393d5a2c",
"created_at": 1721831287,
"kind": 1,
"tags": [
[
"t",
"ubuntu"
],
[
"t",
"bitcoinknots"
],
[
"t",
"linuxstr"
]
],
"content": "🐧 debian #ubuntu #bitcoinknots (this is better than bitcoind) nostr tip #linuxstr amd64 arm (no riscv yet)\nsudo add-apt-repository ppa:luke-jr/bitcoinknots\nsudo apt update\nsudp apt search - u see - \"bitcoind/focal 26.1.knots20240513-focal1 amd64\"\nsudo apt install bitcoind\n\nauto start as ubuntu systemd service \nnano /etc/systemd/system/bitcoind.service\nUnit]\nDescription=lncr deamon start\nAfter=network.target\nStartLimitIntervalSec=20\n[Service]\nUser=noderunner\nGroup=noderunner\nType=forking\nPIDFile=/wherever/btc/bitcoin.pid\nExecStart=/wherever/btc/bitcoind -daemon -datadir=/wherever/btc/ -conf=/wherever/btc/bitcoin.conf\nExecStop=/wherever/btc/bitcoin-cli -datadir=/wherever/btc/ -conf=/wherever/btc/bitcoin.conf stop\n[Install]\nWantedBy=multi-user.target\n\nusually best run LVM disk - mount in /etc/fstab as /wherever/ (choose ur own name)\nUUID=76b3e08b-0764-45c6-8e44-432863307aaa /wherever ext4 errors=remount-ro,noatime,commit=120 0 1\nlsblk -f (to ser UID)\n\nhttps://luke.dashjr.org/programs/bitcoin/files/bitcoin-knots/www/knots-long.png\n",
"sig": "8de2ab2b771933204d221417936e073e484b14670327a71baaf341708833fbd3b9c159be65eddebbd608207531e339db0e1428bfc221bc335f461682ca743b0c"
}