新程序员指南: (New Programmer’s Guide:)

介绍: (Introduction:)

I want to work from my laptop and have my desktop do all of the heavy lifting.

我想用笔记本电脑工作,让台式机完成所有繁重的工作。

It might not seem like it, but that simple request can actually be pretty hard to implement as a new programmer.

看起来似乎不是这样,但是作为一个新程序员,实际上很难实现简单的请求。

This article is an attempt to change that and make it easy for everyone.

本文试图改变这一点并使所有人都容易使用。

It offers a long-term solution to using desktop resources from your laptop:

它提供了从笔记本电脑使用桌面资源的长期解决方案:

  • CPU Clock SpeedCPU时钟速度
  • CPU CoresCPU核心
  • RAM内存
  • GPU显卡
  • HDD/SSD/NVMe硬盘/ SSD / NVMe

目录: (Table of Contents:)

  • Set Up the Remote Desktop on the PC

    在PC上设置远程桌面

  • Set Up the Remote Desktop on the Laptop

    在笔记本电脑上设置远程桌面

  • Set Up Python on the PC

    在PC上设置Python

  • Set up OpenSSL on the PC

    在PC上设置OpenSSL

  • Set Up Jupyter on the PC

    在PC上设置Jupyter

  • Set Up the Text Editor on the PC

    在PC上设置文本编辑器

  • Edit the PATH Environment Variable on the PC

    在PC上编辑PATH环境变量

  • Create an SSL Certificate on the PC

    在PC上创建SSL证书

  • Set Up a Configuration File on the PC

    在PC上设置配置文件

  • Set Up the Server Password on the PC

    在PC上设置服务器密码

  • Set Up the Server on the PC

    在PC上设置服务器

  • Access the Server at Home on the Laptop

    在笔记本电脑上在家访问服务器

  • Open the Port on the PC

    在PC上打开端口

  • Verify the Port is Working on the PC

    验证端口在PC上是否正常工作

  • Set Up Port Forwarding on the PC

    在PC上设置端口转发

  • Access the Server From Anywhere on the Laptop

    从笔记本电脑上的任何地方访问服务器

  • Set Up a Static IP Address on the PC

    在PC上设置静态IP地址

在PC上设置远程桌面: (Set Up the Remote Desktop on the PC:)

The remote desktop is only used to set up and troubleshoot the PC.

远程桌面仅用于设置PC并对其进行故障排除。

First, we’ll create a TeamViewer account:

首先,我们将创建一个TeamViewer帐户:

  1. Visit the official website

    访问官方网站

  2. Fill out the account information填写账户信息
  3. Click “Sign Up”点击“注册”
  4. Verify the email address验证电子邮件地址

Next, we’ll install the application:

接下来,我们将安装该应用程序:

  1. Visit the download page on the official website

    访问官方网站上的下载页面

  2. Click “Free Download Now”点击“立即免费下载”
  3. Open the downloaded file打开下载的文件
  4. Perform the default installation执行默认安装

Next, we’ll sign into the application:

接下来,我们将登录到该应用程序:

  1. Open TeamViewer打开TeamViewer
  2. Click “Sign In” in the left panel点击左侧面板中的“登录”
  3. Fill out the account information填写账户信息
  4. Click “Sign In”点击“登录”

Next, we’ll authorize the computer:

接下来,我们将授权计算机:

  1. Open the authorization email打开授权电子邮件
  2. Click “Add to Trusted Devices”点击“添加到受信任的设备”
  3. Click “Trust”点击“信任”

Lastly, we’ll get the computer :

最后,我们将获得计算机:

  1. Click “Remote Control” in the left panel点击左侧面板中的“遥控器”
  2. Write down the “ID” and “Password”写下“ ID”和“密码”

在笔记本电脑上设置远程桌面: (Set Up the Remote Desktop on the Laptop:)

This allows the laptop to set up and troubleshoot the server on the PC.

这使笔记本电脑可以在PC上设置服务器并进行故障排除。

First, we’ll install the application:

首先,我们将安装该应用程序:

  1. Visit the official website

    访问官方网站

  2. Click “Free Download Now”点击“立即免费下载”
  3. Open the downloaded file打开下载的文件
  4. Perform the default installation执行默认安装

