Explorar o código

Updated markup of README.md

Michael Honkoop hai 8 meses
pai
achega
0983ff2db5
Modificáronse 1 ficheiros con 27 adicións e 26 borrados
  1. 27 26
      Minecraft/README.md

+ 27 - 26
Minecraft/README.md

@@ -6,57 +6,57 @@ A Minecraft server resource repository for running it on RockyLinux 9.x
 <summary>To setup your Minecraft server start out with a fresh RockyLinux 9.x server/vps/LXC -  i use a ProxMox (https://www.proxmox.com/en/proxmox-ve) LXC,
 and will assumes that your server has:</summary>
   
-    - (atleast) 4Gb of memory available.
-    - Default minecraft port 25565 (TCP/UDP) open in firewall
-    - SSH acccess to the box.
+    * (atleast) 4Gb of memory available.<br>
+    * Default minecraft port 25565 (TCP/UDP) open in firewall<br>
+    * SSH acccess to the box.<br>
 </details>
 
-Install required packages: (some packages like zstd are work in progress for changing backup to use them in the future)
+###### Install required packages: (some packages like zstd are work in progress for changing backup to use them in the future)
 ```
 dnf install wget tmux tar zstd java-21-openjdk -y
 ```
 
-Create folderstructure for Minecraft.
+###### Create folderstructure for Minecraft.
 ```
 mkdir -p /opt/minecraft/backups/{hourly,daily,weekly,monthly}
 ```
 
-Create minecraft user.
+###### Create minecraft user.
 ```
 useradd -r -m -U -d /opt/minecraft -s /bin/bash minecraft
 ```
 
-Set ownership to minecraft user on created directory-structure.
+###### Set ownership to minecraft user on created directory-structure.
 ```
 chown -R minecraft.minecraft /opt/minecraft
 ```
 
-Change user to `minecraft`.
+###### Change user to `minecraft`.
 ```
 su - minecraft
 ```
 
-As minecraft user download the server-jar from [Minecraft.net](https://www.minecraft.net/en-us/download/server) When writing this the version was `1.18.1`.
+###### As minecraft user download the server-jar from [Minecraft.net](https://www.minecraft.net/en-us/download/server) When writing this the version was `1.18.1`.
 ```
 wget -O minecraft_server.1.18.1.jar https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/server.jar
 ```
 
-Create a symbolic link to the current version of the server-jar you downloaded (this will make it easy to just replace the symbolic link to a new/future version when updating)
+###### Create a symbolic link to the current version of the server-jar you downloaded (this will make it easy to just replace the symbolic link to a new/future version when updating)
 ```
 ln -s minecraft_server.1.18.1.jar server.jar
 ```
 
-Start the minecraft server to create `server.properties` and `eula.txt`, it will shutdown again afterwards (ignore errors/warnings on the output).
+###### Start the minecraft server to create `server.properties` and `eula.txt`, it will shutdown again afterwards (ignore errors/warnings on the output).
 ```
 java -Xmx1024M -Xms512M -jar server.jar nogui
 ```
 
-Overwrite the content of the previously created `eula.txt` so the content reads `eula=true`.
+###### Overwrite the content of the previously created `eula.txt` so the content reads `eula=true`.
 ```
 echo "eula=true" > eula.txt
 ```
 
-Place/create either the (in this repository) provided tar [backup script](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/backup.sh) or the zst with better compression [backup script](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/backup.sh) and make it executable.
+###### Place/create either the (in this repository) provided tar [backup script](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/backup.sh) or the zst with better compression [backup script](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/backup.sh) and make it executable.
 
 ```
 wget https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/backup.sh
@@ -68,7 +68,7 @@ wget https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/b
 chmod +x backup-zst.sh
 ```
 
-Install a crontab job to run the backup job each hour (the `-s` switch specifies to the script to run on a schedule)
+###### Install a crontab job to run the backup job each hour (the `-s` switch specifies to the script to run on a schedule)
 ```
 echo "0 * * * * /opt/minecraft/backup.sh -s" | crontab -
 ```
@@ -79,28 +79,28 @@ echo "0 * * * * /opt/minecraft/backup-zst.sh -s" | crontab -
 
 <details>
 <summary>The default backup-script settings are for a hourly/daily/weekly rotation, if you like to change this, then edit the script:</summary>
-    - Find the line in the script `# Increments of time on which to back up`.
-    - Adapt the parameters to your own needs for HOURLY,DAILY,WEEKLY,MONTHLY by setting true/false.
+* Find the line in the script `# Increments of time on which to back up`.<br>
+* Adapt the parameters to your own needs for HOURLY,DAILY,WEEKLY,MONTHLY by setting true/false.<br>
 </details>
 
-Switch back to user root by pressing `CRTL-D` 
+###### Switch back to user root by pressing `CRTL-D` 
 
-Place/create the also (in this repository) provided [systemd file](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/src/master/Minecraft/minecraft.service) in `/etc/systemd/system/minecraft.service`
+###### Place/create the also (in this repository) provided [systemd file](https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/src/master/Minecraft/minecraft.service) in `/etc/systemd/system/minecraft.service`
 ```
 wget -O /etc/systemd/system/minecraft.service https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/Minecraft/minecraft.service
 ```
 
-Reload Systemd daemon.
+###### Reload Systemd daemon.
 ```
 systemctl daemon-reload
 ```
 
-Start your Minecraft server via the systemd service.
+###### Start your Minecraft server via the systemd service.
 ```
 systemctl start minecraft
 ```
 
-Verify a successfull start of the server.
+###### Verify a successfull start of the server.
 ```
 systemctl status minecraft
 ```
@@ -126,7 +126,8 @@ exited, status=0/SUCCESS)
 Feb 08 01:29:58 minecraft.myservername.tld systemd[1]: Starting Minecraft Server...
 Feb 08 01:29:58 minecraft.myservername.tld systemd[1]: Started Minecraft Server.
 ```
-When the start was corect enable the minecraft service.
+
+###### When the start was corect enable the minecraft service.
 ```
 systemctl enable minecraft
 ```
@@ -136,22 +137,22 @@ systemctl enable minecraft
 To update the server to a newer version of minecraft perform the follwing procedure:
 </summary>
 
-Stop the minecraft server (when running / as root)
+###### Stop the minecraft server (when running / as root)
 ```
 systemctl stop minecraft
 ```
 
-Change to the `minecraft` user.
+###### Change to the `minecraft` user.
 ```
 su minecraft
 ```
 
-Download the new minecraft server file ( example , the exact link should be otained from mojang itself).
+###### Download the new minecraft server file ( example , the exact link should be otained from mojang itself).
 ```
 wget -O minecraft_server.1.19.jar https://launcher.mojang.com/v1/objects/e00c4052dac1d59a1188b2aa9d5a87113aaf1122/server.jar
 ```
 
-Remove old symbolic link to the old version.
+###### Remove old symbolic link to the old version.
 ```
 rm -f server.jar
 ```