window下cygwin安装实现hadoop的安装

       目录

           1.安装cygwin

           2.安装hadoop

     1.安装cygwin

      详细的安装过程

      转自 http://blog.csdn.net/liu_jason/article/details/7705484

    其中配置ssh时遇到的问题:

    ssh-host-config

   第一种方式:

  

   第二种方式:

 

Administrator@4CGWQAOXFXYFMC0 /etc $ ssh-host-config -y

*** Info: Generating /etc/ssh_host_key

*** Info: Generating /etc/ssh_host_rsa_key

*** Info: Generating /etc/ssh_host_dsa_key

*** Info: Generating /etc/ssh_host_ecdsa_key

*** Info: Creating default /etc/ssh_config file

*** Info: Creating default /etc/sshd_config file

*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.

*** Info: However, this requires a non-privileged account called 'sshd'.

*** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep.

*** Query: Should privilege separation be used? (yes/no) yes

*** Info: Updating /etc/sshd_config file

*** Query: Do you want to install sshd as a service?

*** Query: (Say "no" if it is already installed as a service) (yes/no) yes

*** Query: Enter the value of CYGWIN for the daemon: []  

*** Info: On Windows Server 2003, Windows Vista, and above, the

*** Info: SYSTEM account cannot setuid to other users -- a capability

*** Info: sshd requires.  You need to have or to create a privileged

*** Info: account.  This script will help you do so.

*** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,

*** Info: or later.  On these systems, it's not possible to use the LocalSystem

*** Info: account for services that can change the user id without an

*** Info: explicit password (such as passwordless logins [e.g. public key

*** Info: authentication] via sshd).

*** Info: If you want to enable that functionality, it's required to create

*** Info: a new account with special privileges (unless a similar account

*** Info: already exists). This account is then used to run these special

*** Info: servers.

*** Info: Note that creating a new user requires that the current account

*** Info: have Administrator privileges itself.

*** Info: The following privileged accounts were found: 'cyg_server' .

*** Info: This script plans to use 'cyg_server'.

*** Info: 'cyg_server' will only be used by registered services.

*** Query: Please enter the password for user 'cyg_server':

*** Query: Reenter:

*** Info: The sshd service has been installed under the 'cyg_server'

*** Info: account.  To start the service now, call `net start sshd' or

*** Info: `cygrunsrv -S sshd'.  Otherwise, it will start automatically

*** Info: after the next reboot.

*** Info: Host configuration finished. Have fun!

遇到的问题:

  1.  cygwin connection closed by ::1

           解决方法: http://blog.csdn.net/w19861201/article/details/8057953 

      2.  Cygwin: 0 [main] bash XXX child_info_fork::abort: loaded to different addresses:parent(435) != child(234)) 

            解决方法: http://echoaike.blog.163.com/blog/static/21264008620134144502373/

     3.  cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:

           解决办法: http://www.cnblogs.com/dyllove98/archive/2013/07/19/3201064.html

     4.  cygrunsrv: Error stopping a service: OpenService: Win32 error 1060 

            解决办法:  http://huanglihuang521.blog.163.com/blog/static/98573170201051852530603/

     5.  SSH error ( Read from socket failed: Connection reset by peer ) and it's solution

         解决办法:  http://www.cnblogs.com/no7dw/archive/2012/07/05/2577183.html

                 

转载于:https://www.cnblogs.com/bingofworld/p/3468420.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值