Since I'm sure a few people will want to do a linux box with no GUI, here it is!
This was all done on Cent OS, but it will work with any linux distro with yum (For those that want the apt route, click http://wiki.debian.org/Java/Sun
First, let's check which java version you're running.
After logging in (Putty is a wonderful program to do this)
Type the following:
which java
In which case it should display where your java install is located.
Next type the location of the java install, for most of you it will be:
/usr/bin/java -version
Make sure the java version is up to date for your install.
For those of you who do NOT have java installed do the following:
type:
yum install java-1.6.0-openjdk
You'll have to hit Y at one point during the install.
Okay, so you've got java installed. Great!
Okay, since most people are complaining that running as root is an issue, here is a guide to setting up a new user to continue the tutorial with:
"Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions."
Also, running as root is quite fine when working with a local box.
I think he is criticizing that you have gnome up? Anyways, if you have Debian just follow this instead of yum. http://wiki.debian.org/Java/Sun
Probably works for Ubuntu too.
Not running my server right now though, a p3@1GHz with 512MB is not fast enough by a long shot.
I think he is criticizing that you have gnome up? Anyways, if you have Debian just follow this instead of yum. http://wiki.debian.org/Java/Sun
Probably works for Ubuntu too.
Not running my server right now though, a p3@1GHz with 512MB is not fast enough by a long shot.
I think he is criticizing that you have gnome up? Anyways, if you have Debian just follow this instead of yum. http://wiki.debian.org/Java/Sun
Probably works for Ubuntu too.
Not running my server right now though, a p3@1GHz with 512MB is not fast enough by a long shot.
It's not gnome, it's putty SSH.
Wasn't paying attention, just assumed thats what they were talking about. Also your apt link doesn't work, you can substitute mine if you like.
I think he is criticizing that you have gnome up? Anyways, if you have Debian just follow this instead of yum. http://wiki.debian.org/Java/Sun
Probably works for Ubuntu too.
Not running my server right now though, a p3@1GHz with 512MB is not fast enough by a long shot.
It's not gnome, it's putty SSH.
Wasn't paying attention, just assumed thats what they were talking about. Also your apt link doesn't work, you can substitute mine if you like.
"Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions."
Also, running as root is quite fine when working with a local box.
Sudo is there for a reason.. Also read the bold text..
Plus I was talking about running, anyway. What if there's a major bug that allows someone to execute custom commands? If you're running as root the risk is much greater than running as an unprivileged user.
Sure I could su, but installing as root is just fine.
Also, yes I see the bold text. Again, installing something system wide is fine as root, I don't know what is so hard to comprehend about that. Arguing semantics is foolish.
Personally I do not run my server as root, I expect most users will not be either.
My ankle's uncle is my uncle's ankle. It's true! My Server Mods: Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes. Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
This run the server in another "virtual console", then you can press ctrl+alt+a then D to return to your ssh session without closing the server, and you can exit from your ssh sesion normally.
Next time you login to ssh you can recover this "virtual console" with:
screen -x smp
With this method you can use the server commands and console :biggrin.gif:
So wait, you did exactly as I, just in a different order?
Cool!
Whoops, I didn't notice they were that similar until you pointed it out. I guess I saw the yum and nohup and tl;dr'd and ignored the fact that your process was identical. Sorry about that, I need to look before I tldr :|
I feel stupid now.
Rollback Post to RevisionRollBack
My ankle's uncle is my uncle's ankle. It's true! My Server Mods: Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes. Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
This run the server in another "virtual console", then you can press ctrl+alt+a then D to return to your ssh session without closing the server, and you can exit from your ssh sesion normally.
Next time you login to ssh you can recover this "virtual console" with:
screen -x smp
With this method you can use the server commands and console :biggrin.gif:
This was all done on Cent OS, but it will work with any linux distro with yum (For those that want the apt route, click http://wiki.debian.org/Java/Sun
First, let's check which java version you're running.
After logging in (Putty is a wonderful program to do this)
Type the following:
In which case it should display where your java install is located.
Next type the location of the java install, for most of you it will be:
Make sure the java version is up to date for your install.
For those of you who do NOT have java installed do the following:
type:
You'll have to hit Y at one point during the install.
Okay, so you've got java installed. Great!
Okay, since most people are complaining that running as root is an issue, here is a guide to setting up a new user to continue the tutorial with:
http://www.comptechdoc.org/os/linux/man ... euser.html
Make sure you're at the root directory do this by typing:
Now let's make a directory for minecraft!
Now let's access the folder.
Once there, let's download the .jar
Cool, so now you've installed java, made a mine craft directory and downloaded the minecraft server .jar!
Now to launch it!
While in your minecraft directory, type the following (Or paste it!)
If you would like to close the window, do the following instead
OR
To bring up the screen again after closing type
Bam, you're done. This should work for most installs, if you've got any connection issues post here and I'll be glad to help.
FPSBox.com - Affordable and Awesome Minecraft server hosting
You realize it's required to install java, right?
Straight from the sun website:
"Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions."
Also, running as root is quite fine when working with a local box.
FPSBox.com - Affordable and Awesome Minecraft server hosting
I changed the tutorial to include creating a new user.
FPSBox.com - Affordable and Awesome Minecraft server hosting
No, Alpha SMP.
FPSBox.com - Affordable and Awesome Minecraft server hosting
Well I haven't windows hosted mine craft yet, but the server has yet to lag or crash.
FPSBox.com - Affordable and Awesome Minecraft server hosting
I'd like to know where you see a graphical interface ;/
FPSBox.com - Affordable and Awesome Minecraft server hosting
Doesn't mean it isn't command line.
FPSBox.com - Affordable and Awesome Minecraft server hosting
http://wiki.debian.org/Java/Sun
Probably works for Ubuntu too.
Not running my server right now though, a p3@1GHz with 512MB is not fast enough by a long shot.
It's not gnome, it's putty SSH.
FPSBox.com - Affordable and Awesome Minecraft server hosting
Wasn't paying attention, just assumed thats what they were talking about. Also your apt link doesn't work, you can substitute mine if you like.
Will do, thanks.
FPSBox.com - Affordable and Awesome Minecraft server hosting
Sure I could su, but installing as root is just fine.
Also, yes I see the bold text. Again, installing something system wide is fine as root, I don't know what is so hard to comprehend about that. Arguing semantics is foolish.
Personally I do not run my server as root, I expect most users will not be either.
FPSBox.com - Affordable and Awesome Minecraft server hosting
My Server Mods:
Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes.
Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
So wait, you did exactly as I, just in a different order?
Cool!
FPSBox.com - Affordable and Awesome Minecraft server hosting
This run the server in another "virtual console", then you can press ctrl+alt+a then D to return to your ssh session without closing the server, and you can exit from your ssh sesion normally.
Next time you login to ssh you can recover this "virtual console" with:
With this method you can use the server commands and console :biggrin.gif:
Whoops, I didn't notice they were that similar until you pointed it out. I guess I saw the yum and nohup and tl;dr'd and ignored the fact that your process was identical. Sorry about that, I need to look before I tldr :|
I feel stupid now.
My Server Mods:
Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes.
Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
Personally I use:
FPSBox.com - Affordable and Awesome Minecraft server hosting