歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux服務器

分享Ubuntu Linux上邊的CVS服務器配置

STEP1:

  Install CVS files:

  sudo apt-get install cvs

  STEP2:

  Install the CVS server:

  sudo apt-get install cvsd

  When prompted in the cvsd installation process for Repository, type in “/cvsrepo”.

  STEP3:

  Now that the cvsd installation in complete goto /var/lib/cvsd

  or seeking for a change(or if there is a new version of cvs updated):

  sudo cvsd-buildroot /var/lib/cvsd

  STEP4:

  If the folder cvsrepo does not exist, then create it ……

  cd /var/lib/cvsd

  sudo mkdir cvsrepo

  sudo chown -R cvsd:cvsd cvsrepo

  STEP5:

  and then initialize the repository

  sudo cvs -d /var/lib/cvsd/cvsrepo init

  STEP6:

  create a user and password

  sudo cvsd-passwd /var/lib/cvsd/cvsrepo [username]

  sudo vi /var/lib/cvsd/cvsrepo/CVSROOT/config

  Change "SystemAuto=no"

  STEP7:

  Test

  cvs -d :pserver:username@localhost:/cvsrepo login

  cvs -d :pserver:username@localhost:/cvsrepo checkout

Copyright © Linux教程網 All Rights Reserved