redash 7.0版本安装指南

Setup Environment

This installation of Redash has the following dependencies

  • Installed and running Ubuntu 18.04 LTS server
  • Docker Engine
  • Docker compose

The installation of Redash Data Visualization Dashboard on Ubuntu 18.04 can be done from a script which automates the process for you, or manual steps.

Step 1: Update Ubuntu 18.04 system

As a rule of thumb, your system should be updated before installing any packages.

sudo apt update
sudo apt upgrade
sudo reboot

Once the system is rebooted, proceed to step 2

Step 2: Install Docker and Docker Compose

Run the following commands to install Docker on Ubuntu 18.04:

sudo apt-get update 
sudo apt-get -yy install apt-transport-https ca-certificates curl software-properties-common wget pwgen
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update && sudo apt-get -y install docker-ce

Install Docker Compose

export VER="1.22.0"
sudo curl -L https://github.com/docker/compose/releases/download/${VER}/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

Make the file executable

sudo chmod +x /usr/local/bin/docker-compose

Allow the current user to run Docker commands

sudo usermod -aG docker $USER
newgrp docker

Step 3: Prepare environment and install Redash

Automated with Script

You can download and run Redash installation script without following all the steps shown in the next manual installation section.

wget https://raw.githubusercontent.com/getredash/redash/master/setup/setup.sh

Make the script executable and run it

chmod +x setup.sh
./setup.sh

The script will:

  1. Install both Docker and Docker Compose.
  2. Download Docker Compose configuration files and bootstrap Redash environment
  3. Start all Redash docker containers

How to Install Redash Data Visualization Dashboard on Ubuntu 18.04 LTS

安装docker还是官方的最靠谱

官方docker指南

posted @ 2021-11-21 17:44  yourwilliam  阅读(90)  评论(0)    收藏  举报