using a script (see Install Certificate Manager by script), where you use a predefined properties file, containing parameters which are interpreted and executed.
You use the same installation file in both cases.
See these articles for instructions on how to install CM servers and clients manually: