Some tips on use of Linux server
| How to enable tunnel mode in "xshell" and "clash" for remote access to intranet server |
Configuring Clash: First, you need to make sure Clash is configured correctly and functioning properly. You need to obtain Clash’s configuration file (e.g. XXX.yml), which contains the proxy server settings and rules.
- Add a configuration file in “Profiles” on the left side of Clash (drag the configuration file directly) and click to activate.
- Select “Global” in the “Proxies” on the left side of Clash and select the appropriate option below.
- In the “General” at the top of the left side of Clash, turn on “Service Mode”, turn on “TUN Mode”, and turn on “System Proxy”.
| screen command to prevent task interruption due to disconnection |
Here are some useful orders:
screen -S yourname -> Create a new session named yourname
screen -ls -> List all existing sessions
screen -r yourname -> Come back to the session named yourname
screen -d yourname -> Detach session named yourname remotely
screen -d -r yourname -> End the session and return to yourname session
screen -X -S yourname quit -> Kill the session named yourname
| Introduction to Nvidia-smi and description of common commands and parameters |
Here are some useful orders:
_nvidia-smi -> Show all basic information about the current GPU
nvidia-smi -L -> List all aviliable NVIDIA devices