- 🍓 一个爱写代码的旅游爱好者。
Hii ☄️,
- I’m ZiHang Gao
Hii ☄️,
0x01 起因 一直有把公司电脑的文件同步到家里 NAS 上需求, 之前一直使用 Google Drive 来做同步, 还买了 G Suite, 但是最近 Google Drive 政策修改不支持无限转存了, G Suite 也全部改成了 Google Workspace, 所以我取消了 G Suite 的订阅。 后来打算使用 OneDrive 来做数据同步的, 但是一直对微软的东西无感 (不要打我!)。之后在网上兜兜转转看到了 Resilio Sync, 感觉是个很好玩的东西, 但是感觉价格有点高 (60美刀), 进一步发现了 Syncthing, 相当于开源版的 Resilio Sync, 然后就入坑了, 目前体验了一段时间, 感觉各方面体验都还不错。 0x02 Syncthing 搭建 下载安装 官网下载地址: https://syncthing.net/downloads Github: https://github.com/syncthing/syncthing 目前官方支持大部分常用平台: Linux/Windows/macOS/FreeBSD/OpenBSD … 因为我使用的 macOS, 所以满心欢喜的从官方下载下来了 macOS 的安装包, 结果不能用 … 但是这点小困难还是难不倒咱这个小机灵鬼的, 在官方的 Github 找到了 macOS 的仓库 https://github.com/syncthing/syncthing-macos 一看支持 homebrew 安装, 这就省事多了 (原本打算看看有啥问题, 打算自己编译一遍呢 ~)...
0x01 前言 最近打算改造下家里服务器的环境, 之前一直使用 PVE, 没有使用过 ESXI 虚拟系统, 普遍都说 ESXI 比 PVE 更加稳定, 所以这次打算在 J3455-ITX 上安装 ESXI 系统试试, 没想到在第一步安装上就遇到了问题 😂, 直接安装从 VMware 上下载的 7.0 系统镜像提示 no network adapters, 查了下文档是因为 J3455-ITX 使用的 r8168 螃蟹网卡在 ESXI 没有驱动, 需要自己打包驱动。 0x02 准备 需要准备的一切都是现成的, 不需要写一行代码, 需要准备以下东西: Windows 操作系统,建议使用 Windows 10 或 Windows server 2016/2019 下载 ESXi-Customizer-PS 确定网卡型号 0x03 开始打包 以管理员身份打开 Windows PowerShell, 安装依赖 $ Install-Module -Name PowerShellGet -Force $ Install-Module -Name VMware....
GDB, or the GNU Project Debugger, allows you to debug a program while it is executing. GDB can start a program, stop it on specified conditions, examine the execution environment when the program is stopped and allow you to change things inside the running program itself. GDB Reference Documentation Configuring GDB Let’s get started by changing to the php-src directory $ cd ~/php-src The .gdbinit script is provided with the PHP source distribution....