Added Wiki for Linux Proxmox and div. Software-installs
This commit is contained in:
parent
d47f1dc602
commit
741584446c
17 changed files with 4537 additions and 0 deletions
80
Software-Install/Minecraft-Server.md
Normal file
80
Software-Install/Minecraft-Server.md
Normal file
|
@ -0,0 +1,80 @@
|
|||
# Install a Minecraft Server
|
||||
|
||||
Aktualisiere dein Debian System auf die neueste Version.
|
||||
|
||||
```
|
||||
sudo apt update
|
||||
|
||||
sudo apt upgrade
|
||||
```
|
||||
|
||||
## Java installieren
|
||||
|
||||
```
|
||||
sudo apt install openjdk-17-jdk openjdk-17-jre
|
||||
```
|
||||
|
||||
Check the version
|
||||
|
||||
```
|
||||
java -version
|
||||
```
|
||||
|
||||
You should get something like this as output:
|
||||
|
||||
```
|
||||
openjdk 17.0.2 2022-01-18
|
||||
OpenJDK Runtime Environment (build 17.0.2+8-Ubuntu-120.04)
|
||||
OpenJDK 64-Bit Server VM (build 17.0.2+8-Ubuntu-120.04, mixed mode, sharing
|
||||
```
|
||||
|
||||
## Minecraft installieren
|
||||
|
||||
Make a new folder & go to that folder
|
||||
|
||||
```
|
||||
mkdir minecraft && cd minecraft
|
||||
```
|
||||
|
||||
Download the newest version of Spigot from [Spigot Download](https://getbukkit.org/download/spigot)
|
||||
|
||||
```
|
||||
wget https://download.getbukkit.org/spigot/spigot-1.19.2.jar
|
||||
```
|
||||
|
||||
rename the spigot-{version}.jar
|
||||
|
||||
```
|
||||
mv spigot-1.19.2.jar server.jar
|
||||
```
|
||||
|
||||
## Create the Startup-Script
|
||||
|
||||
```
|
||||
nano start.sh
|
||||
```
|
||||
|
||||
Write the following in the file:
|
||||
|
||||
```
|
||||
java -Xms2048M -Xmx2048M -jar server.jar nogui
|
||||
```
|
||||
|
||||
## Make start.sh exec
|
||||
|
||||
```
|
||||
sudo chmod +x start.sh
|
||||
```
|
||||
|
||||
## Run the server
|
||||
|
||||
```
|
||||
./start.sh
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
```
|
||||
whitelist add {Username}
|
||||
op {Username}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue