diff --git a/README.md b/README.md index af63e33..cd6a995 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ To switch user use: su minecraft -s /bin/bash # To DO - [ ] Basic commands -- [ ] server.properties + run.sh +- [ ] server.properties + start.sh + eula.txt - [ ] iptable commands - [ ] my own .service file - [ ] modification of run.sh diff --git a/podklady.md b/podklady.md index f930523..9becc43 100644 --- a/podklady.md +++ b/podklady.md @@ -1,6 +1,14 @@ sudo apt update sudo apt upgrade -sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep vim +sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep vim p7zip-full -y groupadd minecraft useradd --system --shell /usr/sbin/nologin --home /opt/minecraft -g minecraft minecraf -# find out if /opt/minecraft exist else mkdir /opt/minecraft +mkdir /opt/minecraft # it may exist +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 + + +