A Bitcoin full node independently validates transactions and blocks against Bitcoin's consensus rules.
It is not a mining machine and does not automatically earn BTC.
Bitcoin Core can retain the full blockchain or use pruning to dramatically reduce permanent disk requirements.
Full setup guide:
https://thenewsink.com/how-to-run-a-bitcoin-node/