Next, we’ll sign into the application:

接下来,我们将登录到该应用程序:

  1. Open TeamViewer打开TeamViewer
  2. Click “Sign In” in the left panel点击左侧面板中的“登录”
  3. Click “Sign In…”点击“登录...”
  4. Fill out account information填写帐户信息
  5. Click “Sign In”点击“登录”

Next, we’ll authorize the computer:

接下来,我们将授权计算机:

  1. Open the authorization email打开授权电子邮件
  2. Click “Add to Trusted Devices”点击“添加到受信任的设备”
  3. Click “Trust”点击“信任”

Lastly, we’ll set up the application:

最后,我们将设置应用程序:

  1. Click ”Computers & Contacts” in the left panel点击左侧面板中的“计算机和通讯录”
  2. Click “My Computers” in the center panel点击中央面板中的“我的电脑”
  3. Click “Add Computer” in the right panel点击右侧面板中的“添加计算机”
  4. Enter the “ID” and “Password” from earlier输入之前的“ ID”和“密码”
  5. Click “OK”点击“确定”
  6. Click the “Computer Name” in “My Computers”点击“我的电脑”中的“计算机名称”
  7. Click “Remote Control Using Password” in the right panel单击右侧面板中的“使用密码进行远程控制”

Remember:

记得:

  • Both computers must be turned on and awake to establish a connection.必须打开两台计算机,然后将它们唤醒以建立连接。
  • The connection will automatically terminate after the window is closed.关闭窗口后,连接将自动终止。

在PC上设置Python: (Set Up Python on the PC:)

This Python version was the latest stable version at the time.

这个Python版本是当时的最新稳定版本。

First, we’ll download Python:

首先,我们将下载Python:

  1. Visit the download page on the official website

    访问官方网站上的下载页面

  2. Scroll to the “Files” section滚动到“文件”部分
  3. Click the “Executable Installer” that matches your system type

    单击与您的系统类型匹配的“可执行安装程序”

Reference:

参考:

  • “Windows x86–64 executable installer” refers to Windows 64-bit“ Windows x86–64可执行安装程序”是指Windows 64位
  • “Windows x86 executable installer” refers to Windows 32-bit“ Windows x86可执行安装程序”是指Windows 32位

Next, we’ll install Python:

接下来,我们将安装Python:

  1. Open the downloaded file打开下载的文件
  2. Check the “Add Python ** to PATH” box选中“将Python **添加到PATH”框
  3. Perform the default installation执行默认安装

在PC上设置OpenSSL: (Set up OpenSSL on the PC:)

OpenSSL comes preinstalled with Git on Windows 10.

Windows 10上的Git预先安装了OpenSSL。

在PC上设置Jupyter: (Set Up Jupyter on the PC:)

First, we’ll open Command Prompt:

首先,我们将打开命令提示符:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Cmd” into the search bar在搜索栏中输入“ Cmd”
  3. Click “Command Prompt”点击“命令提示符”

Next, we’ll install Jupyter:

接下来,我们将安装Jupyter:

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”
python -m pip install jupyter

Next, we’ll install the Jupyter extension:

接下来,我们将安装Jupyter扩展:

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”

This extension allows Jupyter Notebook to access the GPU in the desktop.

此扩展允许Jupyter Notebook访问桌面中的GPU。

python -m pip install jupyter_http_over_ws

在PC上设置文本编辑器: (Set Up the Text Editor on the PC:)

This step only applies to computers that don’t have a text editor installed.

此步骤仅适用于未安装文本编辑器的计算机。

In this section, we’ll install Sublime:

在本节中,我们将安装Sublime:

  1. Visit the official website

    访问官方网站

  2. Click “Download for Windows”点击“下载至Windows”
  3. Open the downloaded file打开下载的文件
  4. Perform the default installation执行默认安装

在PC上编辑PATH环境变量: (Edit the PATH Environment Variable on the PC:)

The PATH environment variable is a list of directories that contain commonly used executable files. The Command Prompt uses that list to run programs that execute commands.

PATH环境变量是包含常用可执行文件的目录的列表。 命令提示符使用该列表来运行执行命令的程序。

First, we’ll open the PATH environment variable:

