0

I'm currently trying to setup a ipython notebook server as a common place for several researchers to collaborate. I've successfully set this up on a an Ubuntu installation on a VMWare VM on Windows 7. But to make this more "robust", I'm attempting to run this on a server supported by our technology group. Our technology group insists on paying for a license, and consequently they've stood up a VM running RHEL 6 and have given me admin privileges.

My question is: can I set up ipython notebook server on RHEL 6? Should it be a difficult task?

I have several potential points of failure:

  1. I'm behind a proxy and have had to work with our security team to get appropriate ports open to be able to update via 'yum update'
  2. Using RHEL 6 and after including the EPEL repository, I still can't seem to find appropriate packages for ipython-notebook.
  3. I'm not a linux admin. I dabble and figure stuff out, but a guru I am not.

If RHEL 6 isn't the appropriate distribution to run notebook, then I need to know that so I can get access to something more appropriate. If it is viable, then I need some direction on what the expected setup process is.

4

2 回答 2

1

如果您安装了所有先决条件,则可以简单地使用 ipython 安装,easy_install而无需软件包。ipython 文档中提供了如何执行此操作的详细信息- 您应该注意一般 ipython 要求和笔记本特定要求。

可能引起麻烦的主要事情是pyzmq。这将涉及编译和安装 zeromq C 库,这显然需要 C 编译器等。我认为默认情况下 pyzmq 安装程序会尝试为您执行此操作,但如果失败,则您可能必须手动进行此编译。

如果您没有对您的机器的 root 访问权限,或者如果您想在使用系统库之前进行测试,那么我建议使用virtualenv在您自己的主目录中创建一个隔离的 python 包目录。

于 2013-07-03T05:39:13.013 回答
1

在 RHEL 或 CentOS 6 上,如果您启用了 EPEL,您可以使用 yum 安装 IPython:

yum install python-ipython* python-argparse python-zmq

完成后,您可以启动笔记本服务器(作为非 root 用户):

ipython notebook
于 2015-07-01T08:55:40.360 回答