基于centos6.x安装部署superset

参考http://airbnb.io/superset/installation.html

1. 安装环境基于python 2.7或3.4,

2. 安装所需的包

sudo yum upgrade python-setuptools
install gcc gcc-c++ libffi-devel pip wheel openssl-libsasl2-openldap-devel
3. 安装python版本切换程序vitralenv
virtualenv

安装完成之后,可以通过如下的方法切换 python的版本:

virtualenv venv
. ./venv/bin/activate
在新环境中安装pip
install --setuptools pip
安装并初始化superset
# Install superset
pip install superset

# Create an admin user (you will be prompted to set username,first and last name before setting a password)
fabmanager create-admin --app superset

# Initialize the database
superset db upgrade

# Load some data to play with
superset load_examples

# Create default roles and permissions
superset init

# Start the web server on port 8088,use -p to bind to another port
superset runserver

# To start a development web server,use the -d switch
# superset runserver -d

相关文章

linux下开机自启: 在/etc/init.d目录下新建文件elasticsear...
1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以...
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用...
ASP.NET Core应用程序发布linux在shell中运行是正常的。可一...
设置时区(CentOS 7) 先执行命令timedatectl status|grep &...
vim /etc/sysconfig/network-scripts/ifcfg-eth0 B...