How can I create a Minecraft server?

How can I create a Minecraft server?
Have players joining your server follow the steps below:

In Minecraft, click “Multiplayer.”
Click “Add Server.”
Enter a server name.
Enter the server address. This will be your external IP followed by the port number: 25565 This will look like the address in the image on the right.
Click Done.

Have players joining your server follow the steps below:
  1. In Minecraft, click “Multiplayer.”
  2. Click “Add Server.”
  3. Enter a server name.
  4. Enter the server address. This will be your external IP followed by the port number: 25565 This will look like the address in the image on the right.
  5. Click Done.