Is it possible to run a Minecraft server using an OSX Lion server? I know that this is a very basic question.
Yes. You don't even need to have the Sever edition of Lion. Here is how:
- Download minecraft_server.jar from the Minecraft website
- Open terminal and paste the command listed below (there should be a space after -jar
- Drag the minecraft_server.jar into the Terminal window and type nogui. Then hit enter. Your server should start up.
Read this article on the Minecraft Wiki for more information.
java -Xmx1024M -Xms1024M -jar
It is possible to run the Minecraft server on Mac OS X Lion Server as well as on Mac OS X Lion. Keep in mind that Mac OS X Lion Server is an additional package of server applications, services and tools on top of OS X Lion. You need it if you want any of the services provided by OS X Server.
If you intend to run the Minecraft server at all times, the proper solution is to start it as a deamon using launchd. See here.
This allows you to always get the Minecraft server running on system startup without having to open a user session. This way if your computer crashes and reboots you don't have to relaunch the server or login to automatically launch it.