2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								description: >-
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  This installation doc will help you start a OpenMetadata standalone instance
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  on your local machine.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 20:59:34 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Run OpenMetadata
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Run Docker
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 11:39:56 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Docker ](https://docs.docker.com/get-started/overview/ ) is an open platform for developing, shipping, and running applications that enables you to separate your applications from your infrastructure so you can deliver software quickly using OS-level virtualization to deliver software in packages called containers.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% hint style="info" %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Prerequisites**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-15 03:51:13 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  Docker >= 20.10.x
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  Minimum allocated memory to Docker >= 4GB  (Preferences -> Advanced -> Resources)
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 11:39:56 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{% endhint %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 02:27:42 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								git clone https://github.com/open-metadata/OpenMetadata
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd OpenMetadata/docker/metadata
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 11:39:56 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								docker-compose up
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-16 17:54:02 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Next Steps
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								1.  Docker for OpenMetadata will depend on Mysql Container to be up, It may take few seconds to run.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								2.  Once OpenMetadata UI is accessible, Go to Scheduler UI -[ http://localhost:7777 ](http://localhost:7777 ), to invoke the pipelines to ingest data. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-15 03:51:13 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-16 17:54:02 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-15 03:51:13 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-16 17:54:02 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 21:16:52 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								The above command brings up all the necessary services
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 11:24:31 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								1.  MySQL
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								2.  ElasticSearch
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								3.  OpenMetadata Sever
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								4.  Ingestion with SimpleScheduler
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								To access the OpenMetadata
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Open [http://localhost:8585 ](http://localhost:8585 ) in your browser
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Scheduler UI available at [http://localhost:7777 ](http://localhost:7777 )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 20:59:34 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								## Run Manually
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% hint style="success" %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								This is a quick start guide that will show you how to quickly start a standalone server.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endhint %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 20:59:34 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Build from source or download the distribution
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Prerequisites**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% hint style="info" %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								1.  Java 11 or above
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								2.  MySQL 8 or above
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endhint %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% tabs %}
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 11:39:56 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{% tab title="Download the release" %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Download the latest binary release from [OpenMetadata ](https://open-metadata.org/download/ ), Once you have the tar file,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# untar it
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								tar -zxvf openmetadata-0.3.0.tar.gz
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# navigate to directory containing the launcher scripts
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd openmetadata-0.3.0
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endtab %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{% tab title="Build from source " %}
							 
						 
					
						
							
								
									
										
										
										
											2021-08-05 19:56:33 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Follow these steps to checkout code from [Github ](https://github.com/open-metadata/OpenMetadata ) and build OpenMetadata locally
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% hint style="info" %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Prerequisites**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Install [Apache Maven ](https://maven.apache.org/install.html ) 3.6 or higher
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endhint %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# checkout OpenMetadata
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-05 19:56:33 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								git clone https://github.com/open-metadata/OpenMetadata
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd OpenMetadata
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# build OpenMetadata
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								mvn install package -DskipTests
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# navigate to directory containing the setup scripts
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd dist/target/
							 
						 
					
						
							
								
									
										
										
										
											2021-08-16 07:50:42 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								tar -zxvf openmetadata-0.3.0-SNAPSHOT.tar.gz
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd openmetadata-0.3.0-SNAPSHOT
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endtab %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{% endtabs %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 20:59:34 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Install on your local machine
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-12 20:59:34 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#### macOS
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 14:27:44 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								1.  Setup Database
							 
						 
					
						
							
								
									
										
										
										
											2021-10-15 03:51:13 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   *    Install MySQL
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        brew install mysql
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   *    Configure MySQL
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       mysqladmin -u root password 'yourpassword'
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       mysql -u root -p
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   *    Setup Database
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       mysql -u root -p
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       CREATE DATABASE openmetadata_db;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       CREATE USER 'openmetadata_user'@'localhost' IDENTIFIED BY 'openmetadata_password';
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       GRANT ALL PRIVILEGES ON openmetadata_db.* TO 'openmetadata_user'@'localhost' WITH GRANT OPTION;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       commit;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								2.   Run bootstrap scripts to initialize the database and tables
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       cd openmetadata-0.4.0
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ./bootstrap/bootstrap_storage.sh migrate
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								3.   Start the OpenMetadata Server
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    ```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       cd openmetadata-0.4.0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       ./bin/openmetadata.sh start
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    ```
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 11:24:31 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 20:03:36 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Ingest Sample Data
 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 11:24:31 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-07 17:38:05 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Previous steps start OpenMetadata server. To start using it we need to run ElasticSearch and ingest sample metadata. Please follow the below guide:
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 11:24:31 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 20:03:36 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[Ingest Sample Data ](metadata-ingestion/ingest-sample-data.md )