Friday, 17 August 2018
Steps of installing Cloudera on Google clood
( For personal use )
Create node with 4 vcore CPU
node1 ,node2,node3 node4
go to API manager - service account file
ssh all nodes , log on as sudo -i , passwd , and keep the same password in all nodes.
log on as ROOT
go to nano /etc/ssh/sshd_config and change the below four things
1) PermitRootLogin yes
2) AuthorizedKeyFile /root/.ssh/authorized_keys
3) PasswordAuthentication yes
4) ChallengeResponseAuthentication yes
cntrl X yes enter
service ssh restart
ssh-keygen
service ssh restart
( DO THE SAME STEPS FOR ALL NODES)
DO ssh-copy-id for all
root@node1# ssh-copy-id root@node2
DO IT VICE VERSA in all nodes
than do it for all nodes :
sysctl -w vm.swappiness=0
wget https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
ls and check
chmod u+x cloudera-manager-installer.bin
sudo ./cloudera-manager-installer.bin (if you are lohin also as root)
NETWORK CHANGE
Networking --> Firewall rules --> default-allo-internet--> source filter (allow from any source (0.0.0.0/0)) SAVE
DO IT FOR ALL NODES
SSH issue got fixed.
gcloud compute instances add-metadata node1 --metadata enable-oslogin=TRUE
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment