Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ CentOS6 installation configuration rsh     - Detailed installation of CentOS 6.x (Linux)

- To control based on IP address routing policy under Linux (Linux)

- Python MySQL database connection (Database)

- iOS developers - a simple factory pattern and OC reflection (Programming)

- C language - Traverse pci device (Programming)

- C # asynchronous delegates (Programming)

- Hadoop upload files error solved (Server)

- Git / Github use notes (Linux)

- Linux operating system set up to effectively prevent ARP attacks (Linux)

- Linux kernel TCP / IP parameters analysis and tuning (Linux)

- Linux System Getting Started Tutorial: How to find the maximum memory your system supports (Linux)

- MySQL concat function is SQL injection (Linux)

- System-level alias vs Oracle ADR functionality (Database)

- Nginx request processing (Server)

- The difference between IPython and Python (Linux)

- Android to determine whether the device to open WIFI, GPRS data connection (Programming)

- osprofiler use OpenStack Cinder Lane (Server)

- Installation under Linux Mint system guidelines for Gtk (Linux)

- Configuring Haproxy log support (syslog logging support) (Server)

- Generic mechanism C11 standard (Programming)

 
         
  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:      
 
- Intel Graphics Installer installation on Ubuntu 15.10 (Linux)
- Linux IO redirection (Linux)
- Oracle ORA-01089 failure analysis (Database)
- Shilpa Nair interview experience sharing RedHat Linux package management (Linux)
- AngularJS achieve picture upload feature (Programming)
- Let Linux boot methods to enter characters interface and set FrameBuffer resolution methods (Linux)
- Java objects to garbage collection (Programming)
- CentOS 5.5 kernel upgrade installation iftop (Linux)
- stat - Get more information than ls (Linux)
- Git uses a basic tutorial (Linux)
- C language to view various types of data size (Programming)
- Linux to achieve a simple cp command (Linux)
- Linux Apache server configure to protect system security (Linux)
- Network Security: SYN attacks against under linux (Linux)
- Upload the project to GitHub, synchronous remote repository Github (Linux)
- Linux dd command applies amplification SWAP partition (Linux)
- Debian 8.1 (amd64) deployed Memcached (Server)
- Several Ceph performance optimization of new methods and ideas (2015 SH Ceph Day after flu reference) (Server)
- VMware virtual machines to install virt-manager unable to connect to libvirt's approach (Linux)
- ORA-01157 & ORA-01110 Troubleshooting (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.