ãããVPSã«Subversionã¨Tracãã¤ã³ã¹ãã¼ã«ã
èªå®
ãµã¼ãã§ã¯ããã¯ã¢ããã¯ããªãé©å½ãªæãã ã£ãã®ã§ãããããæ¸ãæºãã¦ããã½ã¼ã¹ã®ç®¡çã¯ãããã®VPSã«ç§»ãããæé¡980åã®å¹´é1ä¸ã¡ãã£ã¨ã§å®å¿ãè²·ããã®ã¯ã¨ã¦ãå®ãã¨æã£ããã¡ã¢ãªã512Mã®ãã©ã³ãªã®ã§ä»ã«ã¯ãã¼ã ãµã¼ãã¨ãã移ãããããã
以ä¸ã¯ã³ãã³ãã®çºè¡æé ãèªå®
ãµã¼ãããæ軽ã«ãã§ãã¯ã¢ã¦ããããã¨ãããããªå ´åã¯ç§å¯éµãã»ãã»ããã¦.bashrcã«ãexport SVN_SSH ...ããè¨è¿°ãã¦ã¿ãããªæãã®ä½æ¥ããã£ããåå¿é²ã
gitã使ããããã«ãªããªãã¨ãããªããªãããã©ããã
tracã®ã¤ã³ã¹ãã¼ã«æ¹æ³ useradd taro groupadd svn ##wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4.egg ##sh setuptools-0.6c11-py2.4.egg yum -y install httpd-devel yum -y install mod_python yum -y install python-setuptools easy_install --always-unzip Genshi yum -y install mod_dav_svn wget http://www.i-act.co.jp/project/products/downloads/Trac-0.11.7.ja1.zip unzip Trac-0.11.7.ja1.zip cd Trac-0.11.7.ja1 python ./setup.py install mkdir /home/svn svnadmin create /home/svn/repos chown -R root.svn /home/svn chmod -R 775 /home/svn svnã°ã«ã¼ãã«åå ããã usermod -G taro,svn taro usermod -G apache,svn apache su - taro cd ~ mkdir tmp echo "TEST" > tmp/test.html svn import tmp file:///home/svn/repos -m "import" exit cd /etc/httpd/conf.d mv proxy_ajp.conf proxy_ajp.conf.org mv python.conf python.conf.org mv subversion.conf subversion.conf.org mv welcome.conf welcome.conf.org htpasswd -c /var/www/.htpasswd taro emacs /etc/httpd/conf.d/trac.conf ################################################### LoadModule python_module modules/mod_python.so <Location /trac> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /home/trac SetEnv PYTHON_EGG_CACHE /home/trac/.egg-cache </Location> <LocationMatch "/[[:alnum:]]+/login"> AuthType Basic AuthName "trac" AuthUserFile /var/www/.htpasswd Require valid-user </LocationMatch> ################################################### mkdir /home/trac chown -R apache.apache /home/trac su -s /bin/bash - apache cd /home/trac trac-admin /home/trac/test initenv >>Project Name [My Project]> TEST >>Repository type [svn]> >>Path to repository [/path/to/repos]> /home/svn/repos ãã©ã¦ã¶ãã http://yourdoman/trac ãç¢ºèª <管çç»é¢ãè¦ããããã«ãã> cd /home/trac/test trac-admin ./ permission add anonymous TRAC_ADMIN logo_bannerã /home/trac/test/htdocs以ä¸ã«ã³ãã exit