【文件属性】:
文件名称:ipython-ansible:使用 Ansible 安装 IPython 集群
文件大小:41KB
文件格式:ZIP
更新时间:2021-07-12 12:57:48
Python
Ansible 在 iPython 中的作用
使用以下命令完成 iPython 的安装:
麻木的
笔记本
ipython.parralel
使用 Nginx 前端。
用 Vagrant 测试
安装一个可爱的 Virtualbox 和 Vagrant 版本。
需要主机管理器插件:
vagrant plugin install vagrant-hostmanager
用 Docker 测试
安装 Docker(如果您不是 Linux 用户,则安装 boot2docker)。
准备你的 ansible 图像:
cd docker
docker build -t ansible .
构建你自己的 ipython 版本:
./build_with_docker.sh
暂停一下,享受您强大的 CPU。
现在,你得到了一个 numpy 图像,2.5Go 的纯数学和爱。
您可以调整
【文件预览】:
ipython-ansible-master
----Vagrantfile(4KB)
----playbook.yml(304B)
----host.local(286B)
----roles()
--------ipython()
--------ipython-core()
--------ipython-nginx()
--------ipython-hub()
--------ipython-engine()
--------ipython-notebook()
----build_with_docker.sh(179B)
----docker()
--------Dockerfile(439B)
----ansible.cfg(48B)
----.gitignore(44B)
----docker_ssh()
--------bootstrap(48B)
--------Dockerfile(351B)
--------build_host(414B)
--------.gitignore(29B)
--------README.md(318B)
----README.md(904B)
----host.vagrant(419B)