Sorry… there’s a lot of things that will fail to work outside of AWS with the normal setup… the analytics pipeline is not really designed to be run on a single VM in a production environment, and requires a lot of customisations all over the place in order to work. For example, the out-of-the-box production deployments rely on configurations in AWS’s Elastic MapReduce (EMR) service, which you can emulate with your own VM, but you have to learn a lot about hadoop and hive in order to do that. It’s possible, but will require a lot of time.
Hadoop isn’t part of Open edX, so you’d need to read up on it to find out how to install it on your environment.