Download CMake from: https://cmake.org/download/
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
Latest Update: May 19th, 2024
This gist contains all the steps required to:
CUDA 11.8 and
CUDA 12.1Environment Modules is a package that provides for the dynamic modification of a user's environment via modulefiles. You can find more on it at https://modules.readthedocs.io/en/latest/
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
#!/bin/sh | |
# | |
# This script should be run via curl: | |
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# or via wget: | |
# sh -c "$(wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# or via fetch: | |
# sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# | |
# As an alternative, you can first download the install script and run it afterwards: |
Methods is from https://github.com/Natizyskunk/ssh2-streams/commit/e1db386ff9b0fc145c67dc13ada3e969d59cc51f#diff-11c2413775403ed66594f387ae0a38ec06ed746902424f86c7cbbbc7e395f4ca
.
change the lines in .vscode-server/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js
...
...
// add after line No. 2730
// Fix error No such file.
options.autoDestroy = false;
...
匹 | |
张 | |
座 | |
回 | |
场 | |
尾 | |
条 | |
个 | |
首 | |
阙 |
1. Start with checking the port allocation and confirming the port you want to allow access to isn't already being used, | |
`sudo semanage port -l | grep http_port_t` | |
2. Allow access to port | |
`sudo semanage port -a -t http_port_t -p tcp 12345` | |
3. Check firewall ports passthrough | |
`sudo firewall-cmd --list-all` | |
4. Add port (and make it permanent) | |
`sudo firewall-cmd --zone=public --add-port=12345/tcp --permanent` | |
5. Reload firewall for the changes to take effect | |
`sudo firewall-cmd --reload` |