THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Step 1: Download and build Ambari 1.7.0 source
Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-1.7.0 and find the suggested mirror for download. The process to verify the download is described is at http://www.apache.org/dyn/closer.cgi#verify
Code Block |
---|
wget http://wwwarchive.apache.org/dist/ambari/ambari-1.7.0/ambari-1.7.0.tar.gz (use the suggested mirror from above) tar xfvz ambari-1.7.0.tar.gz cd ambari-1.7.0 mvn versions:set -DnewVersion=1.7.0.0 |
RHEL (CentOS 5 or 6) & SUSE (SLES 11):
Code Block |
---|
mvn -B clean install package rpm:rpm -DnewVersion=1.7.0.0 -DskipTests -Dpython.ver="python >= 2.6" |
Ubuntu:
Code Block |
---|
mvn -B clean install package rpm:rpm package jdeb:jdeb -DnewVersion=1.7.0.0 -DskipTests -Dpython.ver="python >= 2.6" |
Note: You need to have tools such as rpm-build tool, brunch, etc. For details on prerequisites, please see Ambari Development.
...
Code Block |
---|
zypper install ambari-server*.rpm #This should also pull in postgres packages as well. |
[For Ubuntu 12]
Code Block |
---|
apt-get install ambari-server*.deb #This should also pull in postgres packages as well. |
Step 3: Setup and Start Ambari Server
...
[For SLES 11]
Code Block |
---|
zypper install ambari-agent*.rpm |
[For Ubuntu 12]
Code Block |
---|
apt-get install ambari-agent*.rpm |
...