VPS with Bukkit?

Discussion in 'Bukkit Help' started by Kegan187, Jan 22, 2011.

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

    Kegan187

    Yea I am a noob when it comes to VPSs, so I do not know how to get Bukkit onto it, I don't even know how to get java onto it, and was wondering how/if I can. Also, it would be helpful if someone could help me get java onto my server. Thanks!

    -Kegan
     
  2. Offline

    Olas

    What operating system is running on it?
     
  3. Offline

    Kegan187

    It is running on a CentOS 5 x86 (32bit) operating system.

    Is it possible through using a remote connection?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  4. Offline

    Redecouverte

    well, connect as root via ssh, install java with yum, and then just run the .sh file
    if you have a VPS system, you should know how to use it xD

    -> 1) connect as root using SSH
    -> 2) type "yum install java"
    -> 3) start your mc server (preferably not as root, but as a normal user)
     
  5. Offline

    Kegan187

    I know I should, but I was an idiot when I was thinking about it. I thought it would be just like making a MC server on my computer XD
    --- merged: Jan 23, 2011 12:10 AM ---
    Also, how do I install bukkit onto the VPS?
     
  6. Offline

    Redecouverte

    i see xD, well, it's not too complicated, you just have to get a bit familiar with linux
    depending on how your firewall is configured (most likely iptables), you may have to open the mc server port

    if you encounter any problems, post them here :)
    --- merged: Jan 23, 2011 12:14 AM ---
    just upload the files to a folder, either by
    a) using SCP file transfer through SSH (with a tool like WinSCP)
    b) using FTP file transfer with a FTP client (you may have to setup a ftp server first)
     
  7. Offline

    Kegan187

    Wow, I cannot believe how much trouble I went through to try and download java, when all I had to do was type in yum install java.... I feel like a retard, but thanks for the help, really.
    --- merged: Jan 23, 2011 12:32 AM ---
    I have two last questions, how do you turn the server off/on?
     
  8. Offline

    anon

    You should install vnc, as you would have a windows like mode to control your server. It will need a little more memory, but if you do not know linux, it will be the easyer way to manage your server.
    ------------------------------------------------------------------------------------------------------------------------
    From the begning. Reinstall your OS, it will wipe every thing you done on the vps. Install centOs

    Login on the ssh( the comand line thing that looks likes dos on your server control pannel), and type: "yum install java". Install it

    Then install a desktop environment. type "yum groupinstall XFCE"

    install firefox. type "yum install firefox"

    now install vnc. type "yum install vnc-server"

    now type "vncserver" it will ask you to define a password.

    stop the vnc. type "vncserver -kill :1"

    now install nano( maybe your centos will have this already). type "yum install nano"

    now type "nano /root/.vnc/xstartup" it will open a thing where u can edit.

    edit this:
    [​IMG]

    to this:

    [​IMG]

    To save this, follow this key sequence.
    Ctrl + X,
    Y,
    Enter.

    Now enter the command "vncserver" again.

    ok, now u need to download a thing to your computer, not the vps. I assume you are using windows, so download this: http://www.tightvnc.com/download/2.0.2/tightvnc-2.0.2-setup.exe

    install it, run, put your server ip with :1 on the end like this: 192.168.0.1:1
    click to connect. Done.

    If you ever shut your server down, enter on ssh again and type "vncserver"

    THE END


    I know I know im root, i shouldnt, but this way is easy :D
     
  9. Offline

    Kegan187

    okay I just did that, now I just need to install the MC server onto it and then I will give you my feedback, but so far I need to thank you guys for all the help.
    --- merged: Jan 23, 2011 1:09 AM ---
    Wait does doing the vncserver thing start my MC server?
     
  10. Offline

    anon

    no no, vnc thing is to have a window managed linux, so you dont need to do everything by comandline.
     
  11. Offline

    Kegan187

    okay, then how do I start the MC server?
    --- merged: Jan 23, 2011 1:26 AM ---
    Does anyone know how to start the MC server? Isn't it like run start.bat or something?
     
  12. Offline

    anon

  13. Offline

    Kegan187

    Oh, sorry I didn't fully read one of your posts. But when I start the remote connection, it shows a black screen.
     
  14. Offline

    anon

    hmm, are u sure u installed XFCE?
    if you did, did u edit that file as i wrote?
     
  15. Offline

    Kegan187

    I did and I put in that startxfce4 inplace of those 3 letters or whatever.
     
  16. Offline

    anon

    did you kept the space & on the end of the line?
     
  17. Offline

    Kegan187

    let me check
    --- merged: Jan 23, 2011 1:44 AM ---
    this is what the file looks like

    # Uncomment the following two lines for normal desktop:
    # unset SESSION_MANAGER
    # exec /etc/X11/xinit/xinitrc

    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    startxfce4 &
     
Thread Status:
Not open for further replies.

Share This Page