Build a simple server under Cent OS

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.