No.119: Install MineCraft Server (Close #27) #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Done! #27
手順書
A. Increase Swap Size
B. Install MineCraft Server
C. Play MineCraft at Okinawa.rb Server
A. Increase Swap Size (cf. swapファイルを追加する)
1.
cat /proc/swaps
2.
sudo dd if=/dev/zero of=/swap bs=2G count=5 iflag=fullblock
3.
sudo mkswap /swap
4.
sudo swapon /swap
5.
sudo echo "/swap swap swap defaults 0 0" >> /etc/sftab
6.
cat /proc/swaps
B. Install MineCraft Server (cf. #27)
sudo aptitude install openjdk-6-jre
which java; /usr/bin/java
mkdir ~/minecraft; cd minecraft
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.7.9/minecraft_server.1.7.9.jar
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
#=>/stop
to stop server.See UbuntuでMinecraftサーバを構築 for details.
C. Play MineCraft at Okinawa.rb Server
Omake: