VPS

Bandwagon Host Setup

Bandwagon provides OpenVZ VPS. It's a container indeed, and can not run some virtualization services like docker.

  1. Buy a new vps
  2. Open KiviVM Console
  3. Install new OS: Ubuntu-14.04
  4. Login with specified port and root password given by the console.
  5. Install basic packages: language-pack-zh-hans htop tmux
  6. Add user with strong password and sudoer Group:

     useradd hongbo
     usermod -aG sudo hongbo
     visudo # add NOPASSWD for sudo group
  7. Change ssh port to default in /etc/ssh/sshd_config

  8. Set Pubkey for hongbo: ssh-copy-id
  9. Login with hongbo
  10. Disable root login in /etc/ssh/sshd_config and restart sshd
  11. Setup timezone: sudo dpkg-reconfigure tzdata

Relations

Let's Encrypt, Ubuntu

END

Published @ Aug 15, 2017