wget https://cdn.downloads.dataiku.com/public/dss/6.0.1/dataiku-dss-6.0.1.tar.gz
或者,使用此直接链接。
DSS可在Ubuntu,Debian,CentOS,RHEL和Amazon Linux上运行。有关版本的详细信息,请参见“ 需求”页面。
其它系统安装请在管网下载各版本 https://www.dataiku.com/product/get-started/
首次安装不能使用root用户,使用root会出现以下错误,后面会有错误展示。
创建一个dataiku用户,在/home/dataiku/ 目录下安装
useradd dataiku
将下载的存档解压缩到要安装DSS的位置。
即使安装完成后,也必须保留目录。
cd /home/dataiku
tar xzf dataiku-dss-6.0.1.tar.gz
启动安装脚本。您需要选择:
dataiku-dss-6.0.1/installer.sh -d DATA_DIR -p 11000
下面详细列出安装步骤(包括跺过的沆)
[root@localhost dataiku-dss-6.0.2]# ./installer.sh -d DATA_DIR -p 11000
*********************************************
* Dataiku DSS installer *
*********************************************
[-] Installing or running DSS as root is not supported.
[root@localhost dataiku-dss-6.0.2]#
使用命令“sudo -i /home/dataiku/dataiku-dss-6.0.2/scripts/install/install-deps.sh -without-java”
检查依赖包是否都有,使用Root用户执行下面的命令 一中 y 同意 就是会把所有的依赖下载并安装进来。
(注意:Root用户 必须配置JDK1.8环境)
[root@localhost dataiku-dss-6.0.2]$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
[root@localhost dataiku-dss-6.0.2]$
[root@localhost dataiku-dss-6.0.2]$
[root@localhost dataiku-dss-6.0.2]$
[root@localhost dataiku-dss-6.0.2]$ sudo -i /home/dataiku/dataiku-dss-6.0.2/scripts/install/install-deps.sh -without-java
创建 DATA_DIR 空文件夹 (DATA_DIR Dataiku DSS将在其中存储配置和数据的目录)
-d 指的指定一个存储文件夹 -p 指定 端口 (确认端口没有被占用)
看到 提示“[!] Press Enter to continue, Ctrl+C to abort” 就按回车键(有两次),直到出现
* Installation complete (DSS node type: design)
* Next, start DSS using:
[dataiku@localhost dataiku-dss-6.0.2]$ mkdir DATA_DIR
[dataiku@localhost dataiku-dss-6.0.2]$
[dataiku@localhost dataiku-dss-6.0.2]$ ./installer.sh -d DATA_DIR -p 11000
*********************************************
* Dataiku DSS installer *
*********************************************
[+] Using data directory: DATA_DIR
[+] Saving installation log to /home/dataiku/dataiku-dss-6.0.2/DATA_DIR/run/install.log
[!] *********************************************************
[!] Warning: the data directory you specified:
[!] /home/dataiku/dataiku-dss-6.0.2/DATA_DIR
[!] appears to be a subdirectory of the installation directory:
[!] /home/dataiku/dataiku-dss-6.0.2
[!] This is NOT RECOMMENDED for production environment as it complexifies subsequent Studio upgrades.
[!] Press Enter to continue, Ctrl+C to abort
[!] *********************************************************
[!] Warning: you have SELinux installed and enforcing.
[!] DSS cannot run unless you edit the policies to allow nginx to serve its files.
[!] Press Enter to continue, Ctrl+C to abort
[+] Using Java at /opt/soft/jdk1.8.0_181/bin/java : java version "1.8.0_181"
[+] Checking required dependencies
+ Detected OS distribution : centos 7
+ Checking required packages...
[+] Installation starting
[+] Initializing Python environment
[+] Initializing Python environment using default 'python2.7'
[+] Extracting virtualenv in /tmp/dku_virtualenv.v42BzY
No LICENSE.txt / LICENSE found in source
New python executable in /home/dataiku/dataiku-dss-6.0.2/DATA_DIR/pyenv/bin/python2.7
Also creating executable in /home/dataiku/dataiku-dss-6.0.2/DATA_DIR/pyenv/bin/python
Installing setuptools, pip, wheel...
done.
[+] Precompiling Dataiku Python code
[+] Precompiling Jupyter Python code
[+] Precompiling third-party Python 2.7 code
[+] Performing initial install
[+] Writing version metadata conf=6020 product=6.0.2 revision=
[+] Writing default install config file
[+] Writing default env file
[+] Preparing data directory initial data
[2019/12/19-23:02:16.005] [main] [INFO] [dku.logging] - Loading logging settings
[2019/12/19-23:02:16.052] [main] [INFO] [dku.logging] - Configuring additional logging settings from /home/dataiku/dataiku-dss-6.0.2/resources/logging/dku-log4j.properties
Installed kernelspec python2 in /home/dataiku/dataiku-dss-6.0.2/DATA_DIR/jupyter-run/jupyter/kernels/python2
[+] Generating default env file
[+] Generating supervisor configuration
[+] Generating nginx configuration
***************************************************************
* Installation complete (DSS node type: design)
* Next, start DSS using:
* '/home/dataiku/dataiku-dss-6.0.2/DATA_DIR/bin/dss start'
* Dataiku DSS will be accessible on http://:11000
*
* You can configure Dataiku DSS to start automatically at server boot with:
* sudo -i "/home/dataiku/dataiku-dss-6.0.2/scripts/install/install-boot.sh" "/home/dataiku/dataiku-dss-6.0.2/DATA_DIR" dataiku
***************************************************************
[dataiku@localhost dataiku-dss-6.0.2]$
上一步最后信息的提示已经告诉我们在哪里目录去启动系统了
就是 进到DATA_DIR下面 ,这个里会生成好的文件,找到bin并打开,
再执行 ./dss start 就能启动了 (状态 ./dss status 停止 ./dss stop 重启 ./dss restats )
[dataiku@localhost dataiku-dss-6.0.2]$ cd DATA_DIR/bin/
[dataiku@localhost bin]$ ./dss start
Waiting for DSS supervisor to start ...
backend STARTING
ipython STARTING
nginx STARTING
DSS started, pid=21720
Waiting for DSS backend to start .............
[dataiku@localhost bin]$
浏览至 http://
。
仅支持Chrome和Firefox.