首先,我们将打开PATH环境变量:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Environment Variables” into the search bar在搜索栏中输入“环境变量”
  3. Click “Edit the System Environment Variables”单击“编辑系统环境变量”
  4. Click “Environment Variables…”单击“环境变量…”
  5. Select “Path” in the “User Variables” section在“用户变量”部分中选择“路径”
  6. Click “Edit”点击“编辑”

Next, we’ll add the path that contains the executable Python modules:

接下来,我们将添加包含可执行Python模块的路径:

  1. Copy the path from below these instructions从这些说明下面复制路径
  2. Click “New”点击“新建”
  3. Paste the path into PATH environment variable将路径粘贴到PATH环境变量中
C:\Program Files\Git\usr\bin

Lastly, we’ll save the changes we’ve made to the PATH environment variable:

最后,我们将保存对PATH环境变量所做的更改:

  1. Click “OK”点击“确定”
  2. Click “OK”点击“确定”
  3. Click “OK”点击“确定”

The “OK” button must be clicked to save the PATH environment variable.

必须单击“确定”按钮以保存PATH环境变量。

在PC上创建SSL证书: (Create an SSL Certificate on the PC:)

SSL stands for Secure Socket Layer. It’s a standard security method that adds a layer of protection to the data being transferred over the server. It works by establishing an encrypted link between the server and the remote browser.

SSL代表安全套接字层。 这是一种标准的安全方法,为通过服务器传输的数据增加了一层保护。 它通过在服务器和远程浏览器之间建立加密链接来工作。

First, we’ll open Command Prompt:

首先,我们将打开命令提示符:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Command Prompt” into the search bar在搜索栏中输入“命令提示符”
  3. Click “Command Prompt”点击“命令提示符”

Next, we’ll use the cd command to navigate to the Python directory:

接下来,我们将使用cd命令导航到Python目录:

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”
cd %userprofile%\.jupyter

Next, we’ll create the SSL certificate:

接下来,我们将创建SSL证书:

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”
  4. Enter “US” into “Country Name”在“国家名称”中输入“美国”
  5. Press “Enter”按“ Enter”
  6. Enter “.” into the remaining fields输入“。” 进入其余领域
  7. Press “Enter”按“ Enter”

This command is copied directly from the documentation.

该命令直接从文档中复制。

openssl req -config “C:\Program Files\Git\usr\ssl\openssl.cnf” -x509 -nodes -days 365 -newkey rsa:1024 -keyout mykey.key -out mycert.pem

在PC上设置配置文件: (Set Up a Configuration File on the PC:)

First, we’ll create the configuration file for Jupyter Notebook:

首先,我们将为Jupyter Notebook创建配置文件 :

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”

This creates the configuration file in the “.jupyter” directory.

这将在“ .jupyter”目录中创建配置文件。

jupyter notebook --generate-config

Next, we’ll create the an empty JSON file on the Windows PC:

接下来,我们将在Windows PC上创建一个空的JSON文件:

  1. Copy the command from below these instructions从这些说明下面复制命令
  2. Paste the command into Command Prompt将命令粘贴到命令提示符中
  3. Press “Enter”按“ Enter”
echo > %userprofile%\.jupyter\jupyter_notebook_config.json

Next, we’ll open Run:

接下来,我们将打开“运行”:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Run” into the search bar在搜索栏中输入“运行”
  3. Press “Enter”按“ Enter”

Next, we’ll open the .jupyter directory:

接下来,我们将打开.jupyter目录:

  1. Copy the directory path from below these instructions从以下说明中复制目录路径
  2. Paste the directory path into Run将目录路径粘贴到“运行”中
  3. Click “OK”点击“确定”
%userprofile%\.jupyter

Next, we’ll open the configuration file:

接下来,我们将打开配置文件:

  1. Right-click the file from below these instructions从这些说明下面右键单击文件
  2. Click “Open with”点击“打开方式”
  3. Click “Sublime Text”点击“崇高文字”
jupyter_notebook_config.json

Next, we’ll get the Windows account name:

接下来,我们将获得Windows帐户名:

  1. Reopen Command Prompt重新打开命令提示符
  2. Copy the command from below these instructions从这些说明下面复制命令
  3. Paste the command into Command Prompt将命令粘贴到命令提示符中
  4. Press “Enter”按“ Enter”
  5. Write down the Windows account name写下Windows帐户名
