Linux设置允许root账户登录SSH
编辑文件/etc/ssh/sshd_config, 找到下面这行: #PermitRootLogin prohibit-password 改成 PermitRootLogin yes 即可。记得去掉PermitRootLogin前面的注释符#. 然后,执行下面的命令即可生效: systemctl restart ssh
Read more编辑文件/etc/ssh/sshd_config, 找到下面这行: #PermitRootLogin prohibit-password 改成 PermitRootLogin yes 即可。记得去掉PermitRootLogin前面的注释符#. 然后,执行下面的命令即可生效: systemctl restart ssh
Read more准备工作 除非你是物理服务器,以及没有用过奇奇怪怪定制或修改的内核的 KVM 构架的 VPS 和云主机,否则升级大版本更新内核是有一定机率导致 Grub 加载失败的,切记备份重要数据! OpenVZ 6 和 LXC 构架的 VPS 是无法升级的,因为他们没有自己独立的内核 再强调一遍,一定要备份重要数据! 以下操作需要在 root 用户下完成,请使用 sudo -i 或 su root 切换到 root 用户进行操作 更新系统 首先需要更新你当前的系统 apt update apt upgrade -y…
Read moreV2Ray Docker Image by Teddysun: https://hub.docker.com/r/teddysun/v2ray 1. Pull the image: docker pull teddysun/v2ray 2.create a configuration file /etc/v2ray/config.json in host at first: mkdir -p /etc/v2ray A sample in JSON like…
Read more官网地址:https://hub.docker.com/r/technosoft2000/calibre-web 1.获取 Docker 镜像: docker pull technosoft2000/calibre-web 启动 calibre-web: docker create –name=calibre-web –restart=always \ -v /data/calibre/books:/books \ -v /data/calibre/config:/calibre-web/config \ -e USE_CONFIG_DIR=true \ -e SET_CONTAINER_TIMEZONE=true \ -e CONTAINER_TIMEZONE=Asia/Shanghai \ -e…
Read morehttps://github.com/cppla/ServerStatus 服务端 mkdir /serverstatus cd /serverstatus mkdir plugin cd plugin curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/Dockerfile-telegram -O curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/bot-telegram.py -O cd /serverstatus curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/Dockerfile -O curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/docker-compose-telegram.yml -O nano docker-compose-telegram.yml…
Read more