Step 3: Install Cloudera Manager Server
In this step you install the Cloudera Manager Server packages on the Cloudera Manager host.
Install the Cloudera Manager Server Packages
- Install the Cloudera Manager Server packages either on the host where the database is installed, or on a host that has access to the
database. This host need not be a host in the cluster that you want to manage with Cloudera Manager. On the Cloudera Manager Server host, type the following commands to install the Cloudera Manager
OS Command RHEL, if you have a yum repo configured
sudo yum install cloudera-manager-daemons cloudera-manager-server
RHEL,if you're manually transferring RPMs
sudo yum --nogpgcheck localinstall cloudera-manager-daemons-*.rpm sudo yum --nogpgcheck localinstall cloudera-manager-server-*.rpm
sudo zypper install cloudera-manager-daemons cloudera-manager-server
Ubuntu or Debian
sudo apt-get install cloudera-manager-daemons cloudera-manager-server
- If you are using an Oracle database for Cloudera Manager, increase the Java heap size for Cloudera Manager Server. Edit the /etc/default/cloudera-scm-server file on the Cloudera Manager server host. Locate the line that begins with export CM_JAVA_OPTS and change the -Xmx2G option to -Xmx4G.
- On all hosts, run the following command to install the Cloudera Manager agent:
OS Command RHEL, CentOS, Oracle Linux
sudo yum install cloudera-manager-daemons cloudera-manager-agent
sudo zypper install cloudera-manager-daemons cloudera-manager-agent
sudo apt-get install cloudera-manager-daemons cloudera-manager-agent
- On all hosts, configure the Cloudera Manager Agent to point to the Cloudera Manager Server by setting the following properties in the /etc/cloudera-scm-agent/config.ini configuration file:
Property Description server_host Name of the host where Cloudera Manager Server is running. server_port Port on the host where Cloudera Manager Server is running.
- Start the Agents by running the following command on all hosts:
- RHEL 7, SLES 12, Debian 8, Ubuntu 16.04
sudo systemctl start cloudera-scm-agentIf the agent starts without errors, no response displays.
- RHEL 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
sudo service cloudera-scm-agent startYou should see the following:
Starting cloudera-scm-agent: [ OK ]
Install and Configure Databases
After installing the Cloudera Manager Server packages, continue to Step 4: Install and Configure Databases.