diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2b7749..1d33a52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,14 +9,15 @@ deploy-job: - apt-get install -y rsync openssh-client hugo git sshpass script: - - git clone https://code.be4.pw/fzorb/website - - cd website + - ls - git submodule foreach --recursive git reset --hard && git submodule init && git submodule update --recursive - hugo - mkdir ~/.ssh - ssh-keyscan -p 69 fzorb.xyz >> ~/.ssh/known_hosts - - sshpass -p "$PASSWD" rsync -avzh website/public/ -e 'ssh -p 69' git@fzorb.xyz:/var/www/fzorb.xyz - - sshpass -p "$PASSWD" ssh -p 69 git@fzorb.xyz "chmod 777 -R /var/www/fzorb.xyz" + - sshpass -p "$PASSWD" ssh -p 69 git@fzorb.xyz "rm -rf /var/www/fzorb.xyz/*" + - sshpass -p "$PASSWD" rsync -avzh ./public -e 'ssh -p 69' git@fzorb.xyz:/var/www/fzorb.xyz + - sshpass -p "$PASSWD" ssh -p 69 git@fzorb.xyz "mv /var/www/fzorb.xyz/public/* /var/www/fzorb.xyz" + - sshpass -p "$PASSWD" ssh -p 69 git@fzorb.xyz "rm -rf /var/www/fzorb.xyz/public" only: - main diff --git a/content/_index.md b/content/_index.md index 9cea0be..cabcffb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -7,3 +7,5 @@ type: "page" I am fzorb or any other names you may know me under. This is my personal website where I schizopost occasionally. I am the hostmaster of a few projects. Read more [here](/projects). + +My poorly made videos can be seen [here](https://video.be4.pw/c/f/videos). diff --git a/content/posts/making-a-beta-1.7.3-server.md b/content/posts/making-a-beta-1.7.3-server.md new file mode 100644 index 0000000..b600658 --- /dev/null +++ b/content/posts/making-a-beta-1.7.3-server.md @@ -0,0 +1,69 @@ ++++ +title = 'Making a Beta 1.7.3 Server (with Docker)' +date = 2025-03-06T20:00:46+02:00 +draft = false ++++ + +You miss when Minecraft was simpler? Want to go back to a time before The Adventure Update released? Well, look no further than this guide. I will be guiding you thorugh the entire setup process of a Minecraft Beta 1.7.3 server, with some basic plugins and we'll also be running the server through Docker. So make yourself comfortable and without any further ado, let's begin! + +## Prerequisites +* Some sort of Linux server: + * **A VPS**: There isn't really that much need for huge ammounts of ram, and as such you can probably go with the cheapest host you can find on LowEndTalk which gives you around a gigabyte of ram. Remember, we aren't running a Minecraft server for the latest version, so we can cheap out on RAM. Fun fact: [for a while, MinecraftOnline, the world's oldest Minecraft server, was being run on a box with 1.5GB of RAM!](https://minecraftonline.com/wiki/Hardware#Hemingway). You could also try your luck with a NAT VPS, if you don't mind not having the default port (25565) available. + * **A physical server**: You can probably run this entire setup on an almost 20 year old C2D computer and have acceptable performance. A con would be that you need to port forward, which is getting less and less common as ISPs are implementing CGNAT. If you have CGNAT, you won't be able to port forward. A workaround would be reverse proxying the server, but NAT Masquerading would make it nearly impossible to get a Player's real IP, unless someone implements the [PROXY protocol](https://seriousben.com/posts/2020-02-exploring-the-proxy-protocol/) in the old and obscure Craftbukkit build we're going to be using. Though Playit, a popular tunneling/reverse proxying service, maps every source IP to a random IPv4 127.0.0.0/8 range. + * **Shared hosting**: Just get something decent. I've had a pleasant experience with [WitherHosting](https://witherhosting.com/) a few years ago, but I can't really vouch. Look around and find something decent. +* Some Linux knowledge +* Docker +* (optional) Some networking knowledge +* (optional) Java 8 - you can skip over this if you decide to just use Docker. + +## Getting started. +To run a Minecraft server, you must get a server JAR. We will be using Craftbukkit CB1060, which seems to be a community favorite when it comes to beta 1.7.3 servers. Archive.org hosts a CB1060 build which you can download. But first we'll make a directory. +``` +mkdir /srv/minecraft +cd /srv/minecraft +curl https://archive.org/download/craftbukkit1060/craftbukkit1-7-3%281060%29.jar -o craftbukkit.jar +#and now let's generate the skeleton! +java -Xmx1G -jar craftbukkit.jar +``` + +Alright, now we've generated the server files, click CTRL+C or enter the `stop` command to stop the server. We can't join the server yet! We have to disable authentication and download the AuthMe plugin! + +``` +curl https://mediafilez.forgecdn.net/files/540/724/AuthMe-2.0.jar -o plugins/AuthMe.jar +``` +Installing AuthMe is as simple as that! You can enable sessions within `plugins/AuthMe/config.yml`, which will make it so users don't have to log in again if they've already logged in from that IP in a reasonable timeframe. However, **this is a huge sequrity risk if you have to resort to tunneling services, beware!!!** + +Okay, now to disable authentication, we'll have to edit the `server.properties` file, more specifically line 7, set `online-mode` to false. We can now start the server again via `java -Xmx1G -jar craftbukkit.jar`. + +Now hop on, register with a strong password, and give your account operator status via the `op` command. + +## Docker time! +Firstly, it is a wise idea to move everything in your `/srv/minecraft` server to a `data/` folder, now you may be wondering why I am only using Docker after making the server on bare metal. Well, it's easier to setup a base Minecraft server this way. Okay, enough talking. +``` +mkdir data +mv ./* ./data #ignore whatever error you get, the operation would happen anyways +nano Dockerfile compose.yml +``` + +**Dockerfile** +``` +FROM eclipse-temurin:8-jre-alpine +WORKDIR /data +CMD java -Xmx1G -jar ./craftbukkit.jar +``` + +**compose.yml** +``` +services: + minecraft: + build: . + container_name: minecraft + ports: + - "25565:25565" + volumes: + - "./data:/data" + restart: always +``` + +## Now it's time to expose your server to the internet! +You can simply port forward your server via your router, however if you don't have a dedicated IPv4 address you must use a proxy. See [my proxying guide](https://fzorb.xyz/posts/safely-selfhosting/) if you want to setup your own reverse proxy, or you can just use Playit. diff --git a/content/posts/t620-tc-as-a-desktop.md b/content/posts/t620-tc-as-a-desktop.md new file mode 100644 index 0000000..372a0df --- /dev/null +++ b/content/posts/t620-tc-as-a-desktop.md @@ -0,0 +1,32 @@ ++++ +title = 'Using a 12-year-old HP T620 Thin Client as a Desktop' +date = 2025-03-30T00:14:40+02:00 +draft = false ++++ + +A few years ago, a local second hand computer store was selling T620 thin clients for dirt cheap prices, so impulsively, I bought one. From there, the humble HP T620 lived a hard life as a server for just about anything I wanted to host - git servers, forums, heck, I even once wanted to compile an Android build on it. However, there's one thing I haven't done... use it as a desktop. + +## Why would you even want to do this? +Science, mainly. + +I was morbidly curious how well it would be able to cope as a remote desktop box running 24/7. It's actually kinda suited for this job, with it's low power draw, however, whenever I tried this experiment, I was running my Linux distro of choice (Linux Mint) under KVM, which led to some slight performance loss. + +## Environment: +- 4GB of DDR3 memory +- Quad-Core variant (AMD GX-415TA) +- Linux Mint 22.1 Xia + +## General usage +This box, while it may struggle when running multiple tabs, is actually decently usable. One of the big complaints I have though is how poorly Discord runs on it. Even then Discord is bloated garbage so whatever, it doesn't matter!!! While the animations may be sluggish, the system is decently responsive. I think I might've done a mistake by going with the Cinnamon version of Linux Mint, but it's whatever really. + +## Gaming +I tried a few games on it: +- Grand Theft Auto V: got to the loading screen and then crashed (Proton) +- Grand Theft Auto IV: Too slow to be able to even navigate the menus (Proton) +- Half Life 2: runs at around 40-50fps on low settings +- OpenTTD: sometimes a little sluggish +- Minecraft: using the Fabulously Optimised modpack for 1.21.4 and with every setting turned down (including the resolution) I was averaging somewhere around 40-60fps, sometimes peaking to 100fps. Very playable. Kinda funny how this box struggled to run a Minecraft server, but can run a Minecraft client fine. +- Towerfall Ascension: runs well, obviously. + +## Conclusion +Should you use this? Well, I dunno. If you can find one locally for cheap and you desperately need a computer - it probably isn't your worst option. diff --git a/content/projects.md b/content/projects.md index ff2fdde..465dd8e 100644 --- a/content/projects.md +++ b/content/projects.md @@ -17,7 +17,7 @@ title: "Projects (& Ideas)" I have always been a bit intrigued by older versions of Minecraft and I have to say I quite enjoy them. Here are some server ideas I have thought of: * **An actual anarchy server**: no plugins (other than AuthMe) and no dupe protection. Very little admin involvement unless necesarry (i.e. in case of something illegal going on). * **Some sort of towny server**: complete opposite compared to the last one. Towny plugin with some sort of economy mod. Maybe even an earth map. - * **Earth map for old beta versions**: Just take the maximum altitudes of coordinates from [OpenStreetMap](https://wiki.openstreetmap.org/wiki/Altitude) and place dirt (and stone appropriately + * **Earth map for old beta versions**: Just take the maximum altitudes of coordinates from [OpenStreetMap](https://wiki.openstreetmap.org/wiki/Altitude) and place dirt (and stone) appropriately * **A reimplementation of the Minecraft Beta 1.2_02 server**: You get the idea. * **An open source brickbuilding game**: I have been fascinated ever since I was a child by Sandbox games, and as such I wish to make my own rendition of such a game. My inspiration for this project is Blockland. The main project goal is to make it kind of like Minetest, in the sense that it will be an engine and not a fully fledged game (i.e. you can make your own minigames easily). @@ -26,3 +26,5 @@ title: "Projects (& Ideas)" * **Free Tor/I2P/Yggdrasil mirroring service**: Mirror clearnet websites to Tor/I2P/Yggdrasil. Basically, all you need to do is prove that you are the owner of a website (via DNS or a .well-known file) and you can get a free I2P/Tor/Yggdrasil mirror. Legal implications and privacy concerns make this project a huge undertaking, as we're essentially becoming the exit node of a lot of people and with great power comes great responsibility (and abuse reports). * **A wiki website containing guides on setting up servers and other stuff**: Self explanatory -- kind of like a bigger version of https://wiki.installgentoo.com/wiki/Home_server +* **Nostr imageboard** + Nostr relay/client with an imageboard UI, probably will be written in something like Elixir. Already started working on something like this. Spam will certainly be a huge problem though. \ No newline at end of file diff --git a/static/badges/best_free.gif b/static/badges/best_free.gif deleted file mode 100644 index 5a6931c..0000000 Binary files a/static/badges/best_free.gif and /dev/null differ diff --git a/static/badges/bokku.gif b/static/badges/bokku.gif deleted file mode 100644 index a7c4166..0000000 Binary files a/static/badges/bokku.gif and /dev/null differ diff --git a/static/badges/firefox3.gif b/static/badges/firefox3.gif deleted file mode 100644 index 80e7e85..0000000 Binary files a/static/badges/firefox3.gif and /dev/null differ diff --git a/static/badges/frantech.gif b/static/badges/frantech.gif deleted file mode 100644 index 9ec4e6d..0000000 Binary files a/static/badges/frantech.gif and /dev/null differ diff --git a/static/badges/fzorb.gif b/static/badges/fzorb.gif deleted file mode 100644 index 02b6ff6..0000000 Binary files a/static/badges/fzorb.gif and /dev/null differ diff --git a/static/badges/gitea.gif b/static/badges/gitea.gif deleted file mode 100644 index 3436dce..0000000 Binary files a/static/badges/gitea.gif and /dev/null differ diff --git a/static/badges/iebad.gif b/static/badges/iebad.gif deleted file mode 100644 index 6c82660..0000000 Binary files a/static/badges/iebad.gif and /dev/null differ diff --git a/static/badges/lilrib.gif b/static/badges/lilrib.gif deleted file mode 100644 index e86aa7b..0000000 Binary files a/static/badges/lilrib.gif and /dev/null differ diff --git a/static/badges/lynx.gif b/static/badges/lynx.gif deleted file mode 100644 index e366bbe..0000000 Binary files a/static/badges/lynx.gif and /dev/null differ diff --git a/static/badges/monero-now.gif b/static/badges/monero-now.gif deleted file mode 100644 index 7219f6e..0000000 Binary files a/static/badges/monero-now.gif and /dev/null differ diff --git a/static/badges/navidrome.gif b/static/badges/navidrome.gif deleted file mode 100644 index b95f070..0000000 Binary files a/static/badges/navidrome.gif and /dev/null differ diff --git a/static/badges/nojs.gif b/static/badges/nojs.gif deleted file mode 100644 index b83040c..0000000 Binary files a/static/badges/nojs.gif and /dev/null differ diff --git a/static/badges/penguins.gif b/static/badges/penguins.gif deleted file mode 100644 index ff5b112..0000000 Binary files a/static/badges/penguins.gif and /dev/null differ diff --git a/static/badges/powered-by-debian.gif b/static/badges/powered-by-debian.gif deleted file mode 100644 index 1f617c8..0000000 Binary files a/static/badges/powered-by-debian.gif and /dev/null differ diff --git a/static/badges/vim2.gif b/static/badges/vim2.gif deleted file mode 100644 index 01f09f1..0000000 Binary files a/static/badges/vim2.gif and /dev/null differ diff --git a/static/badges/xkcd.gif b/static/badges/xkcd.gif deleted file mode 100644 index f484402..0000000 Binary files a/static/badges/xkcd.gif and /dev/null differ diff --git a/static/badges/zorbmail.gif b/static/badges/zorbmail.gif deleted file mode 100644 index e6909e3..0000000 Binary files a/static/badges/zorbmail.gif and /dev/null differ diff --git a/static/badges/zorbnet.gif b/static/badges/zorbnet.gif deleted file mode 100644 index cfb3280..0000000 Binary files a/static/badges/zorbnet.gif and /dev/null differ diff --git a/static/badges/zx86.gif b/static/badges/zx86.gif deleted file mode 100644 index 07bad52..0000000 Binary files a/static/badges/zx86.gif and /dev/null differ diff --git a/static/matrix.txt b/static/matrix.txt deleted file mode 100644 index 6f7eff5..0000000 --- a/static/matrix.txt +++ /dev/null @@ -1 +0,0 @@ -Wi8qPnMYiT8sGbG9Oz0Pe1Wx5jmnkoed \ No newline at end of file diff --git a/static/webring/3b96f8bddde086d6399d0ce665e0780d63aa09d3fe993e5dd243dd3246c507f0.mp4 b/static/webring/3b96f8bddde086d6399d0ce665e0780d63aa09d3fe993e5dd243dd3246c507f0.mp4 deleted file mode 100644 index 88a07aa..0000000 Binary files a/static/webring/3b96f8bddde086d6399d0ce665e0780d63aa09d3fe993e5dd243dd3246c507f0.mp4 and /dev/null differ diff --git a/static/webring/akatas.png b/static/webring/akatas.png deleted file mode 100644 index ce16f53..0000000 Binary files a/static/webring/akatas.png and /dev/null differ diff --git a/static/webring/andrei.gif b/static/webring/andrei.gif deleted file mode 100644 index 05ae845..0000000 Binary files a/static/webring/andrei.gif and /dev/null differ diff --git a/static/webring/banner-240.png b/static/webring/banner-240.png deleted file mode 100644 index 699890e..0000000 Binary files a/static/webring/banner-240.png and /dev/null differ diff --git a/static/webring/banner-88.gif b/static/webring/banner-88.gif deleted file mode 100644 index 02b6ff6..0000000 Binary files a/static/webring/banner-88.gif and /dev/null differ diff --git a/static/webring/banner.png b/static/webring/banner.png deleted file mode 100644 index c3217f3..0000000 Binary files a/static/webring/banner.png and /dev/null differ diff --git a/static/webring/meower.xyz.png b/static/webring/meower.xyz.png deleted file mode 100644 index 570e288..0000000 Binary files a/static/webring/meower.xyz.png and /dev/null differ diff --git a/static/webring/nishi.gif b/static/webring/nishi.gif deleted file mode 100644 index b77ce69..0000000 Binary files a/static/webring/nishi.gif and /dev/null differ diff --git a/static/webring/psr.gif b/static/webring/psr.gif deleted file mode 100644 index 296c708..0000000 Binary files a/static/webring/psr.gif and /dev/null differ diff --git a/static/webring/vendell.gif b/static/webring/vendell.gif deleted file mode 100644 index 175ace0..0000000 Binary files a/static/webring/vendell.gif and /dev/null differ diff --git a/themes/zorbed/static/style.css b/themes/zorbed/static/style.css index 1a7b8d7..8274c82 100644 --- a/themes/zorbed/static/style.css +++ b/themes/zorbed/static/style.css @@ -31,3 +31,17 @@ a { .two { grid-area: two; } +pre { + border: 1px solid #2d2d2d; /* Dark border for pre elements */ + border-radius: 5px; + padding: 1em; + overflow-x: auto; + background: #151515; /* Darker background for code blocks */ +} +code { + background: #222; /* Slightly lighter background for inline code */ + color: #f0f0f0; /* Light text for code */ +} +pre code { + background: none; +}