THIS README IS OUTDATED. Please stay tuned for new updates...
The first step is install docker, docker is:
Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated containers to get better compute density. Enterprises use Docker to build agile software delivery pipelines to ship new features faster, more securely and with confidence for both Linux and Windows Server apps. More info
To install follow the following instructions Download Docker Community Edition
After installation of docker, create a folder named CASPYTER and next run the next command in your terminal:
docker run --name caspyter -it -d \
-v /rute/to/caspyter:/data \
-p 8022:22 -p 8080:80 -p 8081:8081\
-h caspyter ubuntu:14.04
It's time to access the container, run the next command in your terminal:
docker exec -it caspyter /bin/bash
This project is base on Casanova project, before clone this project you must install git, copy and run (as root) the scrip install_caspyter.sh (in this repository /script/install_caspyter.sh)
Firts go to caspyter user and restart bash variables
su caspyter
cd /home/caspyter
source /home/caspyter/.bashrc
then got to the notebook folder and start caspyter
cd /home/caspyter/notebook
caspyter
Caspyter will show you this message:
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://0.0.0.0:8081/?token=908b0654058e58f6a81f4f54cf392f1a0f401f2da9d6cc62
Now you must replace 0.0.0.0 for localhost in you browser.
- libice6
- libsm6
- libxt6
- libxrender1
- libfontconfig1
- libcups2
- libxml2
- libxslt-dev
- libgtk2.0-0
- python-qt4
- Anaconda
wget https://almascience.eso.org/arcdistribution/casa-distro/linux/release/casa-release-4.5.2-el6.tar.gz
tar zxf /home/caspyter/casa-release-4.5.2-el6.tar.gz
sudo sh /path/to/caspyter/scripts/patchELF.sh
- Edit
infodir
andcasainstalldir
parameters incaspyter/install_casanova
file, and then runcaspyter/install_casanova
- Edit
caspyter
parameter incaspyter/casanova_startup
and then add this to your.bashrc
:
alias caspyter="source /path/to/caspyter/casanova_startup"
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep CXXABI_1.3.8
If it returns CXXABI_1.3.8
, try with:
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /home/user/anaconda2/bin/../lib/libstdc++.so.6