Make sure the target computer on which you are installing the replication components meets the minimum memory and disk space requirements.
See the Replication Server Installation Guide > Planning Your Installation > System Requirements.
To improve performance by avoiding multiple network hops, install Replication Server and the SAP HANA database on the same machine.