![]() If you don’t have that right now, Metabase also comes with a sample dataset you can get started with. Provide info about your MySQL database – username and password. ![]() ![]() On the next page, create a user to manage Metabase Tcp LISTEN 0 50 *:3000 *:* users:(("java",pid=14386,fd=18)) uid:998 ino:85041 sk:a v6only:0 Īccess the web page to finish setup using Click “ Let’s get started” button to start the setup. To check the status, use: sudo systemctl status metabase Step 5: Access Metabase Web User InterfaceĪfter the service is started, Metabase server will listen on port 3000 by default. Once reloaded, start the service and set it to start on boot: sudo systemctl start rvice The next thing to do is start the application service, but first, reload systemd so that it loads the new application added. Set your values for maximum and minimum memory allowed for the Java application ( -Xms128m and -Xmx256m ) in my case ĮxecStart=/usr/bin/java -Xms128m -Xmx256m -jar metabase.jar Give this user ownership permission to the applications directory: sudo chown -R appmgr:appmgr /apps/javaĬreate a systemd service unit file: sudo vim /etc/systemd/system/rviceĪdd the contents below to the file. Next, we create a system user appmgr with the default group sudo useradd -r -s /bin/false -g appmgr appmgr Start by creating a system group for the user. Running Java Jar Application with Systemd on Linuxįor the sake of simplicity, I’ll do a specific systemd service file for metabase.A separate guide on running Java applications with systemd is available on our blog. The best way to run Metabase is using Systemd init system available on both Ubuntu Linux system. Step 4: Configure Metabase Systemd service This will start the Metabase application using all of the default settings. $ java -jar metabase.jarĠ1-14 21:24:56 DEBUG plugins.classloader :: Using NEWLY CREATED classloader as shared context classloader: Ġ1-14 21:24:57 INFO metabase.util :: Loading Metabase.Ġ1-14 21:24:57 INFO metabase.util :: Maximum memory available to JVM: 483.4 MBĠ1-14 21:25:01 INFO util.encryption :: Saved credentials encryption is DISABLED for this Metabase instance. The most basic way of running Metabase to use the javacommand to launch the application. Metabase app install#Step 3: Install Metabase on Ubuntu 22.04/20.04/18.04/16.04ĭownload Metabase and save it on the path where you want the application to run from. Or allow access from any IP – Not recommended for a server with public access. If the database server is remote, assign privilege to a user at specific IP address, 192.168.0.20' GRANT ALL PRIVILEGES ON metabase.* TO IDENTIFIED BY " StrongPassword" Login to MySQL shell as root user sudo mysql -u root -pĬreate a database and user with access privileges CREATE DATABASE metabase ![]() ![]() When done, create a database for your Metabase like below Metabase app how to#I had written a guide on how to install the MariaDB database server on Ubuntuįollow the steps in the link to get a running database server in 2 minutes. You can skip this step if you have a datastore for Metabase already configured. OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing) Step 2: Install and Configure the Database server ( MariaDB) OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) You can query for the version of Java installed using the following command: $ java -version Then install Java JDK on Ubuntu system: sudo apt install -y default-jdk Metabase app update#Update your APT package index: sudo apt -y update Install Java on Ubuntu by running the commands provides in the sections below. Step 1: Install Java on Ubuntu 22.04|20.04|18.04|16.04Īs of this writing, Metabase will run on Java version 8 and 11. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |