⚙️
Setting Up Cloudera Data Platform(CDP)
  • CDP Overview
  • Why CDP?
  • CDP Services
  • Setting up Google Cloud Platform(GCP) for Cloudera
  • Creating User
  • Configuring Network Settings
  • Configuring Oracle Java
  • Installing Server
  • Configuring MySQL
  • Set Firewall rule on GCP
  • Cloudera Data Platform Installation
  • Working with Cloudera Manager
  • Set Up a Cluster
  • Testing Your Hadoop Installation
  • Installing Hive
  • Hive Validation
  • Deploying Spark 2.4
  • Running Job on Apache Spark2
  • Installing Kafka
  • Kafka Validation
  • Common Warnings and Errors
Powered by GitBook
On this page

Creating User

PreviousSetting up Google Cloud Platform(GCP) for ClouderaNextConfiguring Network Settings

Last updated 3 years ago

You have to create a user “training” and set its password “password”

Add user in CentOS, open a terminal

sudo useradd training

Assign a password using passwd command and set the password: “password”

sudo passwd training

Edit the sudoers file through vi command

sudo vi /etc/sudoers

You have to follow either of the 2 options

  1. Add a new highlighted line in this file

training ALL=(ALL) NOPASSWD: ALL

2. Replace # %wheel with training in the above line.

Once this is done, save the file using Esc :wq!

Set PasswordAuthentication as yes and restart ssh daemon

sudo vi /etc/ssh/sshd_config

Uncomment PasswordAuthentication yes and comment the PasswordAuthentication no

sudo systemctl restart sshd.service