Linux
未读
fail2ban 安装
配置文件 [DEFAULT]
bantime = 30m
findtime = 20m
maxretry = 2
banaction = iptables-multiport
action = %(action_mwl)s
ignoreip = 127.0.0.1/8,172.18.0.0/16,1
默认分类
未读
iphone ish 开启ssh
# 设置root密码
passwd apk add openssh
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config # 启动sshd /usr/sbin/sshd ssh-keygen -A #换源
#阿里镜像
sed -i 's/dl-cdn.
php
未读
重写Thinkphp 5|6|8 make:model 为模型自动添加表字段
Thinkphp 重写 make:model 为模型自动添加表字段 的修改 先配置好 数据库配置确保能连上数据库 thinphp php think make:model user --connection=mysql1 php think make:model user -c mysql1 注:当
google 翻译 host
google 翻译 国内找IP https://github.com/Ponderfly/GoogleTranslateIpCheck 以下是可能最快的IP 自行ping 测试 172.253.118.90 translate.googleapis.com
172.253.118.90 transl
php
未读
deepin 编译 php8 + xdebug
deepin系统安装php8 一、deepin系统与php的版本 1.deepin系统的版本 --社区版(20.8) 安装PHP的基础扩展包
记录
未读
1panel 安装第三方商店
1panel 安装第三方商店 注意/opt 为1panel安装位置.如果不是自行修改 wget -P /opt/1panel/resource/apps/local https://mirror.ghproxy.com/https://github.com/okxlin/appstore/arch
php
未读
mac php 8.3.x 8.4.x 编译脚本
bwre 环境安装: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" speed brew install oniguruma pkg-config gettext libi
docker
未读
Rustdesk自建服务器
rustdesk ID服务器 desk.lsmir2.com API服务器 https://desk.lsmir2.com key: 5ZbJXrNU4Gb8QQT8JPoAnb2bnEYlsq8Qpfvo8y4EPlQ= 1Panel 编排. networks:
1panel-networ
docker
未读
dokcer 快速安装 1panel
Centos 7 下载docker-ce的yum源。 安装Docker。 sudo wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
su