Ubuntu 10.04 subversion 配置指南

时间:2013-1-12     作者:smarteng     分类: 服务器相关


   1.修改更新源

  $ sudo cat /etc/apt/sources.list

  "

deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

  "

  

  $ sudo apt-get update

  $ sudo apt-get upgrade

  

  2.安装subversion

  $ sudo apt-get install subversion subversion-tools

  

  3.安装submin

  下面一行加入 /etc/apt/sources.list

  debhttp://debian.supermind.nl/current main

  $ sudo apt-get update

  $ sudo apt-get install submin

  $ sudo apt-get install libapache2-mod-wsgi

  $ sudo submin-admin create default -r /home/submin

  下面一行加入文件 /etc/apache2/apache2.conf 最后

  Include /etc/submin/default-apache-wsgi.conf

  

  4.Run submin from web

  http://[ip]/submin