admin管理员组

文章数量:1130349

目录

Connect to a remote server

连接到远程服务器

1 Connect to a remote server from PyCharm

1 从PyCharm连接到远程服务器

2 Connection via SSH 

2 通过SSH连接 

Connect to a remote server and open the remote project

连接到远程服务器并打开远程项目

Since PyCharm versions 2022.1+, you can also select a custom path on the remote side for the unpacked backend installer. Use this option if a default directory doesn't have enough space.从PyCharm版本2022.1+开始,您还可以在远程端为解压的后端安装程序选择自定义路径。如果默认目录没有足够的空间,请使用此选项。

3 Connect to a project running on WSL2

3 连接到在WSL 2上运行的项目

Connect to WSL 

连接到WSL 

Connect to a remote server

连接到远程服务器

1 Connect to a remote server from PyCharm

1 从PyCharm连接到远程服务器

Make sure the System requirements for remote development are met.
确保满足远程开发的系统要求。

Since working remotely became a necessity, PyCharm offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.
由于远程工作成为必需品,PyCharm提供了远程开发功能来帮助您远程编码,运行,调试和部署项目。

2 Connection via SSH 

2 通过SSH连接 

The connection to a remote server is done via SSH and can be started right from the welcome screen of PyCharm.
与远程服务器的连接是通过SSH完成的,可以直接从PyCharm的欢迎屏幕启动。

Connect to a remote server and open the remote project

连接到远程服务器并打开远程项目

  1.      1   Ensure you have the Remote Development Gateway plugin enabled.
             确保您已启用
    远程开发网关插件

  2. On the PyCharm welcome screen, select Remote Development. Alternatively, go to File | Remote Development in the main menu.
    在PyCharm欢迎屏幕上,选择Remote Development。或者,转到文件|主菜单中的远程开发。

  3. Under SSH Connection, click New Connection.
    在SSH连接下,单击新建连接。

    If you have the IDE already running on the remote server, and you have a connection link, you can use the Connect to Running IDE section.
    如果IDE已经在远程服务器上运行,并且您有连接链接,则可以使用连接到正在运行的IDE部分。

  4. Configure the remote server connection parameters and click Check Connection and Continue to make sure the connection to the remote server is successful.
    配置远程服务器连接参数,然后单击“检查连接并继续”以确保与远程服务器的连接成功。

    <

目录

Connect to a remote server

连接到远程服务器

1 Connect to a remote server from PyCharm

1 从PyCharm连接到远程服务器

2 Connection via SSH 

2 通过SSH连接 

Connect to a remote server and open the remote project

连接到远程服务器并打开远程项目

Since PyCharm versions 2022.1+, you can also select a custom path on the remote side for the unpacked backend installer. Use this option if a default directory doesn't have enough space.从PyCharm版本2022.1+开始,您还可以在远程端为解压的后端安装程序选择自定义路径。如果默认目录没有足够的空间,请使用此选项。

3 Connect to a project running on WSL2

3 连接到在WSL 2上运行的项目

Connect to WSL 

连接到WSL 

Connect to a remote server

连接到远程服务器

1 Connect to a remote server from PyCharm

1 从PyCharm连接到远程服务器

Make sure the System requirements for remote development are met.
确保满足远程开发的系统要求。

Since working remotely became a necessity, PyCharm offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.
由于远程工作成为必需品,PyCharm提供了远程开发功能来帮助您远程编码,运行,调试和部署项目。

2 Connection via SSH 

2 通过SSH连接 

The connection to a remote server is done via SSH and can be started right from the welcome screen of PyCharm.
与远程服务器的连接是通过SSH完成的,可以直接从PyCharm的欢迎屏幕启动。

Connect to a remote server and open the remote project

连接到远程服务器并打开远程项目

  1.      1   Ensure you have the Remote Development Gateway plugin enabled.
             确保您已启用
    远程开发网关插件

  2. On the PyCharm welcome screen, select Remote Development. Alternatively, go to File | Remote Development in the main menu.
    在PyCharm欢迎屏幕上,选择Remote Development。或者,转到文件|主菜单中的远程开发。

  3. Under SSH Connection, click New Connection.
    在SSH连接下,单击新建连接。

    If you have the IDE already running on the remote server, and you have a connection link, you can use the Connect to Running IDE section.
    如果IDE已经在远程服务器上运行,并且您有连接链接,则可以使用连接到正在运行的IDE部分。

  4. Configure the remote server connection parameters and click Check Connection and Continue to make sure the connection to the remote server is successful.
    配置远程服务器连接参数,然后单击“检查连接并继续”以确保与远程服务器的连接成功。

    <

本文标签: PycharmRemoteDevelopment