仮想マシンが構築された後、ブラウザからhttp://192.168.55.106:8088/にアクセスします。
デフォルトユーザ名はadmin、パスワードもadminです。
Vagrantfile
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.hostname = "ub1604superset"
config.vm.provider :virtualbox do |vbox|
vbox.name = "ub1604superset"
vbox.cpus = 4
vbox.memory = 4096
vbox.customize ["modifyvm", :id, "--nicpromisc2","allow-all"]
end
config.vm.network "private_network", ip: "192.168.55.106", :netmask => "255.255.255.0"
config.vm.network "public_network", ip:"192.168.1.106", :netmask => "255.255.255.0"
config.vm.provision "shell", inline: <<-SHELL
# update packages
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
locale-gen ja_JP.UTF-8
localectl set-locale LANG=ja_JP.UTF-8
apt-get -y install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev
apt-get -y install python-pip
pip install --upgrade pip
pip install virtualenv
virtualenv venv
source ./venv/bin/activate
pip install --upgrade setuptools
pip install superset
mkdir -p /opt/superset
cd /opt/superset
fabmanager create-admin --app superset --username admin --firstname admin --lastname user --email admin@localhost.localdomain --password admin
superset db upgrade
superset load_examples
superset init
superset runserver -a 0.0.0.0
echo 'access http://192.168.55.106:8088/'
SHELL
end
〇Apache Supersetのログイン画面
〇Apache Supersetのダッシュボード一覧画面
〇Apache Supersetの画面
0 件のコメント:
コメントを投稿