In order to build a node from source, run it and connect it to the Cardano mainnet, you need a Linux system with at least 4GB RAM and 24GB hard drive space. The RAM is mostly needed for building the node; for running it, 1GB would be sufficient. The hard drive space is necessary if you want to connect to and download the Cardano blockchain.
You can use VirtualBox to learn how to set up stake pool.
Install Virtual Box:
Install Ubuntu 20.04
Follow this tutorial to setup a virtual machine with ubuntu 20.04 Desktop:
When you have finished creating your virtual Machine, open a terminal and run to install Install VirtualBox Guest Additions on Ubuntu VirtualBox VM.
sudo apt install virtualbox-guest-dkms virtualbox-guest-x11 virtualbox-guest-utils
If you have any questions and suggestions while taking the lessons please feel free to ask in the Cardano forum and we will respond as soon as possible.