This guide assumes that you've used ssh before. If not, then you must read How to Set Up SSH Keys.
I'm also going to assume you've used ipfs before. If not, then take some time to discover IPFS with IPFS Desktop, IPFS Companion and go-ipfs!
A public IPFS gateway can be hosted at home or on the cloud.