2020-03-31 17:28:30 +02:00
# Getting started
2020-03-09 08:01:43 +01:00
### Install Java
SCM-Manager needs an installed Java 1.7 or newer. It is recommended to
2020-03-31 17:28:30 +02:00
use the [oracle jre ](http://java.oracle.com/ ). How to check
2020-03-09 08:01:43 +01:00
which version of Java is installed:
2020-03-31 17:28:30 +02:00
```bash
java -version
```
2020-03-09 08:01:43 +01:00
### Install the latest version of Java
2020-03-31 17:28:30 +02:00
Download java from [here ](http://java.oracle.com/ ) and follow
2020-03-09 08:01:43 +01:00
the install instructions.
### Install SCM-Manager
Download the latest version of SCM-Manager from
2020-03-31 17:28:30 +02:00
[here ](http://www.scm-manager.org/download/ ), unpack the .zip
2020-03-09 08:01:43 +01:00
or .tar.gz package and start SCM-Manager with
2020-03-31 17:28:30 +02:00
```bash
scm-server/bin/scm-server
```
2020-03-09 08:01:43 +01:00
### First access
2020-03-31 17:28:30 +02:00
| | |
| ------------ | ----------------------- |
| **URL ** | <http://localhost:8080> |
| **Username ** | scmadmin |
| **Password ** | scmadmin |
2020-03-09 08:01:43 +01:00
### Mercurial
Subversion and Git will work out of the box, but if you want to use
mercurial with SCM-Manager you have to install mercurial version
2020-03-31 17:28:30 +02:00
**1.9** or newer.
2020-03-09 08:01:43 +01:00
#### Mercurial on Windows
The installation of mercurial for SCM-Manager is very complicated on
windows, have a look at:
2020-03-31 17:28:30 +02:00
- [#1 ](https://bitbucket.org/sdorra/scm-manager/issues/1/no-ability-to-rename-repository )
- [xeFcruG70s8J ](https://groups.google.com/d/msg/scmmanager/zOigMIn2RiE/xeFcruG70s8J "Python/Hg Package Build Process" )
- [build-win-hg-packages ](https://bitbucket.org/sdorra/build-win-hg-packages )
2020-03-09 08:01:43 +01:00
SCM-Manager comes with the option to install packages for windows to
simplify this setup. To use such a package just login as Administrator,
goto \"Repository Types\", click the \"Start Configuration Wizard\" and
Choose \"Download and install\".
If you see an error like the following:
2020-03-31 17:28:30 +02:00
```text
sonia.scm.repository.RepositoryException: command exit with error 14001 and message: 'The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.'
```
Then you have to install [Microsoft Visual C++ 2008 SP1 Redistributable Package
(x86)](http://www.microsoft.com/en-us/download/details.aspx?id=5582).
2020-03-09 08:01:43 +01:00
Note you have to use the x86 package and not the x64 package, because we
use 32bit python in SCM-Manager on Windows. For more informations have a
look at
2020-03-31 17:28:30 +02:00
[#522 ](https://bitbucket.org/sdorra/scm-manager/issue/552/hg-repo-creation-failed ).