echo %username%

Lastly, we’ll add the server configurations:

最后,我们将添加服务器配置:

  1. Copy the JSON from below these instructions从以下说明中复制JSON
  2. Replace “Admin” with the Windows account name将“ Admin”替换为Windows帐户名
  3. Paste the JSON into Sublime Text将JSON粘贴到Sublime Text中
  4. Click “File” in the “Sublime Text” menu bar在“ Sublime Text”菜单栏中单击“ File”
  5. Click “Save”点击“保存”

Reference:

参考:

  • These configuration options are copied from the documentation

    这些配置选项是从文档中复制的

  • The file paths in the JSON file must use double backslashesJSON文件中的文件路径必须使用双反斜杠

在PC上设置服务器密码: (Set Up the Server Password on the PC:)

In this section, we’ll create a password for the Jupyter Notebook server:

在本节中,我们将为Jupyter Notebook服务器创建一个密码:

  1. Reopen Command Prompt重新打开命令提示符
  2. Copy the command from below these instructions从这些说明下面复制命令
  3. Paste the command into Command Prompt将命令粘贴到命令提示符中
  4. Press “Return”按“返回”
  5. Enter a password输入密码
  6. Press “Return”按“返回”
  7. Re-enter the password重新输入密码
  8. Press “Enter”按“ Enter”

This adds the hashed password to the JSON configuration file.

这会将哈希密码添加到JSON配置文件中。

jupyter notebook password

在PC上设置服务器: (Set Up the Server on the PC:)

First, we’ll open Task Scheduler:

首先,我们将打开任务计划程序:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Scheduler” into the search bar在搜索栏中输入“计划程序”
  3. Click “Task Scheduler”点击“任务计划程序”

Next, we’ll create a task that starts a program when Windows starts:

接下来,我们将创建一个在Windows启动时启动程序的任务:

  1. Click “Create Basic Task” in the right panel点击右侧面板中的“创建基本任务”
  2. Copy the name from below these instructions从以下说明中复制名称
  3. Paste the name into the “Name” text box将名称粘贴到“名称”文本框中
  4. Click “Next”点击下一步”
  5. Select “When the Computer Starts”选择“计算机启动时”
  6. Click “Next”点击下一步”
  7. Select “Start a Program”选择“启动程序”
  8. Click “Next”点击下一步”
Jupyter Notebook Server

Next, we’ll specify which program to start:

接下来,我们将指定要启动的程序:

  1. Copy the path from below these instructions从这些说明下面复制路径
  2. Paste the path into the “Program/Script” text box将路径粘贴到“程序/脚本”文本框中
  3. Click “Next”点击下一步”
  4. Check “Open the Properties Dialog…”选中“打开属性对话框...”
  5. Click “Finish”点击“完成”
%userprofile%\AppData\Local\Programs\Python\Python38\Scripts\jupyter-notebook.exe

Lastly, we’ll specify when to start the program:

最后,我们将指定何时启动程序:

  1. Select “Run Whether User is Logged On or Not”选择“运行是否登录用户”
  2. Click “Triggers” in the top tab bar点击顶部标签栏中的“触发器”
  3. Click “At Startup” trigger点击“启动时”触发器
  4. Click “Edit”点击“编辑”
  5. Check “Delay Task For”检查“延迟任务”
  6. Enter “30 Seconds”输入“ 30秒”
  7. Click “OK”点击“确定”
  8. Click “OK”点击“确定”

在笔记本电脑上在家访问服务器: (Access the Server at Home on the Laptop:)

The server should be accessible from the local network after restarting.

重新启动后,应该可以从本地网络访问服务器。

First, we’ll restart the Windows PC:

首先,我们将重新启动Windows PC:

  1. Restart the Windows PC重新启动Windows PC
  2. Wait 30 seconds等待30秒

Next, we’ll verify that the server is working:

接下来,我们将验证服务器是否正常运行:

  1. Visit the server IP address

    访问服务器IP地址

  2. Click “Advanced”点击“高级”
  3. Click “Proceed to 127.0.0.1 (unsafe)”点击“进入127.0.0.1(不安全)”

