1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 set -g mouse on set -g default-command /bin/zsh set -g default-terminal "screen-256color" #set-option -ga terminal-overrides ",*256col*:Tc" set -g @sidebar-tree-command 'tree -C -L 2 -a' set -g terminal-overrides 'xterm*:smcup@:rmcup@' #set -g @plugin 'tmux-plugins/tpm' #set -g @plugin 'tmux-plugins/tmux-sensible' #set -g @plugin 'tmux-plugins/tmux-resurrect' #set -g @plugin 'tmux-plugins/tmux-sidebar' # To copy, left click and drag
debian安装podman 首先最好将debain升级到11debain升级到11 安装podmansudo apt install podman 安装docker-compo
frpc===============使用本机网络============== 1 2 3 4 5 6 docker run -d -it \ --restart unless-stopped \ --name frpc \ -v /etc/frp/frpc.toml:/etc/frp/frpc.toml \ --network=host \ snowdreamtech/frpc
ZSH 配置 安装zshsudo apt install zsh 或者 sudo yum install zsh 安装oh-my-zshwget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh 手动安装插件 1 2 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 运行 zsh 激活 zsh插件管理 安
UPS直通DSM并通知QNAP与PVE PVE: DSM QNAP PVE -> CONSOLE 1 2 3 4 apt install nut -y nano /etc/nut/nut.conf MODE=netclient nano /etc/nut/upsmon.conf 在MONITOR小节加入 1 MONITOR ups@10.8.0.2 1 upsmon pass slave systemctl start nut-client && systemctl enable nut-client upsc ups@10.8.0.2 # 应该显
LXC容器Alpine新系统配置 (以alpine 12为例) 替换源sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories apk update && apk upgrade 安装scpapk add openssh-client 安装时区设置apk add tzdata 复制上海时区
阿里云ECS变yam肉鸡处理过程 修复步骤 关闭Redis: /etc/inti.d/redis* stop 关闭crontab: service crond stop 查看定期任务 crontab -l 删除定期任务 crontab -r 删除/opt/yam 删
自行签发SSL证书 cd ~ openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout ssl.key -out ssl.crt -subj ‘/CN=*.tq.com’ cat ssl.key ssl.crt > ssl.pem openssl pkcs12 -export -out ssl.pfx -inkey ssl.key -in ssl.crt (密码留空) sudo mv ssl.* /etc/nginx/ssl 编辑nginx.conf,在server