Linux Server Deployment(II)apache and SSH-CVS

Linux Server Deployment(II)apache and SSH-CVS

1. apache configuration - MPM
worker mode
--with-mpm=worker

perfork mode
this is the default mode in unix.

the command on the server:
/usr/local/apache/bin/httpd -k start
/usr/local/apache/bin/httpd -k status
/usr/local/apache/bin/httpd -k restart

2. Using SSH with CVS on redhat server
server side, give the rights to the users
>chgrp -R groupname cvsroot
>chmod -R g+xwr cvsroot

remove the iptables configuration
>vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2401 -j ACCEPT
>/etc/init.d/iptables restart

client side, command line
>export CVSROOT=:ext:[email protected]:/path/cvsroot
>export CVS_RSH=ssh
>cvs checkout path/projectName

client side, eclipse tool
[windows] -----> [Preferences] ----> [Team] -----> [Ext Connection Method]
------>[Use another connection method type to connect]
Connection type: pserverssh2

references:
http://hi.baidu.com/luohuazju/blog/item/7e7fbcf5c05f342abd310963.html
http://httpd.apache.org/docs/2.1/zh-cn/mpm.html
http://www.chinaphper.net/a/basework/apache/apachedewuzhonggongzuomoshi_420_420.html

http://www.mtu.net/~engstrom/ssh-cvs.php
http://www.chedong.com/tech/cvs_card.html
http://zh-tw.w3support.net/index.php?db=so&id=382353

你可能感兴趣的:(apache,linux,ext,ssh,cvs)