Step 1: Download and build Ambari 1.4.1 source:
wget http://people.apache.org/~swagle/ambari-release-1.4.1-rc0/
#] mvn clean
Once the rpm succeeds you should be able to install the Ambari repository.
#] cd target/
Step 2: Install Ambari Repository:
#] rpm -Uvh
Step 3: Install Ambari Server:
[For CentOS 5 or 6]
yum install ambari-server -y #This should also pull in postgres packages as well.
[For SLES 11]
zypper install ambari-server -y #This should also pull in postgres packages as well.
Step 4: Setup Ambari Server:в
Run:
#] ambari-server setup
Note that you will see a new set of prompts when running setup:
WARNING: SELinux is set to 'permissive' mode and temporarily disabled. You should disable SELinux permanently.
OK to continue [y/n] (y)?
You can proceed with a yes.
For advanced database installation say y: with n it will default to username ambari-server and password bigdata.
Username [ambari]:
You can use any username here. This is the username that ambari uses to connect to postgres DB. If you press enter it will use the default ambari-server
Password [bigdata]:
Password for the DB username, default is bigdata, pressing enter will use the default, else you can йфьифкenter your own password.
Do you accept the Oracle Binary Code License Agreement [y/n] (y)?
This is to accept Oracle JDK’s license. Go ahead and say ‘y’.
Start Ambari server
#] ambari-server start
Step 5: BootStrap the Agents using the UI and begin the deploy/start process.
Go to the web server UI at:
$AMBARI_SERVER:8080/
Login using:
admin:admin
The step below are only required if the ambari agent is being bootstrapped manually.
Step 6: Install the ambari agent
The following command needs to be on all ambari agent hosts.
Install ambari repo as explained in Step 2.
#] yum install epel-release
#] yum install ambari-agent
Step 7: Configure the ambari-agent
vim /etc/ambari-agent/ambari.ini
[server]
hostname=localhost
Make sure the above hostname points to the actual ambari server.
Step 8: Start the ambari-agent
#] ambari-agent start