diff --git a/content/blog/nerd-unlocked.md b/content/blog/nerd-unlocked.md index 0a4891c..b52d6b0 100644 --- a/content/blog/nerd-unlocked.md +++ b/content/blog/nerd-unlocked.md @@ -42,7 +42,7 @@ I learnt about ani-cli from Bugswriter YouTuber, and quickly jumped to it, insta {% end %} {% paragraph(class="m-8") %} -We made the Discord server to give support to new users trying ani-cli. But the irony is, we were giving more Linux-related advice than the actual ani-cli problem. The majority of people were from Windows, so you can deduce it. We were sharing knowledge, and this also increased my vocabulary and my grammar. English is not my first language. I learned about servers, home labs, etc. And fast forward to here, I am writing this blog for my website, which is hosted on a server I bought (stay tuned to how I set up my server). +We made the Discord server to give support to new users trying ani-cli. But the irony is, we were giving more Linux-related advice than the actual ani-cli problem. The majority of people were from Windows, so you can deduce it. We were sharing knowledge, and this also increased my vocabulary and my grammar. English is not my first language. I learned about servers, home labs, etc. And fast forward to here, I am writing this blog for my website, which is hosted on a server I bought ({{ link(text="how I set up my server",href="/blog/server-setup-intro/")}}). {% end %} {% paragraph(class="m-8") %} diff --git a/content/blog/server-setup-intro.md b/content/blog/server-setup-intro.md new file mode 100644 index 0000000..aef74f2 --- /dev/null +++ b/content/blog/server-setup-intro.md @@ -0,0 +1,22 @@ ++++ +title = "Server Setup: Back Story" +date = 2025-06-14 +extra.image = "assets/server-setup.png" +description = "My Motivation Behind Setting Up a Server." ++++ + +**Short Answer: Cause I like it!** + +{% paragraph(class="m-8") %} +I purchased my first computer, a {{ link(text="Raspberry Pi 4,",href="https://raspberrypi.com/products/raspberry-pi-4-model-b/specifications/") }} after landing my first job. This was during the Raspberry Pi shortages following COVID-19, and it cost me around {{ cost(amount=17500) }}. Being somewhat new to Single Board Computer, I was eager to try out the Raspberry Pi 4. Additionally, I bought a 2 TB external HDD, which I'm still using for storage. People often asked me why I chose to set up a home server instead of just buying a cheap VPS. I explained that it is a matter of personal preference and you can pull the plug as a last resort. I have configured various services like Nextcloud, Servarr, and Jellyfin. To access them publicly, I utilized {{ link(text="Cloudflare Tunnel,",href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/") }} and everything was running smoothly. +{% end %} + +{% paragraph(class="m-8") %} +I signed up for the {{ link(text="Oracle Free Tier",href="https://www.oracle.com/cloud/free/") }} because I noticed in the Cloudflare Tunnel Terms of Service that using sites that serve media is prohibited. However, since {{ link(text="Clouldflare have removed serving media restriction",href="https://blog.cloudflare.com/updated-tos/") }} from their Terms, it might be worth trying again. The motive for buying VPS is to set up {{ link(text="Tailscale VPN",href="https://tailscale.com/") }} to access my services publicly. The server I deployed is ARM-based with 4 cores, 24 GB of RAM, and 200 GB of storage, all of which fall within the limits of their Free Tier. +{% end %} + +{{ image(url="assets/oracle-free-tier.webp",alt="Oracle Free Tier Server") }} + +{% paragraph(class="m-8") %} +I purchased a second-hand {{ link(text="Lenovo M720q mini-PC",href="https://icecat.biz/en-in/p/lenovo/10t7001hus/thinkcentre-pcs-workstations-m720q-59221980.html") }} with CPU upgraded to i5-8500 (it comes with i5-8400T from the factory) in May 2024 which cost me around {{ cost(amount=17848) }} to replace my Raspberry Pi 4. The performance upgrade was significant; for example, Nextcloud became more responsive, and Jellyfin can now transcode faster than I can watch. My download speed is primarily limited by my internet connection. I also bought a gigabit switch and repurposed the Raspberry Pi 4 for home monitoring. It now runs Pi-hole and Home Assistant. Additionally, I created two ESPHome nodes: one monitors the conditions inside the server cabinet, while the other tracks the environmental conditions outside. Recently I sold my Raspberry Pi 4 and purchased a {{ link(text="Raspberry Pi 5",href="https://www.raspberrypi.com/products/raspberry-pi-5/") }} with additional peripherals for {{ cost(amount=12633) }}, migrating all the services from the Raspberry Pi 4 to the Raspberry Pi 5. +{% end %} diff --git a/static/assets/oracle-free-tier.webp b/static/assets/oracle-free-tier.webp new file mode 100644 index 0000000..e1cabb0 Binary files /dev/null and b/static/assets/oracle-free-tier.webp differ diff --git a/static/assets/resume.pdf b/static/assets/resume.pdf index 607fb70..a20755f 100644 Binary files a/static/assets/resume.pdf and b/static/assets/resume.pdf differ diff --git a/static/assets/server-setup.png b/static/assets/server-setup.png new file mode 100644 index 0000000..e17c853 Binary files /dev/null and b/static/assets/server-setup.png differ diff --git a/templates/shortcodes/cost.html b/templates/shortcodes/cost.html new file mode 100644 index 0000000..f258db7 --- /dev/null +++ b/templates/shortcodes/cost.html @@ -0,0 +1,7 @@ +{%- set usd_rate = 0.012 -%} +{%- set eur_rate = 0.010 -%} + +{%- set amount_in_usd = amount * usd_rate -%} +{%- set amount_in_eur = amount * eur_rate -%} + +₹{{ amount }} (${{ amount_in_usd | round }} or €{{ amount_in_eur | round }}) diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html new file mode 100644 index 0000000..8e4a8e2 --- /dev/null +++ b/templates/shortcodes/image.html @@ -0,0 +1,10 @@ +
+ {{ page.title }} +