Erection of Minecraft servers under Linuxvps
First, download the latest java:http://javadl.sun.com/webapps/download/autodl?bundleid=76851
Network Disk download Address http://pan.baidu.com/share/link?shareid=467767&uk=909489111
Use WINSCP to put Java in a folder (for example, my MC)
Enter the folder, open the terminal, and enter the tar zxvf jre-7u21-linux-i586.tar.gz
Install Java
After the installation is complete, enter
Enter etc
Find profile This unformatted file
After opening
In the export PATH USER LOGNAME MAIL HOSTNAME histsize Histcontrol this line
Input:
Export Java_home= "/root/your JAVA folder/jre1.7.0_21"
Export Classpath= "/root/your Java folder/jre1.7.0_21/lib:/root/your Java folder/jre1.7.0_21/jre/lib"
Pathmunge/root/your Java folders/jre1.7.0_21/bin:/root/your Java folders/jre1.7.0_21/bin
After that, in any folder
Open Terminal
Enter wget Https://s3.amazonaws.com/Minecra ... Inecraft_server.jar
(The official service side of the tutorial)
Then Java-xmx1024m-xms1024m-jar Minecraft_server.jar Nogui
By this time you can open the service! If you want to reconfigure, restart with reboot.
Came to Server.properties
Make various modifications