# HOW TO SET LOCAL AOSP GERRIT SERVER - PART 2

DevFeed: [HOW TO SET LOCAL AOSP GERRIT SERVER - PART 2](<https://devfeed.tech/articles/how-to-set-local-aosp-gerrit-server-part-2-21700.md>)

Original publisher: [Read original article](<https://nativeguru.wordpress.com/2015/06/29/how-to-set-local-aosp-gerrit-server-part-2/>)

Author: Ramon

Published: 2015-06-29T18:42:37Z

Content type: tutorial

Language: en

Sources: [Ramon Fried](<https://devfeed.tech/sources/ramon-fried.md>)

Topics: [aosp](<https://devfeed.tech/topics/aosp.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Git](<https://devfeed.tech/topics/git.md>), [Java](<https://devfeed.tech/topics/java.md>), [ssh](<https://devfeed.tech/topics/ssh.md>), [bouncy castle](<https://devfeed.tech/topics/bouncy-castle.md>), [SSL](<https://devfeed.tech/topics/ssl.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [bouncy-castle](<https://devfeed.tech/tags/bouncy-castle.md>), [gerrit](<https://devfeed.tech/tags/gerrit.md>), [git](<https://devfeed.tech/tags/git.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [java-8](<https://devfeed.tech/tags/java-8.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [repo-mirror](<https://devfeed.tech/tags/repo-mirror.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

Part 2 of a tutorial on setting up a local AOSP Gerrit server. It covers creating a Gerrit user and MySQL database, configuring Gerrit, installing required Java and cryptographic libraries, and setting up SSH, HTTP, authentication, email delivery, and plugins.

## Source excerpt

Hi. This is part 2 of the "How to set local AOSP Gerrit server", you might want to start with part 1 here. In part 1 we've downloaded all the necessary stuff and in this post we're going to set it all up. First thing, let's bootstrap Gerrit. Let's create a Gerrit user: $ sudo [...]