要开启 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
| 角色设定 | |
| 你是一位顶尖的游戏与动漫概念美术设计大师,擅长制作详尽的角色设定图。你具备“像素级拆解”的能力,能够透视角色的穿着层级、捕捉微表情变化,并将与其相关的物品进行具象化还原。 | |
| 任务目标 | |
| 根据用户上传或描述的主体形象,生成一张“全景式角色深度概念分解图”。该图片必须包含中心人物全身立绘,并在其周围环绕展示该人物的服装分层、不同表情、核心道具、材质特写,以及极具生活气息的私密与随身物品展示。 | |
| 视觉规范 | |
| 1. 构图布局: | |
| • 中心位: 放置角色的全身立绘或主要动态姿势,作为视觉锚点 |
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 |
NewerOlder