N
N
nurdus2018-02-06 23:52:38
Python
nurdus, 2018-02-06 23:52:38

How to set up jupyter notebook on CentOS 7?

Good day.
Installed and launched on centOS 7 jupyter notebook (on vps). It launched, opened in the browser, but the code is not executed.
Apache says:

<VirtualHost 0.0.0.0:80>
    ServerName  jupyter.domain.com
    ServerAlias *.jupyter.domain.com
    ProxyPreserveHost On
    ProxyPass / http://localhost:3333/
    ProxyPassReverse / http://localhost:3333/
    CustomLog   /var/log/httpd/jupyter.domain.com.access_log combined
    ErrorLog    /var/log/httpd/jupyter.domain.com.error_log
</VirtualHost>

The logs have:
[Tue Feb 06 19:13:14.417712 2018] [proxy_http:error] [pid 940] (70007)The timeout specified has expired: [client 10.0.0.199:36128] AH01102: error reading status line from remote server 127.0.0.1:3333
[Tue Feb 06 19:13:14.417793 2018] [proxy:error] [pid 940] [client 10.0.0.199:36128] AH00898: Error reading from remote server returned by /api/kernels/a31382c3-79a4-4379-b02b-bcfe3e073b9c/channels
[Tue Feb 06 19:17:17.738943 2018] [proxy_http:error] [pid 1050] (70007)The timeout specified has expired: [client 10.0.0.199:46810] AH01102: error reading status line from remote server localhost:3333
[Tue Feb 06 19:17:17.739020 2018] [proxy:error] [pid 1050] [client 10.0.0.199:46810] AH00898: Error reading from remote server returned by /api/kernels/42461093-937f-4bf9-9a56-5cf298d3b322/channels

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2018-02-07
@planc

you don’t need to proxy it so outside,
just throw yourself a port via ssh
https://habrahabr.ru/post/331348/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question