Detailed instructions on getting MarkLogic set up or installed can be found in the Installation Guide. The full offering of documentation is available via docs.marklogic.com
The overall setup process involves
Installing the binary/rpm
Starting the services
Configuring first and subsequent host...