Support Questions

Find answers, ask questions, and share your expertise

how to start local ambari-server server for ambabri source

Explorer

i'm compile ambari server source , but how to start local ambari-server server for ambabri source

1 REPLY 1

Super Mentor
@shi cheng

If you are able to compile ambari. Then next step will be to make an RPM using the following command:

mvn -B clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26" -Preplaceurl

- Once the RPMs are ready then you can install it as following:

yum install ambari-server/target/rpm/ambari-server/RPMS/noarch/ambari-server-*.noarch.rpm 

Once ambari is installed using RPM then you can do the setup and start.

ambari-server setup
ambari-server start

.

For more informations please refer to: https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development