- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
install cluster on one vm
- Labels:
-
Apache Ambari
Created ‎06-03-2017 04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am following
to setup a cluster on a vm. I am using localhost.localdomain but don't know how to setup the ssh credential. Since it is one vm setup, ambari server should not access the ambari agent host using ssh since they are on the same machine. What's the workaround here? Thanks for any help!
Created ‎06-03-2017 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Password less ssh is not mandatory for agent installation. You can also install the ambari agent without setting up the password less ssh.
.
If you want to setup password less ssh for local host then it is also possible too.
# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): (I kept it EMPTY) Enter same passphrase again: (I kept it EMPTY) Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. # ssh-copy-id -i ~/.ssh/id_rsa.pub localhost # ssh root@localhost
.
Created ‎06-03-2017 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Password less ssh is not mandatory for agent installation. You can also install the ambari agent without setting up the password less ssh.
.
If you want to setup password less ssh for local host then it is also possible too.
# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): (I kept it EMPTY) Enter same passphrase again: (I kept it EMPTY) Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. # ssh-copy-id -i ~/.ssh/id_rsa.pub localhost # ssh root@localhost
.
