1
I was wondering if i am able to use screen so i can turn off my computer and keep the server on. I am using AWS (amazon web services) and i got my server to work but then the computer with putty died. Which created a problem everyone got disconnected. can someone help?
Create an account or sign in to comment.
11
1
#!/bin/sh
java -Xmx2G -Xincgc -jar craftbukkit-1.1-R3.jar
put that in a .sh
type chmod +x <name>.sh
use screen <name>.sh
then ctrl+a+d
come back use screen -x
java -Xmx2G -Xincgc -jar craftbukkit-1.1-R3.jar
put that in a .sh
type chmod +x <name>.sh
use screen <name>.sh
then ctrl+a+d
come back use screen -x
1
sorry i only got to read this now.
Install the utility "screen"
login with putty, run screen, then start your server as normal
press <ctrl>-a (relase) then hit 'd' you will detach the screen and be back to a normal command prompt and you can close putty.
when you log back into the server run 'screen -r' to reconnect so you will be in the server console.
Install the utility "screen"
login with putty, run screen, then start your server as normal
press <ctrl>-a (relase) then hit 'd' you will detach the screen and be back to a normal command prompt and you can close putty.
when you log back into the server run 'screen -r' to reconnect so you will be in the server console.
1
Thanks, those are great instructions but I already have set up a Minecraft server on an Amazon Web Services (EC2) server. What I'm trying to figure out is how to leave that server running (so my friends can play anytime) without having to leave my computer running and connected to the AWS EC2 server. I thought that AWS would allow you to have a server running in the cloud by itself (independent of my computer). Is there some trick, setting or tool that I need to do to accomplish this?
1
1
ok thanks i though you would let it run in the cloud with your computer off
1
You cant turn off your computer and expect the server to remain on >.> The server runs off your computer. What you are suggesting is like turning a light on in your home and expecting it still to work if you cut the power to your entire house.
1
^ This.
If you want people to be able to connect 24/7, you either leave your computer on 24/7 or pay a company to host your server for you, so that it's not running off one of your own computers, but is up in the cloud.
If you want people to be able to connect 24/7, you either leave your computer on 24/7 or pay a company to host your server for you, so that it's not running off one of your own computers, but is up in the cloud.
1
i do know this but i own a VPS i am not hosting the server itself on my computer
1
what? that has no relavence to the subject
1
it is im stating the only way to do it pay someone like redstone host who run 24/7 servers for you
1
pay someone like redstone host to do it