Compare commits
No commits in common. "42ceca809bf774e73a5dec63bfe7a1b6018e7b69" and "a79897096ac8c91cc5ab5a88df8204dd4e9a2adc" have entirely different histories.
42ceca809b
...
a79897096a
@ -8,4 +8,3 @@ To switch user use: su minecraft -s /bin/bash
|
|||||||
- [x] modification of run.sh
|
- [x] modification of run.sh
|
||||||
- [ ] screen usege
|
- [ ] screen usege
|
||||||
- [ ] SSH keys
|
- [ ] SSH keys
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt install qemu-guest-agent 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 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
|
||||||
mkdir /opt/minecraft # it may exist
|
mkdir /opt/minecraft # it may exist
|
||||||
@ -17,7 +17,7 @@ rm server.properties
|
|||||||
mv ../server.properties .
|
mv ../server.properties .
|
||||||
7z x ../Mods.zip -omods
|
7z x ../Mods.zip -omods
|
||||||
./run.sh
|
./run.sh
|
||||||
cp mc-forge.service /etc/systemd/system/
|
|
||||||
chown -R minecraft:minecraft /opt/minecraft
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user