新聞中心
盡管jupyter運行許多編程語言的代碼,但是。Python非常重要,所以你可以 不玩它沒有Python s的依賴,雖然Centos7.4系統(tǒng)上面有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執(zhí)行以下命令1 systemfrpc控制的主機的配置完成。2-@ .com CentOS 7是一個服務器操作系統(tǒng)。
本文由創(chuàng)新互聯(lián)(www.cdcxhl.com)小編為大家整理,本文主要介紹了關于服務器centos74環(huán)境下怎么配置jupyter的相關知識,希望對你有一定的參考價值和幫助,記得關注和收藏網(wǎng)址哦!

網(wǎng)站建設哪家好,找成都創(chuàng)新互聯(lián)!專注于網(wǎng)頁設計、網(wǎng)站建設、微信開發(fā)、微信小程序定制開發(fā)、集團企業(yè)網(wǎng)站建設等服務項目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了梁河免費建站歡迎大家使用!
服務器centos74環(huán)境下怎么配置jupyter?
嗯,,你必須配置基本環(huán)境,還必須安裝依賴于Python的軟件。盡管jupyter運行許多編程語言的代碼,但是。Python非常重要,所以你可以 不玩它沒有Python s的依賴,雖然Centos7.4系統(tǒng)上面有Python2.7。但是我希望你 我最好用它。Python3.x版本3.x,哪個更好。你想安裝筆記本。建議你先下載Anaconda,建議你下載最新的Python版本,目前好像是Python 3.6。,下載成功后,先安裝Anaconda。等到安裝好了,再安裝jupyter。使用pip3 install jupyter進行安裝。安裝成功后,啟動筆記本,使用jupyter筆記本。啟動成功后,就可以訪問了。用echo 5-@ . comi pecho 11-@ . com 8888可以看到筆記本儀表盤的頁面,說明安裝成功。如何讓內(nèi)網(wǎng)的CENTOS服務器能用域名訪問?
玻璃鋼穿透技術用于實現(xiàn)您想要的功能,不需要公共IP。畢竟,公共知識產(chǎn)權運營商現(xiàn)在有很多限制:以下文章轉載自吳昕博客。
內(nèi)網(wǎng)穿透是通過一個具有公共IP的服務器傳輸?shù)绞芸刂鳈C,用戶可以通過訪問frps(傳輸服務器)遠程訪問frpc(受控主機)。
玻璃鋼流程圖如下:
玻璃鋼項目地址:https://github.com/fatedier/frp
在這個實驗環(huán)境中,使用阿里云服務器作為中轉服務器,中轉服務器使用Centos7.6,受控主機使用Centos7.6,用戶使用Windows S10。由于網(wǎng)絡的原因,本文中的鏈接已被本地鏈接所取代。如果不放心,請自行從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面板的監(jiān)控端口,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://公網(wǎng)IP:8000
帳戶whsir
密碼blog.whsir.com
如果你能 t訪問它,請使用ss -lnt命令檢查端口是否打開并被防火墻阻止。
至此,frps中轉服務器配置完成。
Frpc內(nèi)部網(wǎng)主機配置
1.內(nèi)部網(wǎng)主機下載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表示被控(內(nèi)網(wǎng))主機。機器ssh端口,remote_port = 6000表示ssh中轉端口。
Web字段:local_port = 80表示受控(內(nèi)網(wǎng))主機的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執(zhí)行以下命令1 systemfrpc控制的主機的配置完成。
此時可以通過x.x.x.x:6000連接內(nèi)網(wǎng)ssh,通過echo 5-@ .com x . x . x . x echo 11-@ .com 8081訪問內(nèi)網(wǎng)主機web。訪問速度取決于帶寬。
此時,內(nèi)網(wǎng)主機被映射到外網(wǎng),然后,您可以用域名指定您的frp主機ip。這樣你才能實現(xiàn)你的功能。
2-@ .com CentOS 7是一個服務器操作系統(tǒng)。一般來說,你不會。;不需要安裝圖形界面,只需要一個字符界面。
centos7系統(tǒng)安裝過程中,需要將網(wǎng)絡狀態(tài)設置為打開(此時會自動獲取ip地址),默認網(wǎng)卡是禁用的。如果你不 t設置網(wǎng)絡,你可以 t網(wǎng)絡,所以需要更改網(wǎng)卡配置文件。
通常,你不會。;你不用wifi上網(wǎng),但你用的是網(wǎng)卡(虛擬網(wǎng)絡卡片)
如果想嘗試圖形界面,可以試試linux個人版,比如ubuntu或者deepin。
查看echo 3-@ . com amp;;的互聯(lián)網(wǎng)門戶。這里 下面簡單介紹一下最常用的方法:
Ifconfig -a查看所有網(wǎng)絡接口
ip a
文章標題:centos7配置ip地址(服務器centos74環(huán)境下怎么配置jupyter)
URL地址:http://m.fisionsoft.com.cn/article/ccccogh.html


咨詢
建站咨詢
