3.8 KiB
description |
---|
This installation doc will help you start a OpenMetadata standalone instance on your local machine. |
Run OpenMetadata
Run Docker
Docker 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
- Docker >= 20.10.x
- Minimum allocated memory to Docker >= 4GB
Preferences -> Advanced -> Resources
{% endhint %}
git clone https://github.com/open-metadata/OpenMetadata
cd OpenMetadata/docker/metadata
docker-compose up
Next Steps
- Docker for OpenMetadata will depend on Mysql Container to be up, It may take few seconds to run.
- Once OpenMetadata UI is accessible, Go to Scheduler UI - http://localhost:7777, to invoke the pipelines to ingest data.
The above command brings up all the necessary services
- MySQL
- ElasticSearch
- OpenMetadata Sever
- Ingestion with SimpleScheduler
To access the OpenMetadata
Open http://localhost:8585 in your browser
Scheduler UI available at http://localhost:7777
Run Manually
{% hint style="success" %} This is a quick start guide that will show you how to quickly start a standalone server. {% endhint %}
Build from source or download the distribution
Prerequisites
{% hint style="info" %} OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
- Java 11 or above
- MySQL 8 or above {% endhint %}
{% tabs %} {% tab title="Download the release" %} Download the latest binary release from OpenMetadata, Once you have the tar file,
# untar it
tar -zxvf openmetadata-0.3.0.tar.gz
# navigate to directory containing the launcher scripts
cd openmetadata-0.3.0
{% endtab %}
{% tab title="Build from source " %} Follow these steps to checkout code from Github and build OpenMetadata locally
{% hint style="info" %} Prerequisites
Install Apache Maven 3.6 or higher {% endhint %}
# checkout OpenMetadata
git clone https://github.com/open-metadata/OpenMetadata
cd OpenMetadata
# build OpenMetadata
mvn install package -DskipTests
# navigate to directory containing the setup scripts
cd dist/target/
tar -zxvf openmetadata-0.3.0-SNAPSHOT.tar.gz
cd openmetadata-0.3.0-SNAPSHOT
{% endtab %} {% endtabs %}
Install on your local machine
macOS
-
Setup Database
-
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;
-
-
Run bootstrap scripts to initiate the database and tables
cd openmetadata-0.3.0 ./bootstrap/bootstrap_storage.sh migrate
-
Start the OpenMetadata Server
cd openmetadata-0.3.0 ./bin/openmetadata.sh start
Ingest Sample Data
Previous steps start OpenMetadata server. To start using it we need to run ElasticSearch and ingest sample metadata. Please follow the below guide