Compare commits
10 commits
9a59170d07
...
03ac2cf887
Author | SHA1 | Date | |
---|---|---|---|
03ac2cf887 | |||
2395ec3e3c | |||
fdb4cc4b9d | |||
fdac5ae0d1 | |||
9339d37cdb | |||
b105c1a90f | |||
62df0a427b | |||
d12212feae | |||
06e7f60260 | |||
420d4a85f5 |
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
|
69
content/posts/making-a-beta-1.7.3-server.md
Normal file
|
@ -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.
|
32
content/posts/t620-tc-as-a-desktop.md
Normal file
|
@ -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.
|
|
@ -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.
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 904 B |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 869 B |
|
@ -1 +0,0 @@
|
|||
Wi8qPnMYiT8sGbG9Oz0Pe1Wx5jmnkoed
|
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 3.5 KiB |
|
@ -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;
|
||||
}
|
||||
|
|