How to set up a Mercurial repo like BitBucket on a Linux machine?

I've been using for a while BitBucket as a repo. Now I'd like to set up my own repository and I'd like it to have similar functionalities (in particular I'd like to push, have some kind of web interface, etc...).

How would you do this? Are there any easy solutions?


Solution 1:

Maybe you'd like to give RhodeCode http://rhodecode.org/ a try.

Solution 2:

SCM-Manager:

The easiest way to share and manage your Git, Mercurial and Subversion repositories over http.

  • Very easy installation
  • No need to hack configuration files, SCM-Manager is completely configureable from its Web-Interface
  • No Apache and no database installation is required
  • Central user, group and permission management
  • Out of the box support for Git, Mercurial and Subversion
  • Full RESTFul Web Service API (JSON and XML)
  • Rich User Interface
  • Simple Plugin API
  • Useful plugins available ( f.e. Ldap-, ActiveDirectory-, PAM-Authentication)