Yarn -version 有问题吗? 如果这些安装方式都不能帮你安装 Yarn,请通过 GitHub 搜索是否有人提过类似的 issue 或者开一个新的 issue 提问吧。. Net-install interpreter package: unpack and follow install additional interpreters to install interpreters. If you're unsure, just run./bin/install-interpreter.sh -all and install all interpreters. Building Zeppelin from source. Follow the instructions How to Build, If you want to build from source instead of using binary package. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Latest LTS Version: 14.16.0 (includes npm 6.14.11) Download the Node.js source code or a pre-built installer for your platform, and start developing today.
Arch Linux
On Arch Linux, Yarn can be installed through the official package manager.
Currently, there are no Arch packages available for RC or nightly builds of Yarn. Please use the tarball:
Installation Script
One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:
The installation process includes verifying a GPG signature.View the source on GitHub
You can also specify a version by running the following code in your terminal:
See the releases for possible versions.
Manual Install via tarball
You can install Yarn by downloading a tarball andextracting it anywhere.
Before extracting Yarn, it is recommended that you verify the tarball using GPG:
Path Setup
如果未在 PATH 环境变量中找到 yarn,请按照以下步骤添加 yarn 到 PATH 环境变量中,使其可以随处运行。
注意:您的配置文件可能是 .profile
、.bash_profile
、.bashrc
、.zshrc
等。
- 将此项加入您的配置文件:
export PATH='$PATH:/opt/yarn-[version]/bin'
(路径可能根据您安装 Yarn 的位置而有差异) - 在终端中,执行登录并登出以使更改生效
为了可以全局访问 Yarn 的可执行文件,你需要在控制台(或命令行)中设置 PATH
环境变量。若要执行此操作,请添加 export PATH='$PATH:`yarn global bin`'
到你的配置文件中,或者,如果你使用的是 Fish shell,直接执行此命令 set -U fish_user_paths (yarn global bin) $fish_user_paths
即可。
Welcome to Apache Zeppelin! On this page are instructions to help you get started.
Requirements
Apache Zeppelin officially supports and is tested on the following environments:
Name | Value |
---|---|
OpenJDK or Oracle JDK | 1.8 (151+) (set JAVA_HOME ) |
OS | Mac OSX Ubuntu 16.X |
Downloading Binary Package
Two binary packages are available on the download page. Only difference between these two binaries is interpreters are included in the package file.
- all interpreter package: unpack it in a directory of your choice and you're ready to go.
- net-install interpreter package: unpack and follow install additional interpreters to install interpreters. If you're unsure, just run
./bin/install-interpreter.sh --all
and install all interpreters.
Building Zeppelin from source
Follow the instructions How to Build, If you want to build from source instead of using binary package.
Starting Apache Zeppelin
Starting Apache Zeppelin from the Command Line
On all unix like platforms:
After Zeppelin has started successfully, go to http://localhost:8080 with your web browser.
Stopping Zeppelin
Start Apache Zeppelin with a service manager
Note : The below description was written based on Ubuntu.
Apache Zeppelin can be auto-started as a service with an init script, using a service manager like upstart.
This is an example upstart script saved as /etc/init/zeppelin.conf
This allows the service to be managed with commands such as
Other service managers could use a similar approach with the upstart
argument passed to the zeppelin-daemon.sh
script.
zeppelin.conf
Next Steps
Mac Os X Install Yarn Patterns
Congratulations, you have successfully installed Apache Zeppelin! Here are few steps you might find useful:
New to Apache Zeppelin...
- For an in-depth overview, head to Explore Zeppelin UI.
- And then, try run Tutorial Notebook in your Zeppelin.
- And see how to change configurations like port number, etc.
Spark, Python, SQL, and more
Mac Os X Install Yarn Tutorial
- Spark support in Zeppelin, to know more about deep integration with Apache Spark.
- SQL support in Zeppelin for SQL support
- Python support in Zeppelin, for Matplotlib, Pandas, Conda/Docker integration.
Multi-user support ...
- Check Multi-user support