feat: 调整目录
This commit is contained in:
0
note/homelabbity/.md
Normal file
0
note/homelabbity/.md
Normal file
75
note/homelabbity/homelab | 开始搭建博客记录.md
Normal file
75
note/homelabbity/homelab | 开始搭建博客记录.md
Normal file
@@ -0,0 +1,75 @@
|
||||
## 开始折腾我的homelab
|
||||
|
||||
> 最初的原因
|
||||
|
||||
想开始折腾`homelab`是因为,云服务器的费用比较昂贵,作为个人用户,在没有进行商业模式的情况下,想尽可能的节省预算,使用开源的github作品搭建服务给自己使用.
|
||||
|
||||
了解到`frp`这个开源的内网穿透工具后,尝试了一下,发现它可以很好的对抗宽带运营商的干扰和闲置,把家里的各种笔记本/主机等非专用服务器硬件有效使用起来.
|
||||
|
||||
---
|
||||
|
||||
## 主机和配置
|
||||
|
||||
> 购买了3台145$左右的mini主机
|
||||
|
||||
家里的mac mini和台式主机,都是生产力工具,无法作为服务器使用,而专业的服务器,又有电力和噪音问题,所以把注意力聚焦在`mini pc`:
|
||||
|
||||
- cpu性能够用就行,
|
||||
|
||||
- 内存最好>16gb
|
||||
|
||||
- 硬盘容量最好512gb
|
||||
|
||||
在中国的电商网站上, 有很多年这样的mini pc,我一共购买了3台,表格整理如下:
|
||||
|
||||
| 网站 | 品牌 | 图片 | 价格 | amazon价格 | aliexpress价格 |
|
||||
| ---- | ------- | ------------------------------------------------------------------------------------------------------------------------- | ---- | ------------- | ------------ |
|
||||
| 小米有品 | `宁美` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041500584.png" title="" alt="" width="197"> | 174$ | TRIGKEY 199& | |
|
||||
| 京东 | `konka` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041502087.png" title="" alt="" width="202"> | 145$ | KAMRUI 199$ | GK3V 125$ |
|
||||
| 淘宝 | `零刻` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041504005.png" title="" alt="" width="212"> | 159$ | Beelink 239$ | Belink 249$ |
|
||||
|
||||
---
|
||||
|
||||
## openwrt路由器
|
||||
|
||||
路由器在中国的电商网站`淘宝`购买了一款openwrt路由器: .`gl-inet`的`sft1200`旅行路由器
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041520749.png" title="" alt="" width="170">
|
||||
|
||||
---
|
||||
|
||||
## 服务器部署
|
||||
|
||||
对于linux服务器,我选择一个web控制面板:`aapanel`[^1],这是中国公司`宝塔面板`的国际版本
|
||||
|
||||
在以后的某一天,我肯定会将它替换掉,毕竟,可能会存在隐私问题,或者其他的不可描述的监控
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 搭建wordpress博客
|
||||
|
||||
> 记录homelab的搭建使用过程
|
||||
|
||||
在`namecheap`购买了域名:homelabbity.org,然后进行了以下操作:
|
||||
|
||||
- dns指向`cloudfare`
|
||||
|
||||
- 申请ssl证书:`Let's Encrypt`,对网站进行加密
|
||||
|
||||
- 自托管wordpress: 下载zip文件,用`php+nginx`运行/代理
|
||||
|
||||
- 选择一个适合的博客主题
|
||||
|
||||
- 安装seo插件
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041526134.png" title="" alt="" width="244">
|
||||
|
||||
---
|
||||
|
||||
## 最后
|
||||
|
||||

|
||||
|
||||
能随时通过ssh访问其他国家的服务器,和自己家中的服务器,是一件挺好玩的事情🙃
|
||||
Reference in New Issue
Block a user