# **Starting Apache Zeppelin** *all steps are run with root* ### **Using the official docker image** Make sure that docker is installed in your local machine. * Use this command to launch Apache Zeppelin in a container. ``` mkdir ~/zeppelin cd ~/zeppelin docker run -d --name zeppelin-test -p 8080:8080 --rm apache/zeppelin:0.10.1 ```  To persist logs and notebook directories, and copy```/opt/zeppelin/conf``` to ```$PWD/zeppelin/conf/``` * Create folder ``` mkdir /zeppelin/conf mkdir /zeppelin/logs mkdir /zeppelin/notebook ``` * Copy```/opt/zeppelin/conf``` and stop zeppelin-test ``` docker cp zeppelin-test:/opt/zeppelin/conf ~/zeppelin/conf docker stop zeppelin-test ```  * Enable Shiro ``` cp conf/shiro.ini.template conf/shiro.ini vim conf/shiro.ini ```  ``` [users] #admin = password1, admin #user1 = password2, role1, role2 #user2 = password3, role3 #user3 = password4, role2 ```  ``` [main] ### A sample PAM configuration pamRealm=org.apache.zeppelin.realm.PamRealm pamRealm.service=login securityManager.realms = $pamRealm ```  * Launch Apache Zeppelin ``` docker run -d --name zeppelin-test -p 8080:8080 -v $PWD/conf:/conf -v $PWD/notebook:/notebook -v $PWD/logs:/logs -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --rm apache/zeppelin:0.10.1 ```  ### **Binary packages** *For Docker PAM authentication requires additional settings, use binary packages instead.* * Downloading Binary Package  ``` tar zxvf zeppelin-0.10.1-bin-all.tgz ``` By default Zeppelin is listening at 127.0.0.1:8080. To access a remote Zeppelin, change ```zeppelin.server.addr``` to 0.0.0.0 in ```conf/zeppelin-site.xml```. * Starting Apache Zeppelin from the Command Line ``` bin/zeppelin-daemon.sh start ``` ### **Login with these two account**   ### **Create note with folder /hpe**   ### **Set note permission readers with user:kevin**   ### **User:kevin try to move **NOTE** to trash (FAILED)**   ### **User:kevin try to move **FOLDER** to trash (**SUCCESS**)**   
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up