refer to the Hortonworks official website to install Ambari as follows:
wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.5/ambari.repo -O /etc/yum.repos.d/ambari.repo
yum install ambari-server
ambari-server setup
but cannot start.
Log:
05 July 2018 01 main 43 main WARN [main] ShellCommandUtil:64-Command openssl ca-create_serial-out / var/lib/ambari-server/keys/ca.crt-days 365-keyfile / var/lib/ambari-server/keys/ca.key-key * *-selfsign-extensions jdk7_ca-config / var/lib/ambari-server/keys/ca.config-batch-infiles / var/lib/ambari-server/keys/ca.csr was finished with exit code: 1-an error occurred Parsing the command options.
05 July 2018 01 WARN [main] ShellCommandUtil:64-Command openssl pkcs12-export-in / var/lib/ambari-server/keys/ca.crt-inkey / var/lib/ambari-server/keys/ca.key-certfile / var/lib/ambari-server/keys/ca.crt-out / var/lib/ambari-server/keys/keystore.p12-password pass: -passin pass:
was finished with exit code: 1-an error occurred parsing the command options.