Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ CentOS6 installation configuration rsh     - ThinkPad X220 Ubuntu 14.10 installed on fingerprint recognition (Linux)

- Cobbler batch install Ubuntu / CentOS system (Linux)

- DRBD daily management (Server)

- Oracle View index and use indexes Precautions (Database)

- httpd-2.4 feature (Server)

- Understanding and Memcached MongoDB arbitration node, Zookeeper, Redis Recovery Programme Thoughts (Database)

- Under CentOS 7 installation and deployment environment Ceph (Server)

- Composition and dynamic memory allocation C program (Programming)

- Add your own kernel and ramfs based on an existing Linux LiveCD (Linux)

- Under CentOS yum install Nginx smooth switch mounted to Tengine (Server)

- CentOS 5.3 under broadcom NIC dual activation issues (Linux)

- Why I do not like the Go language style interface (ie Structural Typing) (Programming)

- Linux System Getting Started Tutorial: Five image processing software (Linux)

- CentOS achieve trash mechanism (Linux)

- Kubernetes resolve application deployment model (Server)

- Linux SVN installation and configuration graphic tutorials (Server)

- impdp error ORA-39001, ORA-39000, ORA-31619 (Database)

- Linux System Getting Started Learning: compile and install ixgbe driver in Ubuntu or Debian (Linux)

- Memcache explain in detail (Server)

- Linux shell script to adjust the Task Scheduler (Linux)

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

CentOS6 installation configuration rsh

General Information:
a node:
ip: 192.168.8.166
hostname: hadrtest01
two nodes:
ip: 192.168.8.250
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 "

rexec

rsh

rlogin

"> > / etc / securetty


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

[root @ hadrtest01 ~] # cat / etc / hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.8.166 hadrtest01

192.168.8.250 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
reboot:

service xinetd restart

boot:

chkconfig xinetd on

8, a test
node:

[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

     
         
         
         
  More:      
 
- SQL Server 2012 failover looksalive check and is alive check (Database)
- Android Application Development: Genymotion can not start solving (Linux)
- Mybatis + binding Struts2: achieving user to insert and find (Programming)
- Oracle partition table data migration, process management automation (Database)
- IP Security Policy is to learn how to prevent Ping and closed ports (Linux)
- Dialogue UNIX:! $ # @ *% (Linux)
- Use Ansible efficient delivery Docker container (Server)
- Log analysis is done with Grafana Elasticsearch (Server)
- Debian 7.6 install Nvidia graphics driver (Linux)
- New experience Budgie (Budgerigar) desktop environment (Linux)
- Linux file system structure Introduction (Linux)
- NIC configuration parameters under Linux (Linux)
- The best tools and techniques to find data on a Unix system (Linux)
- ORA-27054 NFS problem solving (Database)
- SLF4J Tutorial (Programming)
- CentOS 6 / Linux su: Unable to set user ID: Resource temporarily unavailable (Linux)
- Install Websphere MB required system rpm package under Linux (Linux)
- To delete the directory and all specified files under the Mac (Linux)
- CentOS 6 Install Linux kernel source (Linux)
- 10 Best Swift Tutorial examples (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.