This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get BIOS information for Serial Number | |
| $biosInfo = Get-CimInstance Win32_BIOS | |
| # Get network adapters information | |
| $networkAdapters = Get-CimInstance Win32_NetworkAdapterConfiguration | Where-Object { $_.IPEnabled -eq $true } | |
| # Prepare the output object | |
| $hardwareInfo = [PSCustomObject]@{ | |
| SerialNumber = $biosInfo.SerialNumber | |
| MACAddresses = @() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # It is not recommended to modify this file in-place, because it will | |
| # be overwritten during package upgrades. If you want to add further | |
| # options or overwrite existing ones then use | |
| # $ systemctl edit bitcoind.service | |
| # See "man systemd.service" for details. | |
| # Note that almost all daemon options could be specified in | |
| # /etc/bitcoin/bitcoin.conf, but keep in mind those explicitly | |
| # specified as arguments in ExecStart= will override those in the | |
| # config file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #https://gist.github.com/royalgarter/834662e43944a94ba56e65b0e0408c39#file-setup_btc_prune_node_ubuntu18_do-sh | |
| #https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-lightning-node-on-linux-2021-edition-ece227cfc35d#66eb | |
| #https://stopanddecrypt.medium.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2021-edition-46bf20fbe8ff | |
| # Test after install bitcoin: btc getzmqnotifications | |
| echo "run lsblk to find data disk and change devname below. Create new empty partitions and mount to /home" | |
| devname=xvdb | |
| #devname=sda | |
| #devname=sdb | |
| `parted -s /dev/$devname mklabel gpt` |