Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ CentOS6 installation configuration rsh     - ElasticSearch - Basic Concepts (Server)

- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)

- To install Samba server on CentOS 6.6 (Server)

- Java study notes: String (Programming)

- Thinking in Java study notes - Generics (Programming)

- C language sorting instance (select, bubble, insert, binary, fast) (Programming)

- Elaborate .NET Multithreading: Using Task (Programming)

- How do you temporarily emptied Bash environment variable before running the command on Linux (Linux)

- How screenshots from the Linux command line (Linux)

- How Vim playing a mature IDE (Linux)

- Linux operating system security management skills notes (Linux)

- Java, hashcode, equals and == (Programming)

- How to use the character in C ++ without pressing the Enter key to enter the Show (Programming)

- The simple multi-threaded Python (Programming)

- Linux System Getting Started Learning: In RedHat Linux driver compiled Ixgbe (Linux)

- Create, modify, delete users, user groups under linux (Linux)

- Install the latest ATI / Nvidia graphics driver on Ubuntu (Linux)

- CentOS NAT iptables (Linux)

- How to use the Linux kill command to kill the process / program is not responding (Linux)

- Ubuntu Apache2 setting, problem solving css, pictures, etc. can not be displayed (Server)

  CentOS6 installation configuration rsh
  Add Date : 2018-11-21      

CentOS6 installation configuration rsh

General Information:
a node:
hostname: hadrtest01
two nodes:
hostname: hadrtest02

1, two nodes were installed rsh, whether rsh-server package is already installed

yum -y install rsh rsh-server

2, modify /etc/xinetd.d/rlogin ensure disable = no line

# default: on
# description: rlogind is the server for the rlogin (1) program The server
# provides a remote login facility with authentication based on
# privileged. . port numbers from trusted hosts
service login
  socket_type = stream
  wait = no
  user = root
  log_on_success + = USERID
  log_on_failure + = USERID
  server = /usr/sbin/in.rlogind
  disable = no

The same two nodes modify

3, modify /etc/xinetd.d/rsh ensure disable = no line

[root @ hadrtest01 ~] # cat /etc/xinetd.d/rsh
# default: on
# description: The rshd server is the server for the rcmd (3) routine and,
# consequently, for the rsh (1) program. The server provides
# remote execution facilities with authentication based on
# privileged port numbers from trusted hosts.
service shell
  socket_type = stream
  wait = no
  user = root
  log_on_success + = USERID
  log_on_failure + = USERID
  server = /usr/sbin/in.rshd
  disable = no

The same two nodes modify

4, edit / etc / securetty, add rexec, rsh, rlogin three lines

echo "




"> > / etc / securetty

5, edit the / etc / hosts, add two nodes ip, host name

[root @ hadrtest01 ~] # cat / etc / hosts localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6 hadrtest01 hadrtest02

two nodes also modify

6, modify ~ / .rhosts, add a node, two nodes host name, ip

[root @ hadrtest01 ~] # cat ~ / .rhosts

hadrtest01 root

hadrtest02 root

[root @ hadrtest02 ~] # cat ~ / .rhosts

hadrtest01 root

hadrtest02 root

7, respectively, to start the service two nodes

service xinetd restart


chkconfig xinetd on

8, a test

[root @ hadrtest01 ~] # rsh hadrtest02

Last login: Tue Feb 16 17:44:56 from hadrtest01

[root @ hadrtest02 ~] #

do not enter a password to log on two nodes indicates the installation was successful

two nodes:

[root @ hadrtest02 ~] # rsh hadrtest01

Last login: Tue Feb 16 17:39:35 from hadrtest02

[root @ hadrtest01 ~] #

without entering a password to log node represents a successful installation

- Oracle Data File Management (Database)
- Python Flask environment to build (Linux)
- Java reflection by calling the class method (Programming)
- How to install Visual Studio Code on Ubuntu (Linux)
- Hadoop 2.7.1 installation configuration based on availability QJM (Server)
- To teach you a trick to find the real IP address (Linux)
- CentOS 7 Docker build private warehouse registry (Linux)
- Network Security Basics Linux command (Linux)
- Redhat Close SELinux correct step (Linux)
- MySQL 5.6 use GTIDs build the master database (Database)
- Linux argument references and command substitution (Linux)
- CentOS 6.5 boot automatically mount the hard drive (Linux)
- Teach you the Ubuntu Server enabled SSH multifactor authentication (Server)
- Iscsi package is installed on RHEL 6.3 x86-64 systems (Linux)
- Object Oriented Programming Java reflection (Programming)
- Linux cut Command Study Notes (Linux)
- RHEL 5.7 Yum configure local source [Errno 2] No such file or directory (Linux)
- Parse Server supports iOS and Android push messaging (Programming)
- Linux automatically install service components and optimize the kernel parameters (Linux)
- Comparison of Nginx and Nginx + (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.