# How to set local AOSP Gerrit server - Part 1

DevFeed: [How to set local AOSP Gerrit server - Part 1](<https://devfeed.tech/articles/how-to-set-local-aosp-gerrit-server-part-1-21699.md>)

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

Author: Ramon

Published: 2015-05-22T17:16:56Z

Content type: tutorial

Language: en

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

Topics: [aosp](<https://devfeed.tech/topics/aosp.md>), [servers](<https://devfeed.tech/topics/servers.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Git](<https://devfeed.tech/topics/git.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [ssh](<https://devfeed.tech/topics/ssh.md>), [apt](<https://devfeed.tech/topics/apt.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [apt](<https://devfeed.tech/tags/apt.md>), [gerrit](<https://devfeed.tech/tags/gerrit.md>), [git](<https://devfeed.tech/tags/git.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [repo](<https://devfeed.tech/tags/repo.md>), [repo-mirror](<https://devfeed.tech/tags/repo-mirror.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A tutorial on setting up a local Gerrit server to host Android source code and create a runnable local AOSP mirror. It covers Linux and Ubuntu requirements, package installation with apt-get, Gerrit prerequisites, and downloading Android Repo and Gerrit.

## Source excerpt

In this tutorial I'll explain how to set a local gerrit server that hosts Android source code. After completing the tutorial you'll have a fully runnable local AOSP mirror with local Gerrit server. First thing first. we need a Linux server. if you don't have one available, you can use a pre-installed Ubuntu 15.04 Server I [...]