经过尝试,以下方法无法在实际应用中获得良好的效果,已经弃之不用。全部转而使用iptables配置防火墙,同时弃 […]
获取公网地址并提取ip字符串
获取公网地址 用sed命令删除所有中文和ip字符串前的多余文本内容,以及行尾空格 编辑建立
在Docker下部署静态网站
先在网站页面文件根目录下创建Dockerfile,并粘贴以下代码 在Dockerfile文件目录下执行以下命令 […]
在Docker下部署WordPress
建立对应文件夹 生成docker-compose.yml文件 粘贴以下代码
Using key pair for ssh login
Create related file and directory under user home direc […]
How to automatically choose the best ubuntu source
Backup the original file Install python environment ins […]
在Docker下部署Nginx Proxy Manager(NPM)
Prepare the directory first Copy and paste the below co […]
在Docker下部署server status
先通过Telegram的@getuserID获取Chat id,再通过@BotFather创建机器人获取Bot […]
在Docker下部署Uptime Kuma
建立对应文件夹 建立docker-compose.yml文件并粘贴以下代码