Rexec server for JIAJIA
来源:互联网 发布:rbq网络用语什么意思 编辑:程序博客网 时间:2024/06/03 10:42
0 Reference
http://www.cxybl.com/html/linux/Ubuntu/201111128490.html
http://zyc1006.iteye.com/blog/1252310
http://www.mkssoftware.com/docs/man1/rexecd.1.asp
http://rich.phekda.org/richdawe/lsck/doc/lsck.htm#rexec
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Frexec.htm
http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-pam-rexec.html
1 Acknowledge
Host 0 master node (xzl-test-first-vm 192.168.3.159 root 123456 )
Host 1 slave node (xzl-test-second-vm 192.168.3.160 root 123456)
On Host 1(slave node)
sudo apt-get install rsh-server sudo apt-get install xinetd sudo apt-get install chkconfig
sudo vim /etc/hosts
192.168.3.159 xzl-test-first-vm
sudo vim /etc/hosts.equiv
xzl-test-first-vm root
xzl-test-first-vm xzl
Allow the root@xzl-test-first-vm andxzl@xzl-test-first-vm to cmmand access to your system.
sudo vim /root/.rhosts
xzl-test-first-vm root
sudo vim /home/xzl/.rhosts
xzl-test-first-vm xzl
sudo vim /etc/securetty
rshrloginrexec
vim /etc/xinetd.d/rsh # Create it if it is not exist
# default: on# descrīption: 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{ disable = no socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rshd}
vim /etc/xinetd.d/rlogin
# default: on# descrīption: 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{ disable = no socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rlogind}
vim /etc/xinetd.d/rexec
# default: on# descrīption: Rexecd is the server for the rexec(3) routine. The server \# provides remote execution facilities with authentication based \# on user names and passwords.service exec{ disable = no socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rexecd}/etc/init.d/xinetd restart
On Host 0 (master node)
sudo apt-get install rsh-client
cd JIA/lib/linux sudo make
cd JIA/apps/pi/linuxsudo makecd ../
sudo vim /etc/hosts192.168.3.160 xzl-test-second-vm
vim .jiahostsxzl-test-first-vm root 123456xzl-test-second-vm root 123456
root@xzl-test-first-vm:/home/xzl/Nahanni+/JIA/apps/pi# ./pi.linux ***JIAJIA---Software DSM****** Cachepages = 1024 Pagesize=8192***DEBUG:get into jia_init*********Total of 2 hosts found!****************Start to copy system files to slaves!******Copy files to root@xzl-test-second-vm.root@xzl-test-second-vm's password: .jiahosts 100% 63 0.1KB/s 00:00 root@xzl-test-second-vm's password: pi.linux 100% 79KB 78.9KB/s 00:01 Remote copy succeed!******Start to create processes on slaves!******Starting CMD ~root/./pi.linux -P28304 on host xzl-test-second-vmDEBUG:hosts[1].user=root hosts[1].passwd=123456Poll host 1: stream 3----ok? Host 1 arrives!End of InitializationMap 0x2000 bytes in home 0! globaladdr = 0x0
- Rexec server for JIAJIA
- Start up JIAJIA
- Bug in JIAJIA
- Compatible problem in JIAJIA
- rsh, rexec教程
- Enable rsh/rlogin/rexec in Linux
- MD5 FOR SQL SERVER
- Flash For Server[FFS]
- For WeiWei Server Code
- msn for window server
- TLS for SIP Server
- Socket for server(ServerSocket)
- GUI For Ubuntu Server
- ActiveMQ Server for Debian
- SQL Server FOR XML
- ArcGIS Server for Java
- Common sense for server
- mysql server for linux
- YM bzoj2634
- 目前流行的几种python服务器和框架的简介
- C++ std::pair
- windows 下使用navicat连接linux下面的mysql数据库出错解决方法
- 优酷视频真实地址解析
- Rexec server for JIAJIA
- Sprite Kit学习笔记(五)模拟物理世界
- fcntl设置FD_CLOEXEC
- 删除SVN文件 Delete SVN Folders.reg
- 关于ios5上的浏览器无法上传图片的问题
- LeetCode-Remove Nth Node From End of List
- CentOs yum搭建lamp环境
- 土豆视频真实地址解析
- 数据结构之树--树的相关概念