要开启 Linux 服务器的 SSH root 远程登录,需修改 SSH 配置文件 sshd_config。操作步骤如下:1. 编辑配置文件通过命令行输入以下指令打开 SSH 配置文件:sudo nano /etc/ssh/sshd_config (也可使用 vim)2. 开启 root 登录找到 PermitRootLogin 选项,将其修改为:PermitRootLogin yes(注:如果该行前面有 # 注释符,需要删掉它)3. 重启 SSH 服务保存并退出编辑器后,重启 SSH 服务使配置生效:sudo systemctl restart sshd 或 sudo service sshd restart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #创建一个俩G 大小的swap file | |
| sudo fallocate -l 2G /swapfile2 | |
| # 添加权限 | |
| sudo chmod 600 /swapfile2 | |
| #格式化 | |
| sudo mkswap /swapfile2 |
export http_proxy="http://Clash:@192.168.23.1:7890"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add Docker's official GPG key: | |
| sudo apt update | |
| sudo apt install ca-certificates curl | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc | |
| sudo chmod a+r /etc/apt/keyrings/docker.asc | |
| # Add the repository to Apt sources: | |
| sudo tee /etc/apt/sources.list.d/docker.sources <<EOF | |
| Types: deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is probably the best Mouse and Keyboard Recorder on the market. | |
| Works only on PC. | |
| To get it first download Basic Version from JitBit official site: | |
| https://www.jitbit.com/macro-recorder/purchase/ | |
| Then register as: | |
| Username: On HAX | |
| Serial key: ENokcYSKQS1XsrhrqKC6j+ieiSJkwolCD9ZBFro59VlmwKz/J4AfCP7+ | |
| or | |
| Username: www.onhax.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm /etc/pve/corosync.conf | |
| # 把/etc/pve/nodes 里的node区别删除 | |
| Clean up the cluster configuration: | |
| ```bash | |
| rm -rf /etc/corosync/* | |
| ls /etc/pve/nodes #show all nodes data in folders, delete the other nodes folders | |
| rm -rf /etc/pve/nodes/<other_node_name> #just to be sure to delete data of other nodes | |
| ``` | |
| Reboot, just in case... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": | |
| [ | |
| { | |
| "command": | |
| { | |
| "action": "globalSummon", | |
| "desktop": "any", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ | |
| http://mirrors.aliyun.com/ubuntu/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.8" | |
| services: | |
| Aria2-Pro: | |
| container_name: aria2-pro | |
| image: p3terx/aria2-pro | |
| environment: | |
| - PUID=65534 | |
| - PGID=65534 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://004430.xyz:80/announce,http://0123456789nonexistent.com:80/announce,http://1337.abcvg.info:80/announce,http://207.241.226.111:6969/announce,http://207.241.231.226:6969/announce,http://aboutbeautifulgallopinghorsesinthegreenpasture.online:80/announce,http://bittorrent-tracker.e-n-c-r-y-p-t.net:1337/announce,http://bt1.archive.org:6969/announce,http://bt2.archive.org:6969/announce,http://bvarf.tracker.sh:2086/announce,http://nyaa.tracker.wf:7777/announce,http://retracker.spark-rostov.ru:80/announce,http://seeders-paradise.org:80/announce,http://share.hkg-fansub.info:80/announce.php,http://t.overflow.biz:6969/announce,http://torrent.hificode.in:6969/announce,http://torrentsmd.com:8080/announce,http://tr.highstar.shop:80/announce,http://tr.nyacat.pw:80/announce,http://tracker.bittor.pw:1337/announce,http://tracker.bt4g.com:2095/announce,http://tracker.dhitechnical.com:6969/announce,http://tracker.dler.com:6969/announce,http://tracker.dler.org:6969/announce,http://tracker.mywaifu.best:6969/announce,http://t |
NewerOlder