跳到主要內容

發表文章

目前顯示的是 6月, 2011的文章

csv server installation

因為 programming in cloud computing 的 project,需要將 william 所寫的 source code 分享給大家,與 william 討論之後,決定在 register 機器上架設 cvs server,因為是 FreeBSD OS, 參考了[1][2]的作法安裝了 cvs server,過程紀錄如下: 1. 將 cvs server 採用 inetd 的方式來安裝:    $ sysinstall -> select "inetd" item, then edit the following    cvspserver stream tcp nowait cvs /usr/bin/cvs -f --allow-root=/home/cvs pserver    it is in /etc/inetd.conf file. 2. add a cvs user in system:   $ adduser cvs, group is cvs 3. edit /etc/group, add the others users in cvs group 4. Init the CVSROOT directory in /home/cvs:     $ su - l cvs      $ cvs -d /home/cvs init 5. run pwdgen.pl program to create password file:     $ pwdgen.pl "plan text password for you want"     it will create a rand number for editing password. 6. Create and/or edit the file  /home/cvs/CVSROOT/passwd :     $ su -l cvs   $ cd /home/cvs/CVSROOT   $ vim passwd    The file will look something like this:    joe:ZrLzRsjAPL7iQ:cvs   hadooper:Rf0DZb