Linux Server Deployment(II)apache and SSH-CVS

LinuxServerDeployment(II)apacheandSSH-CVS

1.apacheconfiguration-MPM

workermode

--with-mpm=worker

perforkmode

thisisthedefaultmodeinunix.

thecommandontheserver:

/usr/local/apache/bin/httpd-kstart

/usr/local/apache/bin/httpd-kstatus

/usr/local/apache/bin/httpd-krestart

2.UsingSSHwithCVSonredhatserver

serverside,givetherightstotheusers

>chgrp-Rgroupnamecvsroot

>chmod-Rg+xwrcvsroot

removetheiptablesconfiguration

>vi/etc/sysconfig/iptables

-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport2401-jACCEPT

>/etc/init.d/iptablesrestart

clientside,commandline

>exportCVSROOT=:ext:luohua@xxxxxx.com:/path/cvsroot

>exportCVS_RSH=ssh

>cvscheckoutpath/projectName

clientside,eclipsetool

[windows]----->[Preferences]---->[Team]----->[ExtConnectionMethod]

------>[Useanotherconnectionmethodtypetoconnect]

Connectiontype: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

相关推荐