Next, we’ll sign into Jupyter Notebook:

接下来,我们将登录Jupyter Notebook:

  1. Enter the Jupyter Notebook password输入Jupyter Notebook密码
  2. Click “Log-in”点击“登录”
  3. Reload the page重新载入页面

Lastly, we’ll bookmark the server IP address:

最后,我们将服务器IP地址添加为书签:

  1. Click the “Chrome” menu bar点击“ Chrome”菜单栏
  2. Click “Bookmarks”点击“书签”
  3. Click “Bookmark This Tab”点击“为此标签添加书签”
  4. Copy the name from below these instructions从以下说明中复制名称
  5. Paste the name into the “Name” text box将名称粘贴到“名称”文本框中
  6. Click “Done”点击“完成”

The browser will display a warning, but the documentation suggests it’s ok.

浏览器将显示警告,但文档显示可以。

Private Jupyter Notebook Server

打开PC上的端口: (Open the Port on the PC:)

First, we’ll open the “Advanced Settings” in the Windows firewall:

首先,我们将在Windows防火墙中打开“高级设置”:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Settings” into the search bar在搜索栏中输入“设置”
  3. Click “Settings”点击“设置”
  4. Click “Update & Security”点击“更新和安全性”
  5. Click “Windows Security” in the left panel点击左侧面板中的“ Windows安全性”
  6. Click “Firewall & Network Protection”点击“防火墙和网络保护”
  7. Click “Advanced Settings”点击“高级设置”
  8. Click “Yes”点击“是”

Next, we’ll add a new inbound rule:

接下来,我们将添加一个新的入站规则:

  1. Click “Inbound Rules” in the left panel点击左侧面板中的“入站规则”
  2. Click “New Rule…” in the right panel点击右侧面板中的“新规则...”
  3. Select “Port”选择“端口”
  4. Click “Next”点击下一步”
  5. Select “Specific Local Ports”选择“特定本地端口”
  6. Enter “9999”输入“ 9999”
  7. Click “Next”点击下一步”
  8. Select “Allow the Connection”选择“允许连接”
  9. Click “Next”点击下一步”
  10. Check “Domain”, “Private” and “Public”选中“域”,“私有”和“公共”
  11. Click “Next”点击下一步”
  12. Copy the server name from below these instructions从以下说明中复制服务器名称
  13. Paste the server name into the “Name” text box将服务器名称粘贴到“名称”文本框中
  14. Click “Finish”点击“完成”
Jupyter Notebook Server

验证端口在PC上是否正常工作: (Verify the Port is Working on the PC:)

The port should be accessible from remote networks after it’s opened:

打开端口后,应该可以从远程网络访问该端口:

In this section, we’ll verify that the port is working:

在本节中,我们将验证端口是否正常工作:

  1. Visit a port checking website

    访问端口检查网站

  2. Enter “9999” in to the “Port to Check” text box在“检查端口”文本框中输入“ 9999”
  3. Click “Check Port”点击“检查端口”

在PC上设置端口转发: (Set Up Port Forwarding on the PC:)

This video has a simple explanation of LAN, WAN, and Port Forwarding.

该视频简单介绍了LAN,WAN和端口转发。

First, we’ll get the local IP address of the Windows PC:

首先,我们将获得Windows PC的本地IP地址:

  1. Reopen Command Prompt重新打开命令提示符
  2. Copy the command from below these instructions从这些说明下面复制命令
  3. Paste the command into Command Prompt将命令粘贴到命令提示符中
  4. Press “Enter”按“ Enter”
  5. Copy the “IPv4 Address”复制“ IPv4地址”
ipconfig

Next, we’ll sign into the local router:

接下来,我们将登录到本地路由器:

  1. Visit the router IP address

    访问路由器IP地址

  2. Sign into the router登录路由器
  3. Find the “Port Forwarding” page找到“端口转发”页面

Lastly, we’ll set up the port forwarding:

