Install Submin2 and svn under Ubuntu12.10

Source: Internet
Author: User
Submin is a service software that manages code repositories through the web. submin allows you to create code repositories, users, and specified permissions on the web. This frees managers from tedious warehouse management steps and allows them to build a warehouse server and manage the warehouse visually without having to spend time. Installation Steps under Ubuntu12.10: 1. Use apt-get to install the apache2sudoapt-getupdatesudoapt-getinstallapache2 to enable the ap

Submin is a service software that manages code repositories through the web. submin allows you to create code repositories, users, and specified permissions on the web. This frees managers from tedious warehouse management steps and allows them to build a warehouse server and manage the warehouse visually without having to spend time.

Steps for installing Ubuntu 12.10:

1. Use apt-get to install apache2
Sudo apt-get update
Sudo apt-get install apache2
Enable apache2 Module
A2enmod rewrite
A2enmod authn_dbd

2. Install subversion
Sudo apt-get install git-core
Sudo apt-get install subversion libapache2-svn

3. Install submin2
Use apt to install submin2. Add the source and modify/etc/apt/sources. list at the end of the file:
Deb http://debian.supermind.nl/current main
Run
Wget-q-O-http://supermind.nl/debian.key | apt-key add-
Sudo apt-get update
Start to install submin2
Sudo apt-get install submin2
4. Configure submin2
Submin2 initialization, enter the command
Sudo submin2-admin/home/www initenv myname@mymail.com
Press enter by default as prompted to initialize the new repository.
Path/home/www will store the submin configuration,/home/www will generate the svn subdirectory as the repository root to store the projects created in the future.
The Created directory is as follows:
Root @ ubuntu:/home/www # ll
Total usage 36
Drwx ------ 9 www-data 4096 March 22 16:02 ./
Drwxr-xr-x 7 root 4096 March 22 16:02 ../
Drwx ------ 2 www-data 4096 March 22 16:02 auth/
Drwxr-x --- 2 www-data 4096 March 22 16:02 cgi-bin/
Drwxr-x --- 2 www-data 4096 March 22 16:18 conf/
Drwx ------ 2 www-data 4096 March 22 16:02 git/
Drwx ------ 2 www-data 4096 March 22 16:02 hooks/
Drwx ------ 3 www-data 4096 March 22 16:17 svn/
Drwx ------ 2 www-data 4096 March 22 16:02 trac/
Root @ ubuntu:/home/www #

The myname@mymail.com is used to receive the first password verification link and password when submin creates the user, so that the submin2 installation and initialization are completed.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.