You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yo...@apache.org on 2016/09/28 20:32:41 UTC
[3/9] incubator-hawq-docs git commit: passwdless ssh - restart cmd
change, remove some props
passwdless ssh - restart cmd change, remove some props
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/dd25c6fe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/dd25c6fe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/dd25c6fe
Branch: refs/heads/develop
Commit: dd25c6fe223ddc0baca9b55ad43dcc9b3820140e
Parents: 831a83e
Author: Lisa Owen <lo...@pivotal.io>
Authored: Tue Sep 27 08:35:02 2016 -0700
Committer: Lisa Owen <lo...@pivotal.io>
Committed: Tue Sep 27 08:35:02 2016 -0700
----------------------------------------------------------------------
requirements/system-requirements.html.md.erb | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/dd25c6fe/requirements/system-requirements.html.md.erb
----------------------------------------------------------------------
diff --git a/requirements/system-requirements.html.md.erb b/requirements/system-requirements.html.md.erb
index 3f47092..835d974 100644
--- a/requirements/system-requirements.html.md.erb
+++ b/requirements/system-requirements.html.md.erb
@@ -178,43 +178,40 @@ If this system uses the default HAWQ resource manager, you would set `hawq_rm_me
HAWQ hosts will be configured to use passwordless SSH for intra-cluster communications during the installation process. Temporary password-based authentication must be enabled on each HAWQ host in preparation for this configuration.
1. Install the SSH server if not already configured on the HAWQ system:
-
+
``` shell
$ yum list installed | grep openssh-server
$ yum -y install openssh-server
```
-
+
2. Update the host's SSH configuration to allow password-based authentication. Edit the SSH config file and change the `PasswordAuthentication` configuration value from `no` to `yes`:
-
+
``` shell
$ sudo vi /etc/ssh/sshd_config
```
-
+
```
PasswordAuthentication yes
```
3. Restart SSH:
-
+
``` shell
- $ sudo /etc/init.d/sshd restart
+ $ sudo service sshd restart
```
*After installation is complete*, you may choose to turn off the temporary password-based authentication configured in the previous steps:
-1. Open the SSH `/etc/ssh/sshd_config` file in a text editor and update/uncomment the following configuration options.
+1. Open the SSH `/etc/ssh/sshd_config` file in a text editor and update the configuration option you enabled in step 2 above:
```
- RSAAuthentication yes
PasswordAuthentication no
- PubkeyAuthentication yes
- AuthorizedKeyFile .ssh/authorized_keys
```
2. Restart SSH:
``` shell
- $ sudo /etc/init.d/sshd restart
+ $ sudo service sshd restart
```
