cygwin에서 cvs server 설치는 어떻게 하나요?

오류 메시지

There was an error processing your request.
lotus의 이미지

win2000 + cygwin 에서 작업합니다.

cvs는 cygwin setup을 이용해서 바로 깔았는데요.

cvs server로 cygwin에 있는 cvs를 이용하고 싶습니다.
대충 설정한 후에..

------------------------------------------------------------------------------
cvs -d :pserver:user@xxx.xx.xxx.xxx:/CVSROOT login

요렇게 하면..

Logging in to :pserver:user@xxx.xx.xxx.xxx:/CVSROOT

CVS password: xxxxxxx

cvs [login aborted]: connect to xxx.xx.xxx.xxx(xxx.xx.xxx.xxx):2401 failed: Connection refused

-------------------------------------------------------------------------------------

아마도 win2000의 port가 않열려 있어서 그런 걸 로 보이는데요..
혹시 설치 해보신 분이 있나요.
아니면 설치 문서 위치라도 좀 알려 주세요..

honestee의 이미지

inetd(xinetd)를 설치하셔서 cvs port로 접근하는 것들에 대해 cvs command를 사용할 수 있게 하면 됩니다....

http://doc.kldp.org/KoreanDoc/html/CVS_Tutorial-KLDP/x70.html#AEN98

inetd를 설치하는게 그러면 tcpserver 같은 프로그램을 이용하는 것도 좋을것같습니다...

tcpserver 주소 port /usr/bin/cvs --allow-root=/home/cvs pserver

idlock의 이미지

어떤 방식으로 하시는지는 모르겠지만.. -.-;;;

cygwin 환경 하에서 하나씩 단계를 밟아 보겠습니다.

1. cygwin에 있는 cvs로 다른 cvs server에 접근이 된다.
NO: cygwin을 다시 깐다.

2. inetd 또는 xinetd를 띄웠다.
NO : http://www.cygwin.com/ml/cygwin/2003-08/msg00440.html 참고

3. xinetd 에서 telnet설정하고 되게 한다음 테스트 해본다.
NO : hosts.allow, hosts.deny 파일을 확인해본다.

4. xinetd에 cvsd 부분을 설정한다.
NO : http://doc.kldp.org/KoreanDoc//html/CVS_Tutorial-KLDP/x70.html#AEN98

5. Root를 초기화한다.
NO : KLDP에서 CVS 부분 참고
6. 내부에서 붙어본다.
NO : KLDP에서 CVS 부분 참고
7. 외부에서 붙어본다.
NO : KLDP에서 CVS 부분 참고

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

회사에서 삽질한다고

Windows 2000 + Cygwin + SSH + CVS + dailyMake 해본지 얼마 않되서 적어 봤습니다. -.-.. dailyMake는 환경변수와 path 구분자 등의 문제로 어쩔수 없시 WHS로 했습니다. 혹다 이부분에 다른 해결책 있으신 분이나, 참고 사항 있으시면 정보 공유 부탁드립니다.

lotus의 이미지

친절한 답변 고맙습니다.
결국은 inetd 로 설정해서 성공하였습니다.

----------------------------여담--------------------------
그런데 저의 경우에는

net start xinetd가 실행이 않되네요..

$ cygrunsrv.exe -S xinetd
cygrunsrv: Error starting a service: OpenService: Win32 error 1060:
지정된 서비스가 설치된 서비스로는 없습니다.

이런 메시지가 계속 나옵니다.

win2000의 시스템 환경변수에 /cygwin/usr/sbin을 추가해도 않되고...

내 시스템이 이상한가..

전에는 되었거든요.. 갑자기 서비스를 시작할 수가 없다고 하네요...

idlock의 이미지

cygwin에서는 xinetd는 서비스로 등록이 않됩니다.

initd를 서비스로 등록하신후에 /etc/rc.d/init.d/에서 xinetd를 구동하시는 방법을 쓰셔야하나다고 하네요

Quote:

1. Do a clean install (or REINSTALL) of inetutils, xinetd, sysvinit,
chkconfig, and initscripts

Note: inetd will NOT be running as a service, but the xinetd does need
inetutils installed.
Beyond simply putting the pieces on your harddisk via setup.exe,
DO NOT
follow any of the instructions regarding *inetd*.

2. Make sure your CYGWIN enviroment variable is set:

CYGWIN='binmode tty ntsec'

3. run /bin/iu-config to set up the /etc folder.

4. run /usr/bin/init-config, NOT overwriting any config files, just
install init as a service

5. cd /etc/rc.d/init.d then /usr/sbin/chkconfig --add xinetd

6. net stop init then net start init

7. telnet localhost

제가 올려드린 url중에 일부를 발췌했습니다. [/code]

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.