Rent server to run code, pycharm connect to server to run code, Xshell connect to server to run code

1. Server 

1.1 Registration

It is recommended to use the Juchi cloud server, which is billed on time and according to the volume. The server comes with an optional mirror image, and the project to be run can be uploaded to the network disk

Registration URL: Juchi Cloud

 

 1.2 Lease

Choose the right lease

1.3 Select mirror

Choose the right system image

1.4 Copy command

 Enter the rental list, copy the command

1.5 Network disk use 

The network disk can upload the code to be run

Two, xshell use

2.1 download

https://www.xshell.com/zh/all-downloads/ 

1.2 connection

 Enter your user name

 enter password

1.3 use

Check the version environment and enter the myconda environment by default. To create a new environment, please refer to

 Enter the network disk file and execute the file to be run

3. pycharm connects to the server

3.1 Enter SSH interpreter

Open pycharm, open the interpreter as follows, and enter the SSH interpreter

3.2 connection

Enter the relevant information in turn and connect

 

enter password

3.3 Environment Configuration

select interpreter

 Select the interpreter in the environment

The code path on the remote server, the path where the local files are synchronized to the files in the server network disk, it is recommended to modify it to the /mnt directory, /mnt is the default network disk mount directory, the network disk will not be emptied when the machine is released, and can be stored for a long time

3.4 Synchronous operation

After selection, the items in the local path will be automatically synchronized to the server 

Run successfully. 

Learning Navigation: https://www.xqnav.top/ icon-default.png?t=N5F7https://www.xqnav.top/

Guess you like

Origin blog.csdn.net/qq_43874317/article/details/131252058
Recommended