-
Object Oriented: Users whose HPC cannot connect to the Internet normally
-
Why use vscode instead of putty, mobaxterm and other terminals:
- vscode can visualize a variety of special files directly on the cluster, such as PDF, xlsx, csv, markdown...
- vscode can debug python and R code directly on the cluster
- vscode can replace VIM with the writing method of conventional IDE, and can also automatically complete ......
- vscode local configuration:
- Download and install vscode
- Install remote-SSH, Simplified Chinese expansion package
- vscode cluster configuration:
- Download the corresponding version of vscode-server locally: Since the login node of the cluster cannot be connected to the Internet, you need to download vscode-server manually. Connection: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
- Upload vscode-server to the cluster, decompress it, rename it, create the .vscode-swever/bin directory in the commonly used software directory, put the renamed directory in the bin directory, and create .vscode- in the home directory Soft link to the server directory
- Open the remote resource manager of vscode, configure the login node, user name, enter the password and verification code to connect to the cluster
- Download common extension packages: vscode-pdf, R extension, python extension, office extension, markdown extension
- Turn off the vscode automatic update function to prevent the need to re-upload vscode-server due to the vscode version update