centos7配置ip地址(服务器centos74环境下怎么配置jupyter)

尽管jupyter运行许多编程语言的代码,但是。Python非常重要,所以你可以 不玩它没有Python s的依赖,虽然Centos7.4系统上面有Python2.7。使用pip3 install jupyter进行安装。我 我以阿里云Centos7.x主机为例。至此,frps中转服务器配置完成。1 VI frpc . ini 1[common]2 server _ addr = x . x . x . x3 server _ port = 700045[ssh]Type = TCP 7 local _ IP = 127 . 0 . 0 . 18 local _ port = 229 remote _ port = 60001011[web]12 Type = TCP 13 local _ IP = 127 . 0 . 0 . 114 local _ port = 8015 remote _ port = 80813,.启动服务1 VI/etc/systemd/system/frpc . Service 1[Unit]2 Description = frpc daemon 3 After = syslog . target network . target 4 Wants = network . target 56[Service]7 Type = simple 8 ExecStart =/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frpc-c/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frpc . ini 910[Install]1 wanted by = multi-user . target执行以下命令1 systemfrpc控制的主机的配置完成。2-@ .com CentOS 7是一个服务器操作系统。

本文由创新互联(www.cdcxhl.com)小编为大家整理,本文主要介绍了关于服务器centos74环境下怎么配置jupyter的相关知识,希望对你有一定的参考价值和帮助,记得关注和收藏网址哦!

网站建设哪家好,找成都创新互联!专注于网页设计、网站建设、微信开发、微信小程序定制开发、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了梁河免费建站欢迎大家使用!

服务器centos74环境下怎么配置jupyter?

嗯,,你必须配置基本环境,还必须安装依赖于Python的软件。尽管jupyter运行许多编程语言的代码,但是。Python非常重要,所以你可以 不玩它没有Python s的依赖,虽然Centos7.4系统上面有Python2.7。但是我希望你 我最好用它。Python3.x版本3.x,哪个更好。你想安装笔记本。建议你先下载Anaconda,建议你下载最新的Python版本,目前好像是Python 3.6。,下载成功后,先安装Anaconda。等到安装好了,再安装jupyter。使用pip3 install jupyter进行安装。安装成功后,启动笔记本,使用jupyter笔记本。启动成功后,就可以访问了。用echo 5-@ . comi pecho 11-@ . com 8888可以看到笔记本仪表盘的页面,说明安装成功。

如何让内网的CENTOS服务器能用域名访问?

玻璃钢穿透技术用于实现您想要的功能,不需要公共IP。毕竟,公共知识产权运营商现在有很多限制:

以下文章转载自吴昕博客。

内网穿透是通过一个具有公共IP的服务器传输到受控主机,用户可以通过访问frps(传输服务器)远程访问frpc(受控主机)。

玻璃钢流程图如下:

玻璃钢项目地址:https://github.com/fatedier/frp

在这个实验环境中,使用阿里云服务器作为中转服务器,中转服务器使用Centos7.6,受控主机使用Centos7.6,用户使用Windows S10。由于网络的原因,本文中的链接已被本地链接所取代。如果不放心,请自行从GitHub下载。

Frps中转服务器配置

1.下载frp

在具有公共IP的主机上配置FRP。我 我以阿里云Centos7.x主机为例。

1 wget echo 5-@ . com down . whsir . com/downloads/FRP _ 0 . 27 . 0 _ Linux _ amd64 . tar . gz2 tar xf FRP _ 0 . 27 . 0 _ Linux _ amd64 . tar . gz3 mv FRP _ 0 . 27 . 0 _ Linux _ amd64/usr/4cd/usr/local/FRP _ 0 . 27 . 0 _ Linux _ AMD 645 RM-F FRPC * 2、带设置FRP

这里使用最基本的配置。bind_port代表frp面板的监控端口,dashboard_user代表面板的登录账号,dashboard_pwd代表面板的登录密码。其他人没有动。

1 vi

frps.ini

个人资料描述:

1[普通]

2 bind_port = 70003

4 dashboard_user = whsir

5仪表板_ pwd = blog.whsir.com 6仪表板_端口= 80003,启动frps

启动服务

1 VI/etc/systemd/system/frps . Service 1[Unit]2 Description = frps daemon 3 After = syslog . target network . target 4 Wants = network . target 56[Service]7 Type = simple 8 ExecStart =/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frps-c/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frps . ini 910[Install]1 wanthttp://公网IP:8000

帐户whsir

密码blog.whsir.com

如果你能 t访问它,请使用ss -lnt命令检查端口是否打开并被防火墙阻止。

至此,frps中转服务器配置完成。

Frpc内部网主机配置

1.内部网主机下载frp

1 wget echo 5-@ . com down . whsir . com/downloads/FRP _ 0 . 27 . 0 _ Linux _ amd64 . tar . gz2 tar xf FRP _ 0 . 27 . 0 _ Linux _ amd64 . tar . gz3 mv FRP _ 0 . 27 . 0 _ Linux _ amd64/usr/4cd/usr/local/FRP _ 0 . 27 . 0 _ Linux _ AMD 645 RM-F FRPS * 2。配置frpc

X.x.x.x代表frps中转服务器的IP地址。

Ssh字段:local_port = 22表示被控(内网)主机。机器ssh端口,remote_port = 6000表示ssh中转端口。

Web字段:local_port = 80表示受控(内网)主机的web端口,remote_port = 8081表示web中转端口。

1 VI frpc . ini 1[common]2 server _ addr = x . x . x . x3 server _ port = 700045[ssh]Type = TCP 7 local _ IP = 127 . 0 . 0 . 18 local _ port = 229 remote _ port = 60001011[web]12 Type = TCP 13 local _ IP = 127 . 0 . 0 . 114 local _ port = 8015 remote _ port = 80813,.

启动服务

1 VI/etc/systemd/system/frpc . Service 1[Unit]2 Description = frpc daemon 3 After = syslog . target network . target 4 Wants = network . target 56[Service]7 Type = simple 8 ExecStart =/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frpc-c/usr/local/FRP _ 0 . 27 . 0 _ Linux _ amd64/frpc . ini 910[Install]1 wanted by = multi-user . target执行以下命令1 systemfrpc控制的主机的配置完成。

此时可以通过x.x.x.x:6000连接内网ssh,通过echo 5-@ .com x . x . x . x echo 11-@ .com 8081访问内网主机web。访问速度取决于带宽。

此时,内网主机被映射到外网,然后,您可以用域名指定您的frp主机ip。这样你才能实现你的功能。

2-@ .com CentOS 7是一个服务器操作系统。一般来说,你不会。;不需要安装图形界面,只需要一个字符界面。

centos7系统安装过程中,需要将网络状态设置为打开(此时会自动获取ip地址),默认网卡是禁用的。如果你不 t设置网络,你可以 t网络,所以需要更改网卡配置文件。

通常,你不会。;你不用wifi上网,但你用的是网卡(虚拟网络卡片)

如果想尝试图形界面,可以试试linux个人版,比如ubuntu或者deepin。

查看echo 3-@ . com amp;;的互联网门户。这里 下面简单介绍一下最常用的方法:

Ifconfig -a查看所有网络接口

ip a

名称栏目:centos7配置ip地址(服务器centos74环境下怎么配置jupyter)
文章分享:http://www.gawzjz.com/qtweb2/news16/27616.html

网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联