moving up
This commit is contained in:
parent
6b079a5e92
commit
ad461f43db
@ -2,7 +2,7 @@ To switch user use: su minecraft -s /bin/bash
|
|||||||
|
|
||||||
# To DO
|
# To DO
|
||||||
- [ ] Basic commands
|
- [ ] Basic commands
|
||||||
- [ ] server.properties + run.sh
|
- [ ] server.properties + start.sh + eula.txt
|
||||||
- [ ] 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,6 +1,14 @@
|
|||||||
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
|
sudo apt install openjdk-17-jre-headless neofetch btop screen wget curl vim grep vim p7zip-full -y
|
||||||
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
|
||||||
# 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user