会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卧鸟藏雀
davidhhuan@gmail.com
首页
新随笔
订阅
管理
2025年6月11日
amazon lightsail搭建LAMP_PHP_8站点,定时刷新lets encrypt免费证书
摘要: 证书更新脚本 这个脚本会自动检查certbot是否存在,如果不存在则尝试安装,并执行证书更新。 sudo vi /opt/bitnami/scripts/letsencrypt/renew.sh 脚本内容如下: #!/bin/bash # 获取certbot实际路径 CERTBOT=$(which
阅读全文
posted @ 2025-06-11 21:38 DavidHHuan
阅读(1)
评论(0)
推荐(0)
2025年6月1日
win11结合wsl2搭建开发环境之八:编译安装redis8.0
摘要: 安装准备 apt install build-essential tcl -y 下载源码 wget https://download.redis.io/releases/redis-8.0.0.tar.gz 解压安装 tar zxvf redis-8.0.0.tar.gz cd redis-8.0.
阅读全文
posted @ 2025-06-01 11:57 DavidHHuan
阅读(25)
评论(0)
推荐(0)
win11结合wsl2搭建开发环境之七:编译安装mysql8.4
摘要: 安装准备 curl -O http://launchpadlibrarian.net/646633572/libaio1_0.3.113-4_amd64.deb dpkg -i libaio1_0.3.113-4_amd64.deb apt install libaio-dev 下载mysql wg
阅读全文
posted @ 2025-06-01 11:12 DavidHHuan
阅读(7)
评论(0)
推荐(0)
2025年3月18日
检测域名证书的有效期
摘要: curl方式 curl --insecure -v https://www.baidu.com 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }'
阅读全文
posted @ 2025-03-18 09:38 DavidHHuan
阅读(6)
评论(0)
推荐(0)
2025年1月1日
win11结合wsl2搭建开发环境之六:基于wsl子系统Ubuntu24.04,编译postgresql-17
摘要: 基于wsl子系统Ubuntu24.04,编译postgresql-17 前置准备 apt-get install build-essential libreadline-dev zlib1g zlib1g-dev bison flex libpq-dev libicu-dev 添加用户 adduse
阅读全文
posted @ 2025-01-01 18:01 DavidHHuan
阅读(49)
评论(0)
推荐(0)
2024年12月28日
win11结合wsl2搭建开发环境之五:常用命令alias
摘要: ~/.bash_aliases文件内容 如果文件不存在,则创建一个 # nginx alias nginxStart='/usr/bin/systemctl start nginx' alias nginxStop='/usr/bin/systemctl stop nginx' alias ngin
阅读全文
posted @ 2024-12-28 16:18 DavidHHuan
阅读(36)
评论(0)
推荐(0)
win11结合wsl2搭建开发环境之四:基于wsl子系统Ubuntu24.04,编译安装php7.4
摘要: 基于wsl子系统Ubuntu24.04,编译安装php7.4 前置准备 安装依赖 apt install zlib1g \ zlib1g-dev \ libpcre3 \ libpcre3-dev \ libfreetype6 \ libfreetype6-dev \ libssl-dev \ li
阅读全文
posted @ 2024-12-28 16:10 DavidHHuan
阅读(95)
评论(0)
推荐(0)
win11结合wsl2搭建开发环境之三:基于wsl子系统Ubuntu24.04,编译安装php5.6
摘要: 基于wsl子系统Ubuntu24.04,编译安装php5.6 前置准备 安装依赖 apt install unzip \ gcc g++ \ openssl \ libssl-dev \ iptables \ libpcre3 \ libpcre3-dev \ libpam0g-dev \ libx
阅读全文
posted @ 2024-12-28 16:08 DavidHHuan
阅读(150)
评论(0)
推荐(0)
win11结合wsl2搭建开发环境之二:基于wsl子系统Ubuntu24.04,编译安装nginx
摘要: 基于wsl子系统Ubuntu24.04,编译安装nginx 使用PowerShell启动子系统 wsl -d Ubuntu-24.04 1. 更换软件镜像源 # 备份 cp /etc/apt/sources.list.d/ubuntu.sources /tmp/ubuntu.sources.bak
阅读全文
posted @ 2024-12-28 16:04 DavidHHuan
阅读(258)
评论(0)
推荐(1)
win11结合wsl2搭建开发环境之一:win11使用wsl将Ubuntu24.04到D盘
摘要: 1. 电脑设置 1.1 虚拟化设置 如果没有开启的话,需要到BIOS里面设置的。具体根据自己电脑网上打一下怎么开启虚拟化(为什么主板出厂的时候,不默认根据CPU开启呢?) 1.2 系统设置 控制面板->程序->启用或关闭 windows 功能,开启 Windows 虚拟化和 Linux 子系统(WS
阅读全文
posted @ 2024-12-28 16:03 DavidHHuan
阅读(2390)
评论(0)
推荐(1)
2024年12月20日
rustdesk自建远程桌面
摘要: 1. 参考文章 https://rustdesk.com/docs/zh-cn/self-host/rustdesk-server-oss/install/ 2. 软件 最新版本,请参考 服务端: https://github.com/rustdesk/rustdesk-server/release
阅读全文
posted @ 2024-12-20 22:33 DavidHHuan
阅读(367)
评论(0)
推荐(0)
2024年11月23日
CentOS7搭建公司内网DNS服务器
摘要: 参考文章 1 官方下载地址 https://www.isc.org/download/ 2 不同子域名,如何直接做转发 https://serverfault.com/questions/18748/overriding-some-dns-entries-in-bind-for-internal-n
阅读全文
posted @ 2024-11-23 16:33 DavidHHuan
阅读(79)
评论(0)
推荐(0)
2024年10月19日
ubuntu24编译安装python3.13
摘要: 相关下载 Python: https://www.python.org/ftp/python/3.13.0/Python-3.13.0.tgz OpenSSL: https://openssl-library.org/source/old/index.html 这里说明一下,Python3.13使用
阅读全文
posted @ 2024-10-19 23:55 DavidHHuan
阅读(1151)
评论(0)
推荐(0)
VirtualBox7.1搭建ubuntu24 server
摘要: Ubuntu24 server版的安装过程就不多说的,网上大把。可参考: https://www.cnblogs.com/yinzhengjie/p/18253463 现在说下配置过程 上网配置 诉求 虚拟机能上外网 宿主机跟虚拟机能互联 VirtualBox网卡设置 Host-only网络 NAT
阅读全文
posted @ 2024-10-19 18:46 DavidHHuan
阅读(260)
评论(0)
推荐(0)
2024年10月13日
docker desktop配置文件路径
摘要: 参考文章: https://docs.docker.com/desktop/settings/ Mac: ~/Library/Group Containers/group.com.docker/settings.jsonWindows: C:\Users\[USERNAME]\AppData\Roa
阅读全文
posted @ 2024-10-13 12:24 DavidHHuan
阅读(756)
评论(0)
推荐(0)
下一页