FANDOM


SSHEdit

SSH:

  1. $ ssh username@host
  2. Type password

To log in to se1, just:

  1. $ selogin

tmuxEdit

Open a new tmux session:

  1. Ctrl+B C

Change tmux window:

  1. Ctrl+B <windownumber>

Detach from tmux session:

  1. Ctrl+B D

Attach to an existing session:

  1. $ tmux attach or $ tmux a

To attach to se's console (it's a tmux session):

  1. $ seconsole or $ sudo -u minecraft tmux a

Restarting seEdit

In case of VPS reboot/crashEdit

  1. Forcibly boot the VPS from the webpanel.
  2. $ selogin — logs you in.
  3. $ sudo -u minecraft -i — gets you a shell as user minecraft.
  4. $ tmux — starts a tmux session.
  5. Ctrl + B D — detaches you from tmux.
  6. $ exit — logs you out from se1.
  7. $ selogin — logs you back in.
  8. $ seconsole — attaches you to tmux again.
  9. $ cd ~/bukkit1.3.1/server — changing to correct directory.
  10. minecraft@se1:~/bukkit1.3.1/server$ . command-gc.shc — this executes all commands in the file named command-gc.shc

Normal restartEdit

  1. Ctrl+Z — forcibly pause the process.
  2. $ kill -9 %1 — kills the process.
  3. Wait for the "killed" messages.
  4. minecraft@se1:~/bukkit1.3.1/server$ . command-gc.shc — this executes all commands in the file named command-gc.shc
    • In case you are in the wrong directory for some reason:
      $ cd ~/bukkit1.3.1/server
  5. ???
  6. PROFIT