最后,我们将设置端口转发:

  1. Paste the IP Address into the “Enter IP Address” text box将IP地址粘贴到“输入IP地址”文本框中
  2. Enter “9999” into the “WAN Starting Port” text box在“ WAN起始端口”文本框中输入“ 9999”
  3. Enter “9999” into the “WAN Ending Port” text box在“ WAN Ending Port”文本框中输入“ 9999”
  4. Select “All IP Addresses”选择“所有IP地址”
  5. Click “Apply”点击“应用”

The specific steps for each router will likely vary, but it should be similar.

每个路由器的具体步骤可能会有所不同,但是应该相似。

从笔记本电脑上的任何位置访问服务器: (Access the Server from Anywhere on the Laptop:)

First, we’ll get the public IP address on the Windows PC:

首先,我们将在Windows PC上获得公共IP地址:

  1. Google the public IP address

    Google的公共IP地址

  2. Write down the public IP address写下公共IP地址

Next, we’ll construct the server IP address:

接下来,我们将构建服务器IP地址:

  1. Add the HTTPS protocol to the front of the public IP address将HTTPS协议添加到公共IP地址的前面
  2. Add the port number to the end of the public IP address将端口号添加到公用IP地址的末尾
  3. Write down the server IP address记下服务器IP地址
https://public_IP_address:9999

Next, we’ll visit the server IP address on the laptop:

接下来,我们将在笔记本电脑上访问服务器IP地址:

  1. Visit the server IP address in Chrome在Chrome中访问服务器IP地址
  2. Type “thisisunsafe”输入“ thisisunsafe”
  3. Allow the page to reload允许页面重新加载

Next, we’ll sign into Jupyter Notebook:

接下来,我们将登录Jupyter Notebook:

  1. Enter the Jupyter Notebook password输入Jupyter Notebook密码
  2. Click “Log-in”点击“登录”
  3. Reload the page重新载入页面

Lastly, we’ll bookmark the server IP address:

最后,我们将服务器IP地址添加为书签:

  1. Click “Bookmarks” in the “Chrome” menu bar点击“ Chrome”菜单栏中的“书签”
  2. Click “Bookmark This Tab”点击“为此标签添加书签”
  3. Copy the name from below these instructions从以下说明中复制名称
  4. Paste the name into the “Name” text box将名称粘贴到“名称”文本框中
  5. Click “Done”点击“完成”
Public Jupyter Notebook Server

Remember:

记得:

  • The server isn’t accessible on the local IP address from a remote network无法通过远程网络在本地IP地址上访问服务器
  • The browser can’t connect to the server without the HTTPS protocol没有HTTPS协议,浏览器无法连接到服务器
  • The browser can’t connect to the server without the port number没有端口号,浏览器无法连接到服务器
  • A remote network refers to any network that isn’t the local network远程网络是指不是本地网络的任何网络

在PC上设置静态IP地址: (Set Up a Static IP Address on the PC:)

By default, most internet service providers assign a dynamic IP address to devices. This means the IP address changes regularly. While that’s good for security, it’s bad for remote connections.

默认情况下,大多数Internet服务提供商将动态IP地址分配给设备。 这意味着IP地址会定期更改。 虽然这对安全性有好处,但对远程连接却不利。

This article has a good introduction to “Dynamic” and “Static” IP addresses.

本文对“动态”和“静态” IP地址进行了很好的介绍。

First, we’ll set get the network details:

首先,我们将获取网络详细信息:

  1. Reopen Command Prompt重新打开命令提示符
  2. Copy the command from below these instructions从这些说明下面复制命令
  3. Paste the command into Command Prompt将命令粘贴到命令提示符中
  4. Press “Enter”按“ Enter”
ipconfig /all

Next, we’ll write down the following details:

接下来,我们将写下以下详细信息:

  • IPv4 addressIPv4地址
  • Subnet Mask子网掩码
  • Default Gateway默认网关
  • Preferred DNS server (top)首选DNS服务器(顶部)
  • Alternate DNS server (bottom)备用DNS服务器(底部)

Next, we’ll open the network adapter properties:

接下来,我们将打开网络适配器属性:

  1. Press “⊞ Windows”按“⊞Windows”
  2. Enter “Control Panel”输入“控制面板”
  3. Click “Control Panel”点击“控制面板”
  4. Click “View Network Stats and Tasks”点击“查看网络统计信息和任务”
  5. Click “Change Adapter Settings”点击“更改适配器设置”
  6. Right-click the network adapter used to connect to the internet右键单击用于连接到Internet的网络适配器
  7. Click “Properties”点击“属性”

