`
sillycat
  • 浏览: 2488732 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

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:luohua@xxxxxx.com:/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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics