76 lines
3.4 KiB
Markdown
76 lines
3.4 KiB
Markdown
## Start tossing my homelab
|
|
|
|
> Initial reason
|
|
|
|
I wanted to start tossing `homelab` because the cost of cloud servers is relatively expensive, as an individual user, in the absence of a business model, I wanted to save as much budget as possible, using open source github works to build services for their own use.
|
|
|
|
After learning about `frp`, an open source intranet penetration tool, I tried it and found that it can be very good against the interference of broadband operators and idle, the home of various laptops/hosts and other non-dedicated server hardware to use effectively.
|
|
|
|
---
|
|
|
|
## Host and configuration
|
|
|
|
> Purchased 3 mini-hosts for around $145
|
|
|
|
Home mac mini and desktop host, are productivity tools, can not be used as a server, and professional servers, and power and noise problems, so focus on the `mini pc`:
|
|
|
|
- cpu performance can be used on the line,
|
|
|
|
- Memory is best > 16gb
|
|
|
|
- Hard disk capacity is best 512gb
|
|
|
|
In China's e-commerce sites, there are many years of such mini pc, I bought a total of 3 units, the table is organized as follows:
|
|
|
|
| website | brand | image | price | amazon price | aliexpress price |
|
|
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ | ---------------- |
|
|
| Xiaomi Youpin | `Ningmei` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041500584.png" title="" alt="" width="197"> | 174$ | TRIGKEY 199& | |
|
|
| KYOTO | `konka` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041502087.png" title="" alt="" width="202"> | 145$ | KAMRUI 199$ | GK3V 125$ |
|
|
| | `Zero Moment` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041504005.png" title="" alt="" width="212"> | 159 $ | Beelink 239$ | Belink 249$ |
|
|
|
|
---
|
|
|
|
## openwrt router
|
|
|
|
Router purchased an openwrt router from the Chinese e-commerce site `Taobao`: . `gl-inet`'s `sft1200` travel router
|
|
|
|
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041520749.png" title="" alt="" width="170">
|
|
|
|
---
|
|
|
|
## Server deployment
|
|
|
|
For the linux server, I choose a web control panel: 'aapanel'[^1], which is the international version of the Chinese company 'pagoda panel'
|
|
|
|
At some point in the future, I will definitely replace it, after all, there may be privacy issues, or other indescribable monitoring
|
|
|
|

|
|
|
|
--
|
|
|
|
## Build a wordpress blog
|
|
|
|
> Documenting the process of building and using homelab
|
|
|
|
I bought the domain name: homelabbity.org from `namecheap`, and then did the following:
|
|
|
|
- dns pointed to `cloudfare`
|
|
|
|
- Apply ssl certificate: `Let's Encrypt`, to encrypt the site
|
|
|
|
- Self-hosted wordpress: download zip file, run/proxy with `php+nginx
|
|
|
|
- Choose a suitable blog theme
|
|
|
|
- Install seo plugin
|
|
|
|
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041526134.png" title="" alt="" width="244">
|
|
|
|
---
|
|
|
|
## Finally
|
|
|
|

|
|
|
|
It's fun to be able to access servers in other countries, and your own home server, via ssh at any time 🙃
|