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
分享到:
相关推荐
Red_Hat_Enterprise_Linux-6-Deployment_Guide-en-US
Design, Deployment and Performance of 4G-LTE Networks
HCIP-Datacom-Campus Network Planning and Deployment V1.0 实验手册 HCIP-Datacom-Campus Network Planning and Deployment V1.0 版本说明 HCIP-Datacom-Campus Network Planning and Deployment V1.0 考试大纲 ...
SUSE Linux Enterprise Server 12 SP5 自动化部署脚本,命令行版,图形化版本自动化脚本 openssl passwd -1 -stdin 生成密码 账号root/1234.com 971行出更改(此处是主机的密码$1$1rqHEpcL$B6DVO/fpXQq9DZe3g4nmH.) ...
Oracle Solaris 9 - Deployment Guide iPlanet Directory Server-198
maven-deployment-linker-1.3-sources.jar
maven-deployment-linker-1.2-sources.jar
maven-deployment-linker-1.1-sources.jar
maven-deployment-linker-1.0-sources.jar
Accelerate-Deployment-of-Space-Missions-Through-Digitalization (10).pdf
Accelerate-Deployment-of-Space-Missions-Through-Digitalization (7).pdf
Accelerate-Deployment-of-Space-Missions-Through-Digitalization (8).pdf
华为HCIP-Datacom-SD-WAN Planning and Deployment V1.0考试大纲培训手册和实验教材
python库,解压后可用。 资源全名:deployment_director-0.1.2-py2.7.egg
资源来自pypi官网。 资源全名:deployment_director-0.1.0-py2.7.egg
资源来自pypi官网。 资源全名:deployment_director-0.1.2-py2.7.egg
Beginning-Django-Web-Application-Development-and-Deployment-with-Python.pdf
资源来自pypi官网。 资源全名:vespr_model_deployment_utils-2.0.1-py3-none-any.whl