This commit is contained in:
eric
2022-09-24 12:08:36 +08:00
parent 88d71a0eec
commit fc72d58faa
6 changed files with 217 additions and 9 deletions

View File

@@ -0,0 +1,75 @@
## 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
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041517846.png)
--
## 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
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041529285.png)
It's fun to be able to access servers in other countries, and your own home server, via ssh at any time 🙃

75
en-homelab/test2.md Normal file
View File

@@ -0,0 +1,75 @@
## Start tossing my homelab
> The initial reason
I want to start tossing `homelab` is because the cost of cloud servers is relatively expensive. As an individual user, without a business model, I want to save my budget as much as possible and use open source Github works to build a service for my own use.
After learning about `frp`, an open source intranet penetration tool, I tried it and found that it can well resist the interference and idleness of broadband operators. Wait for the non-dedicated server hardware to be used effectively.
---
## Hosting and configuration
> I purchased 3 mini hosts of about 145$.
The mac mini and desktop hosts at home are productivity tools and cannot be used as servers, but professional servers , and there are power and noise problems, so focus on `mini pc`:
- cpu performance can be used,
- memory preferably > 16gb
- hard disk capacity is best 512gb
On Chinese e-commerce sites, there have been many years like this I bought a total of 3 mini pcs, and the table is organized as follows:
| Website | Brand | Pictures | 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& | |
| JD.com | `konka` | <img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041502087.png" title="" alt ="" width="202"> | 145$ | KAMRUI 199$ | GK3V 125$ |
| Taobao | si.myqcloud.com/202209041504005.png" title="" alt="" width="212"> | 159$ | Beelink 239$ | Belink 249$ | |
---
## openwrt router
router's e-commerce website in China `Taobao` bought an openwrt router: `sft1200` travel router of `gl-inet`
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041520749.png " title="" alt="" width="170">
---
## Server deployment
For linux server, I choose a web control panel: `aapanel`[^1], this is the Chinese company `pagoda panel` The international version
will be replaced someday in the future, after all, there may be privacy issues, or other indescribable surveillance
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi .myqcloud.com/202209041517846.png)
---
## Build a wordpress blog
> Record the building and use process
of homelab Purchased a domain name in `namecheap`: homelabbity.org, and then performed the following operations:
- dns points to `cloudfare`
- apply ssl certificate: `Let's Encrypt`, encrypt website
- 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">
xx
---
## Finally
![](https://hackrobot -1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202209041529285.png)
It is a fun thing to be able to access servers in other countries and servers in your own home through ssh at any time 🙃