Ubuntu14.04下配置eclipse等IDE

    xiaoxiao2021-03-26  4

    目的: 在Ubuntu Server上实现R, python, java等的IDE

    方法: Rstudio 之前博客发过了 Ubuntu 16.04 安装和使用 R和R studio - Cs_mary的博客 - 博客频道 - .NET http://blog.csdn.net/cs_mary/article/details/54811968

    Eclipse 这篇很详细,重点看JDK的安装 似乎我只用了这个 Ubuntu下Eclipse的安装方法(图文详解)LINUX操作系统_脚本之家 http://www.jb51.net/LINUXjishu/117147.html

    上面的做了半天,然后输入Eclipse,发现可以直接安装。。。

    在Xmangr下就能正常使用了

    Jupyter notebook

    Ubuntu14.04常用安装 - PACHEL35 - 博客园 http://www.cnblogs.com/McKean/p/6194977.html Ubuntu 16.04 LTS 配置 Jupyter notebook 为服务器 - PACHEL35 - 博客园 http://www.cnblogs.com/McKean/p/6391380.html

    这个坑多 第一个就是安装jupyter时遇到了python3 没有pip的情况,解决了。

    jupyter notebook的安装与使用 - Lee_J_R的博客 - 博客频道 - .NET http://blog.csdn.net/lee_j_r/article/details/52791228

    Jupyter的工作空间在其配置文件ipython_notebook_config.py中。 ipython_notebook_config.py文件在~/.jupyter/下 如果找不到那就在终端输入: [plain] view plain copy

    jupyter notebook --generate-config

    然后再 [plain] view plain copy

    gedit ~/.jupyter/jupyter_notebook_config.py

    Ctrl + F 找到下面这句按下面的格式,输入你想要的目录路径即可 [plain] view plain copy

    # The directory to use for notebooks.这决定了jupyter启动目录

    c.NotebookApp.notebook_dir = u'/path/to/your/notebooks'

    配置远程ipython 远程访问jupyter notebook - kunlong0909的专栏 - 博客频道 - .NET http://blog.csdn.net/kunlong0909/article/details/52464495 按步骤生成 ‘sha1:d5926b6340e3:acc2da00e0a30da64ad3600a4cad0063c616bc5e’

    然后设置 4. 修改默认配置文件

    $vim ~/.jupyter/jupyter_notebook_config.py 进行如下修改:

    注意下面的要删除前面的# 解开注释 c.NotebookApp.ip=’*’ c.NotebookApp.password = u’sha:ce…刚才复制的那个密文’ c.NotebookApp.open_browser = False c.NotebookApp.port =8888 #随便指定一个端口

    启动jupyter notebook:

    $jupyter notebook 6. 远程访问

    此时应该可以直接从本地浏览器直接访问http://address_of_remote:8888就可以看到jupyter的登陆界面。

    好了,可以远程访问了

    20170328更新 jupyter notebook 切换kernel Ubuntu部署Jupyter - 黑夜浮屠 - 博客园 http://www.cnblogs.com/knmax/p/6605560.html Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。在本文中,我们将介绍 Jupyter notebook 的主要特性,以及为什么对于希望编写漂亮的交互式文档的人来说是一个强大工具。我们将使用它搭建python2和python3共存的环境!

    安装python和python-pip

    apt-get install python python3 python-pip python3-pip //python2自带了

    pip install –upgrade pip //更新pip

    pip3 install –upgrade pip

    安装jupyter-notebook

    pip install jupyter

    pip3 install jupyter

    配置可以同时使用python2和python3内核

    ipython kernel install –user

    python3 -m ipykernel install –user

    pip2 install -U ipykernel

    python2 -m ipykernel install –user

    jupyter-notebook //运行,会自动web界面,可以同时运行python2,python3,ctrl+c结束

    其他好的参考资料 Ubuntu 中github的配置和使用 http://blog.csdn.net/wilylcyu/article/details/52129408

    jupyter notebook的安装与使用 http://blog.csdn.net/lee_j_r/article/details/52791228

    转载请注明原文地址: https://ju.6miu.com/read-600397.html

    最新回复(0)