赞
踩
[common]
bind_port = 8989
vhost_http_port = 8890
# 下面的是配置可视化界面的,可以通过你的ip:7500访问
dashboard_port = 7500
dashboard_user = nick
dashboard_pwd = pwd
阿里云服务器,安全组规则中 中打开 6000 6001 8890 端口
[common] server_addr = 47.113.192.43 server_port = 8989 [ssh1] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 [range:VNC11] type = tcp local_ip = 127.0.0.1 local_port = 6001 remote_port = 6001 [jupyter] type = http local_ip = 127.0.0.1 local_port = 8888 server_port = 8890 remote_port = 8890 custom_domains = 47.113.192.43
nohup ./frps -c frps.ini >/dev/null 2>&1 &
nohup ./frpc -c frpc.ini >/dev/null 2>&1 &
nohup jupyter notebook >/dev/null 2>&1 &
jupyter notebook --generate-config ipython In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: Out[2]: 'sha1:ce23d945972f:34769685a7ccd3d08c84a18c63968a41f1140274' vim ~/.jupyter/jupyter_notebook_config.py c.NotebookApp.ip='*' c.NotebookApp.password = u'sha:ce...刚才复制的那个密文' c.NotebookApp.open_browser = False c.NotebookApp.port =8888 c.NotebookApp.allow_remote_access = True
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。