Bukkit installation on virtual server running debian - Need help!

Discussion in 'Bukkit Help' started by Menox, Feb 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Menox

    Hello! Yesterday i was sponsored with a virtual server running debian, on which i now wants to host a bukkit minecraft-server.

    My problem is that i have NO previous experience with SSH or virtual servers, so i have had a lot of problems with this. Finally today, after a lot of searching, i managed to get

    1. Install java on the server via ssh
    2. Install the normal minecraft-server and managed to connect to the server and play on it

    I have uploaded the craftbukkit-1.1-R3.jar-file to the directory where i have the other minecraft-related files. The problem is that i don't know what to do now? One guy told me to use the command

    "Xmx1024M -jar craftbukkit.jar nogui" in the console/SSH, but the console says "Unable to access too.." even though i am logged in to the server.

    What to do?
    I appreciate all the help i can get, kinda frustrated since i've been trying for 5 hours today and 5 hours yesterday without to succed.
     
  2. Offline

    TnT

    Its no different than running the vanilla MC server.

    You run this command:
    Code:
    java -Xincgc -Xmx1G -jar <filename>
    
    You just need to make sure the file name you're using matches the one you downloaded. So, if the file is named: craftbukkit-1.1-R3.jar then you have your launch command as:
    Code:
    java -Xincgc -Xmx1G -jar craftbukkit-1.1-R3.jar
    
     
  3. Offline

    Menox

    Thanks for the answer! I found out that i didn't use the correct filename in the command. Now the server is up and i managed to install a plugin!

    However. I have some more questions:

    1. Something that annoys me a bit, is that when i close the console/SSH, the server stops to run/work. I must be able to make the server available 24/7 right?! I am using a virtual server, so i shouldn't have to run the startup command in the console every time AND leave my computer on 24/7 right?! Please help with this thing. Most be a solution.

    2. For plugins like iceonomy etc, will i need to create a SQL database to save the data?

    3. To use a domainname instead of the IP when connecting via the MC-client, do i just have to purchase a domain and make sure the name points at the ip?
     
  4. Offline

    yttriuszzerbus

    1. Don't know, sorry.
    2. iConomy doesn't need MySQL, but anti-grief plugins like BigBrother, HawkEye and LogBlock do.
    3. Yes
     
  5. Offline

    jakimfett


    When you run the server via a remote console, you end the process as soon as you close the console. There are a couple of ways to get around this.

    The simple and quick answer is, you can run any command using this syntax: "nohup <command> &". Problem is, then you can't view the server console, so I don't recommend this.

    What I do recommend is something called "screen". Long story short, using screen allows you to disconnect from a console session, maintaining it until you reconnect to it. This allows you to end the SSH session without the processes ending, and you can view the console by typing in a simple command (I think it's "screen -r", but you should look it up). The info page is at https://help.ubuntu.com/community/Screen

    Granted, the help page is for Ubuntu, but it should be applicable for most Debian based installations.
     
  6. Offline

    Simanova


    1. apt-get install screen , screen -AmdS
    2. not required - they are using flatfiles instead
    3. dyndns.org, no-ip.com etc...
     
Thread Status:
Not open for further replies.

Share This Page