Install Cygwin
• Download Cygwin from http://www.cygwin.com/
• Create c:\cygwin
• locate the setup.exe to c:\cygwin
• execute setup.exe
• Choose A Download Source → Install from Internet
• Select Root Install Directory → c:\cygwin
  Install For → All Users
  Default Text File Type → Unix / binary
• Select Local Package Directory → Local Package Directory: c:\cygwin
• Select Your Internet Connection → Direct Connection
• Choose A Download Site → ftp://ftp.nctu.edu.tw or ftp://ftp.ntu.edu.tw/
Necessary packages:
 • Admin → cygrunsrv
 • Net → openssh
 • Web → squid 
Setup sshd service
 ssh-host-config
  Should privilege separation be used? (yes/no) no
  Do you want to install sshd as service? (yes/no) yes
  CYGWIN= (directly press "Enter key" to accept default value "ntsec")
 cygrunsrv --start sshd //start sshd service
 
沒有留言:
張貼留言