unresolved_external
unresolved_external

Reputation: 2018

How to install Gerrit on ubuntu 11.04?

Can someone post some simple tutorial how to install and configure git with gerrit on Ubuntu 11.04 via command line. I found this tutorial: http://gerrit.googlecode.com/svn/documentation/2.0/install.html

But I can figure out how do I have to setup a DB. Do I have to create a seperate user for each who will commit to the repository?

If you have some useful links or advises or even want to post tutorial( I hope you do :) ) please share it with me.

Now I initialized gerrit, but only message what I got afterwards was:

Initialized /home/administrator

And no *.sh file was created. What am I doing wrong?

Ok, if someone is reading this link, I want to update with status. I managed to install and run Gerrit on Ubuntu ( on http ), but from time to time I got internal server error when I navigate throught web UI. How can I fix this issue?

Upvotes: 2

Views: 3235

Answers (2)

Non-official package from gerritforge, a Gerrit service company:

echo 'deb mirror://mirrorlist.gerritforge.com/deb gerrit contrib' | sudo tee /etc/apt/sources.list.d/gerritforge.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1871F775
sudo apt-get update
sudo /etc/init.d/gerrit start
firefox http://localhost:8080

Currently running Gerrit 2.12.

You can create and switch to infinitely many accounts, including admin, without password, from the top left corner Become link.

Tested on Ubuntu 15.10.

Upvotes: 0

Rafał Rawicki
Rafał Rawicki

Reputation: 22690

During database set up you create a user for Gerrit connection with database. This is completely different thing, than user accounts.

You create only one such user (as this is presented in install instruction) and it's used to authenticate connection with database.

Later, you create user administrator account. Next user accounts can be created using a web browser.

Upvotes: 1

Related Questions