As a regular network of programmers, often encounter the need for a server, such as building a Web server, a proxy server, or a small game server.
I often play a game called my World with my friends, in order to be able to play online stably for a long time, so I bought a server specially. Because Windows as a server system, Linux is not stable, and Linux can not use GUI interface, memory footprint is very small, so that more friends can be online at the same time. Comparing with each other, I chose the Cent OS system.
Cent OS as a Web server is very good, stable and powerful. Needless to say, our first step is to build a server for my world.
1. How to connect to a server
Because Linux servers in order to ensure maximum efficiency, often there is no GUI interface, unlike Windows can be directly connected with Remote Desktop, but through the SSH protocol to connect. We will first download and install a small piece of software called Putty. is: Http://mdl1.mydown.yesky.com/soft/201507/putty_0.65.exe
After opening the interface will appear, we need to enter the server to our IP address, and port number, and then you can connect, after the connection into a command line interface, then enter the account password can be.
2. Build the Java environment.
Because my world is based on Java to achieve cross-platform, the server is also a jar of running files.
Cent os Install command for yum install java-1.6.0-openjdk*
Then wait for the installation to complete.
3. Install My World server
My world Server pure version only one jar file, very convenient.
The command is: Wget-o Minecraft_server.jar Https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar
Then command
./minecraft_server.1.7.4.jar open it.
Build a simple server under Cent OS