|
在linuxquestion上发的问题帖,有知道如何解决的吗?
Hi everybody
I want to install cvs server on Solaris 10 X86,the step is this :
1, downloaded cvs tar package from www.cvshome.org the last version is cvs-1.11.23.tar.gz.and upload to the server by ftp, notice that before transit your package,the ftp should in bin mode just type "bin" command .
2,#gunzip cvs-1.11.23.tar.gz
#tar cvf cvs-1.11.23.tar
and
#./configure --prefix=/usr/local/cvs //point the install folder
#make
#make install
a little problem where I type make system report error that can't find the command,because I have changed the shell to bash. I fixed it by modify PATH
#PATH=/usr/sfw/bin:/usr/ccs/binPATH; export PATH
after install, type cvs -version to test .
3,add a user cvsroot and the home is /export/home/cvsroot,and add a group cvs.
and init the cvs folder
# cvs -d /export/home/cvsroot init
and check /export/home/cvsroot there CVSROOT was created.
4,configured the services.my problem is here.
first edit /etc/services
#vi /etc/services
cvspserver 2401/tcp #cvs server tcp port
cvspserver 2401/udp #cvs server udp port
second edit /etc/inetd.conf
#vi /etc/inetd.conf
add
cvspserver stream tcp nowait root /usr/local/cvs/bin/cvs cvs --allow-root=/export/home/cvsroot pserver
attention: the words are in one line . and use inetd to manage cvs
# inetconv -i /etc/inetd.conf
and restart inetd
Restart inetd
#ps -ef |grep inetd
If inetd's proccess id is 1304, then using following command
#kill -1 1304
but the inetd is not restarted . and when I use telnet to check the cvs service it's failed
#telnet localhost 2401
the port is not open.
why ? anyone can help me ? |
|