Safety of what? Knowing where your minecraft files are on your server isn't a security risk.
I can tell you about 99% of the directories you have on that system because debian installs the same way every time... that's like removing C:\Program Files\ - everyone has that on their computers.
Without giving us the proper codes you're using we're helping you blindly and missing simple ****.
Wait a minute, are you seriously running MC as root? Linux 101, NEVER RUN ANYTHING AS ROOT. Set up a regular user account and use "sudo" to run things that NEED root access. Run everything else as a user.
Rollback Post to RevisionRollBack
zombiecraft.serverbeer.com - Permissions enabled home server, focusing on big builds
Thnx, none of that really helped me but the German guide down the bottom which I think you meant, was very good. All the info on the first page of this thread, became a lot clearer.
I love you all for your time and effort helping me step into this new world.
Achieve basic understanding of Linux: Done
Run a Minecraft Server: Done
Turn off my computer and still be able to Minecraft when return: Done
Use Putty to re-connect to server: Done
But did you manage to get away from running as root? If not then you are making a HUGE mistake. Congratz on getting to where you are now, don't get discouraged,
Rollback Post to RevisionRollBack
zombiecraft.serverbeer.com - Permissions enabled home server, focusing on big builds
But did you manage to get away from running as root? If not then you are making a HUGE mistake. Congratz on getting to where you are now, don't get discouraged,
Another thing to add... If you plan on having your server up 24/7, then I would HIGHLY recommend you remove the ability to log in to ssh (disable telnet FFS!) as root. You can always su to root should the need arise.
To make it so you dont need to run it as root, just run
chmod 777 [minecraft directory]
from the directory above your minecraft directory (as either root or with sudo, doesn't matter). That will give all users full access to the minecraft server directory (which is fine in your case), allowing you to run the server as a non-root user. Yay!
Wouldn't that only be vulnerable if A) Something is listening for telnet and :cool.gif: That port is open? Assuming you're not personally using telnet.
Wouldn't that only be vulnerable if A) Something is listening for telnet and :cool.gif: That port is open? Assuming you're not personally using telnet.
You are correct, as long as the router is configured correctly. But it still doesn't hurt to have it disabled. I also recommend you change the port that ssh uses as well. This will help prevent most scripts from going after your server. I was seeing random login attacks on my ssh via my access.log files until i changed to a non-standard port for ssh. But I also went as far as to block all of China, Korea, and most of Russia using IPtables... but that's just me... :biggrin.gif:
I was seeing random login attacks on my ssh via my access.log files until i changed to a non-standard port for ssh. But I also went as far as to block all of China, Korea, and most of Russia using IPtables... but that's just me... :biggrin.gif:
That's not a bad way to do it, but you might want to check out DenyHosts.
cd /minecraft
or wherever you've placed the files.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
I can tell you about 99% of the directories you have on that system because debian installs the same way every time... that's like removing C:\Program Files\ - everyone has that on their computers.
Without giving us the proper codes you're using we're helping you blindly and missing simple ****.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
Type "ls" and if minecraft_server.jar is in there then something else is wrong.
also, it's xmx and xms not xxm and xms.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
See what we are building here: http://zombiecraft.servebeer.com
Ok java is not installed, I seem to have missed how to install it. what do I do next, that cant be all of it can it?
http://www.minecraftwiki.net/wiki/Setting_up_a_server
Linux is on the bottom.
btw I'm a complete noob , sure I mentioned that in my first post, is this the actual script or a puzzle?
Thnx, none of that really helped me but the German guide down the bottom which I think you meant, was very good. All the info on the first page of this thread, became a lot clearer.
Achieve basic understanding of Linux: Done
Run a Minecraft Server: Done
Turn off my computer and still be able to Minecraft when return: Done
Use Putty to re-connect to server: Done
I love you all seriously.
See what we are building here: http://zombiecraft.servebeer.com
Another thing to add... If you plan on having your server up 24/7, then I would HIGHLY recommend you remove the ability to log in to ssh (disable telnet FFS!) as root. You can always su to root should the need arise.
Lulz
chmod 777 [minecraft directory]
from the directory above your minecraft directory (as either root or with sudo, doesn't matter). That will give all users full access to the minecraft server directory (which is fine in your case), allowing you to run the server as a non-root user. Yay!
This this this a thousand times this, knew I was forgetting something
See what we are building here: http://zombiecraft.servebeer.com
You are correct, as long as the router is configured correctly. But it still doesn't hurt to have it disabled. I also recommend you change the port that ssh uses as well. This will help prevent most scripts from going after your server. I was seeing random login attacks on my ssh via my access.log files until i changed to a non-standard port for ssh. But I also went as far as to block all of China, Korea, and most of Russia using IPtables... but that's just me... :biggrin.gif:
Lulz
That's not a bad way to do it, but you might want to check out DenyHosts.
http://denyhosts.sourceforge.net/