Next, we’ll open the Internet Protocol Version 4 properties:

接下来,我们将打开“ Internet协议版本4”属性:

  1. Select “Internet Protocol Version 4 (TCP/IPv4)”选择“ Internet协议版本4(TCP / IPv4)”
  2. Click “Properties”点击“属性”
  3. Select “Use the Following IP Address”选择“使用以下IP地址”
  4. Enter the relevant details from earlier输入先前的相关详细信息
  5. Select “Use the Following DNS Server Addresses”选择“使用以下DNS服务器地址”
  6. Enter the relevant details from earlier输入先前的相关详细信息
  7. Click “OK”点击“确定”

致谢: (Acknowledgements:)

TaxiCat helped troubleshoot the firewall, router, and port forwarding.

TaxiCat帮助解决了防火墙,路由器和端口转发问题。

This article helped suggest TeamViewer.

本文有助于建议TeamViewer。

This article helped schedule the server.

本文有助于安排服务器。

This article helped set up the static IP address.

本文有助于设置静态IP地址。

翻译自: https://medium.com/swlh/how-to-set-up-a-jupiter-notebook-server-and-access-it-from-a-local-or-remote-network-on-windows-d335c5ba490d


http://www.taodudu.cc/news/show-863386.html

相关文章:

  • 无监督学习 k-means_监督学习-它意味着什么?
  • logistic 回归_具有Logistic回归的优秀初学者项目
  • 脉冲多普勒雷达_是人类还是动物? 多普勒脉冲雷达和神经网络的目标分类
  • pandas内置绘图_使用Pandas内置功能探索数据集
  • sim卡rfm_信用卡客户的RFM集群
  • 需求分析与建模最佳实践_社交媒体和主题建模:如何在实践中分析帖子
  • 机器学习 数据模型_使用PyCaret将机器学习模型运送到数据—第二部分
  • 大数据平台蓝图_数据科学面试蓝图
  • 算法竞赛训练指南代码仓库_数据仓库综合指南
  • 深度学习 图像分类_深度学习时代您应该阅读的10篇文章了解图像分类
  • 蝙蝠侠遥控器pcb_通过蝙蝠侠从Circle到ML:第一部分
  • cnn卷积神经网络_5分钟内卷积神经网络(CNN)
  • 基于树的模型的机器学习
  • 数据分析模型和工具_数据分析师工具包:模型
  • 图像梯度增强_使用梯度增强机在R中进行分类
  • 机器学习 文本分类 代码_无需担心机器学习-如何在少于10行代码中对文本进行分类
  • lr模型和dnn模型_建立ML或DNN模型的技巧
  • 数量和质量评价模型_数量对于语言模型可以具有自己的质量
  • mlflow_使用MLflow跟踪进行超参数调整
  • 聊天产生器
  • 深度学习领域专业词汇_深度学习时代的人文领域专业知识
  • 图像分类
  • CSDN-Markdown基本语法
  • python3(一)数字Number
  • python3(二)Numpy
  • python3(三)Matplotlib
  • python3(四)Pandas库
  • python3(六)监督学习
  • pycharm中如何调用Anoconda的库
  • TensorFlow(四)优化器函数Optimizer

