Last active
September 3, 2016 07:43
-
-
Save uehara1414/253c938b6ba099969d5e17fdb9fd6b4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install java | |
systemctl enable firewalld | |
systemctl start firewalld | |
firewall-cmd --add-port=25565/tcp --permanent | |
firewall-cmd --reload | |
mkdir /root/minecraft | |
wget -P /etc/systemd/system/ https://gist.githubusercontent.com/uehara1414/c0d7f68de0625a38c12baef9aae196eb/raw/e67bd0bd6c8eb50394632f54afa794ac499e4e12/minecraft-server.service | |
systemctl daemon-reload | |
systemctl enable minecraft-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment