Compare commits
No commits in common. "2e3b9183fc4e84387433af9b8c5d61a8480aa456" and "a2d7de846edc1223a0082c61520316e26f87091a" have entirely different histories.
2e3b9183fc
...
a2d7de846e
@ -2,7 +2,7 @@ To switch user use: su minecraft -s /bin/bash
|
|||||||
|
|
||||||
# To DO
|
# To DO
|
||||||
- [ ] Basic commands
|
- [ ] Basic commands
|
||||||
- [ ] server.properties + start.sh + eula.txt
|
- [ ] server.properties + run.sh
|
||||||
- [ ] iptable commands
|
- [ ] iptable commands
|
||||||
- [ ] my own .service file
|
- [ ] my own .service file
|
||||||
- [ ] modification of run.sh
|
- [ ] modification of run.sh
|
||||||
|
|||||||
12
podklady.md
12
podklady.md
@ -1,14 +1,6 @@
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep vim p7zip-full -y
|
sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep vim
|
||||||
groupadd minecraft
|
groupadd minecraft
|
||||||
useradd --system --shell /usr/sbin/nologin --home /opt/minecraft -g minecraft minecraf
|
useradd --system --shell /usr/sbin/nologin --home /opt/minecraft -g minecraft minecraf
|
||||||
mkdir /opt/minecraft # it may exist
|
# find out if /opt/minecraft exist else mkdir /opt/minecraft
|
||||||
cp Mods.zip Server-v1.2.1.zip /opt/minecraft/
|
|
||||||
cd /opt/minecraft/
|
|
||||||
7z x Server-v1.2.1.zip
|
|
||||||
mv Mods.zip mods/
|
|
||||||
7z x mods/Mods.zip -omods
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user