如何设置Jupiter Notebook服务器并从任何地方访问它(Windows 10)相关推荐

  1. 拒绝从网络访问这台计算机没有用户,拒绝从网络服务器访问此 (Windows 10) - Windows security | Microsoft Docs...

    拒绝从网络访问这台计算机 05/19/2021 本文内容 适用范围 Windows 10 介绍"拒绝从网络安全策略访问此计算机"设置的最佳方案.位置.值.策略**** 管理和安全注 ...

  2. 确认个人电脑外网ip,并设置阿里云服务器只允许该ip访问

    担心不小心把阿里云服务器地址.业务服务端口push到github上,所以对阿里云服务器进行设置,只允许本机ip访问.没想到还遇到些坑,本人太菜.记录下来 基础环境 个人电脑一台或若干台,只要是连接到一 ...

  3. w10系统服务器属性在哪,win10系统中Windows 设置各项设置详细介绍

    在windows 10操作系统中新增了[windows 设置]面板功能,该面板中包含了win10系统中几乎所有的一些设置,如网络设置.显示外观设置.软件应用设置.隐私设置.更新设置等等,对于刚使用wi ...

  4. 文件共享服务器推荐配置和系统,设置win文件共享服务器

    设置win文件共享服务器 内容精选 换一换 通过云服务器或者外部镜像文件创建私有镜像时,如果云服务器或镜像文件所在虚拟机的网络配置是静态IP地址时,您需要修改网卡属性为DHCP,以使私有镜像发放的新云 ...

  5. 如何在 Windows 10 上安装和配置 SNMP 服务并通过组策略配置 SNMP 设置

    简单网络管理协议或 SNMP用于企业网络上的监控.事件通知和网络设备管理.该协议由一组网络管理标准组成,包括应用层协议.数据库模式和一组数据对象.SNMP 可以从任何网络设备接收各种类型的信息(正常运 ...

  6. win10 休眠设置无效_睡眠模式在Windows 10系统上不起作用?

    睡眠模式在Windows 10上不起作用?据报道,Windows 10存在许多关于睡眠模式的问题,例如睡眠模式丢失或灰显或睡眠模式失效而没有确切的原因. 由于睡眠模式在Windows 10中非常重要, ...

  7. i12蓝牙耳机怎么设置成中文_windows10的蓝牙怎么打开?如何修复Windows 10中的蓝牙问题...

    蓝牙是一项如此出色的技术进步,几乎让人感觉像是魔术.这些电线去哪了?它是如何工作的?至少可以说,从生活中消除电缆和电线时,会感到莫名其妙.但是,像所有伟大的技术一样, 蓝牙也不是没有问题.您可能会猜到 ...

  8. 使用域名访问远程jupyter_如何设置远程访问的Jupyter Notebook服务器-01(之预备知识:什么是端口号?)...

    (这是一篇面向零基础读者的教程) 0.前言 毋容置疑,Jupyter Notebook是统计.数据分析和机器学习的利器,使用起来非常方便和高效. 在上一讲中,我们讨论了如何安装和使用Jupyter N ...

  9. Windows配置远程访问的Jupyter Notebook服务器

    Windows配置远程访问的Jupyter Notebook服务器 jupyter notebook --generate-config jupyter notebook jupyter notebo ...

最新文章

  1. 死锁产生原因-竞争资源引起进程死锁
  2. win10 更新pip
  3. Leetcode 74. 搜索二维矩阵 (每日一题 20210907)
  4. golang学习笔记:Interface类型断言详情
  5. SQL统计指定的一列多少种取值
  6. Visual Studio 2010 实用功能总结图解
  7. 常见RPM,YUM,DNF指令
  8. Linux运维之道之网络基础学习1.0
  9. 有关 VS winform 开发问题
  10. 深度学习系列43:引入注意力的SAGAN/BigGAN和big_sleep
  11. Web前端——CSS基础样式
  12. ATX电源的基本描述
  13. 云基础设施自研,阿里云腾讯云华为云亮出啥高招?
  14. 【洛谷 P5850】 calc加强版(生成函数+NTT)
  15. 编译filament
  16. Chrome浏览器导出Excel,失败-网络错误
  17. 很猛很疯狂,北京楼市促销十年少见 房价下跌论渐占上风
  18. 弹指流连间,在梦中轻拾爱的碎片
  19. 文献全文免费下载心得
  20. 【HDOJ】4043 FXTZ II

热门文章

  1. webpack+vue+vueRouter模块化构建完整项目实例详细步骤-入门篇
  2. Windbg学习 (0x0007) 命令-会话控制
  3. px, dip, dp,sp使用场景
  4. 转:MVC3系列:~Html.BeginForm与Ajax.BeginForm
  5. 代码小结:时区的时间问题
  6. Android应用启动后自动创建桌面快捷方式
  7. Cocoa Touch国际化
  8. idea会抛出Unable to import maven project: See logs for details错误
  9. mysql 半径,MySQL基于距离半径的搜索和区域搜索POI实践
  10. Special Permutation CodeForces - 1352G(构造)